systemd/man
Zbigniew Jędrzejewski-Szmek c4708f1323 tmpfiles: introduce the concept of unsafe operations
Various operations done by systemd-tmpfiles may only be safely done at
boot (e.g. removal of X lockfiles in /tmp, creation of /run/nologin).
Other operations may be done at any point in time (e.g. setting the
ownership on /{run,var}/log/journal). This distinction is largely
orthogonal to the type of operation.

A new switch --unsafe is added, and operations which should only be
executed during bootup are marked with an exclamation mark in the
configuration files. systemd-tmpfiles.service is modified to use this
switch, and guards are added so it is hard to re-start it by mistake.

If we install a new version of systemd, we actually want to enforce
some changes to tmpfiles configuration immediately. This should now be
possible to do safely, so distribution packages can be modified to
execute the "safe" subset at package installation time.

/run/nologin creation is split out into a separate service, to make it
easy to override.

https://bugzilla.redhat.com/show_bug.cgi?id=1043212
https://bugzilla.redhat.com/show_bug.cgi?id=1045849
2013-12-24 15:48:06 -05:00
..
.gitignore build-sys,man: use XML entities to substite strings 2013-03-29 20:30:21 -04:00
binfmt.d.xml man: wording and grammar updates 2013-09-12 22:09:57 +02:00
bootchart.conf.xml man: more grammar improvements 2013-07-03 08:19:20 -04:00
bootctl.xml man: add bootctl(8) 2013-11-13 22:56:22 -05:00
bootup.xml man: more grammar improvements 2013-07-03 08:19:20 -04:00
crypttab.xml Revert "man: suggest using hash= atribut for swap in example" 2013-11-25 09:31:09 +01:00
custom-html.xsl man: always supply quotes around literals 2013-06-26 08:05:14 -04:00
custom-man.xsl man: always supply quotes around literals 2013-06-26 08:05:14 -04:00
daemon.xml man: more grammar improvements 2013-07-03 08:19:20 -04:00
halt.xml man: more grammar improvements 2013-07-03 08:19:20 -04:00
hostname.xml man: more grammar improvements 2013-07-03 08:19:20 -04:00
hostnamectl.xml man: wording and grammar updates 2013-11-07 01:23:54 -05:00
journalctl.xml man: add DOI for refereed article on Forward Secure Sealing to journald.conf(5) 2013-12-18 23:58:24 -05:00
journald.conf.xml man: add DOI for refereed article on Forward Secure Sealing to journald.conf(5) 2013-12-18 23:58:24 -05:00
kernel-command-line.xml man: wording and grammar updates 2013-10-21 20:50:46 -04:00
kernel-install.xml man: more grammar improvements 2013-07-03 08:19:20 -04:00
locale.conf.xml man: more grammar improvements 2013-07-03 08:19:20 -04:00
localectl.xml man: wording and grammar updates 2013-11-07 01:23:54 -05:00
localtime.xml man: more grammar improvements 2013-07-03 08:19:20 -04:00
loginctl.xml loginctl,shell-completions: fix listing of sessions/users/seats 2013-12-21 18:35:27 -05:00
logind.conf.xml logind: restore logic to kill user processes when session ends 2013-08-13 17:59:28 +02:00
machine-id.xml man: use HTTPS links for links that support it 2013-07-16 17:42:56 +02:00
machine-info.xml man: wording and grammar updates 2013-09-12 22:09:57 +02:00
machinectl.xml Help output spring cleaning 2013-12-08 19:26:51 -05:00
Makefile build-sys: add small redirecting Makefiles to simplify compilation from within emacs 2010-05-17 01:44:03 +02:00
modules-load.d.xml man: wording and grammar updates 2013-09-12 22:09:57 +02:00
nss-myhostname.xml man: improve grammar and word formatting in numerous man pages 2013-07-02 23:06:22 -04:00
os-release.xml man: wording and grammar updates 2013-09-12 22:09:57 +02:00
pam_systemd.xml systemd_pam: treat debug as debug=1 and parse all params 2013-11-06 14:56:47 -05:00
runlevel.xml man: wording and grammar updates 2013-09-12 22:09:57 +02:00
sd_booted.xml man: wording and grammar updates 2013-09-12 22:09:57 +02:00
sd_bus_request_name.xml man: document more error codes for sd_bus_request_name() 2013-12-13 16:01:54 +01:00
sd_get_seats.xml man: fix spacing issue in various man pages 2013-06-29 10:28:57 -04:00
sd_id128_get_machine.xml man: improve grammar and word formatting in numerous man pages 2013-07-02 23:06:22 -04:00
sd_id128_randomize.xml man: improve grammar and word formatting in numerous man pages 2013-07-02 23:06:22 -04:00
sd_id128_to_string.xml man: add more formatting markup 2013-07-02 23:06:22 -04:00
sd_is_fifo.xml man: add docs for sd_is_special() and some man page symlinks 2013-11-07 17:51:09 +01:00
sd_journal_add_match.xml man: wording and grammar updates 2013-09-12 22:09:57 +02:00
sd_journal_get_catalog.xml man: wording and grammar updates 2013-09-12 22:09:57 +02:00
sd_journal_get_cursor.xml man: wording and grammar updates 2013-09-10 18:34:41 +02:00
sd_journal_get_cutoff_realtime_usec.xml man: improve grammar and word formatting in numerous man pages 2013-07-02 23:06:22 -04:00
sd_journal_get_data.xml man: wording and grammar updates 2013-09-12 22:09:57 +02:00
sd_journal_get_fd.xml man: wording and grammar updates 2013-09-12 22:09:57 +02:00
sd_journal_get_realtime_usec.xml man: improve grammar and word formatting in numerous man pages 2013-07-02 23:06:22 -04:00
sd_journal_get_usage.xml man: wording and grammar updates 2013-09-12 22:09:57 +02:00
sd_journal_next.xml man: fix spacing issue in various man pages 2013-06-29 10:28:57 -04:00
sd_journal_open.xml journal: add ability to browse journals of running OS containers 2013-12-11 22:04:03 +01:00
sd_journal_print.xml man: wording and grammar updates 2013-09-12 22:09:57 +02:00
sd_journal_query_unique.xml man: fix spacing issue in various man pages 2013-06-29 10:28:57 -04:00
sd_journal_seek_head.xml man: wording and grammar updates 2013-09-12 22:09:57 +02:00
sd_journal_stream_fd.xml man: improve grammar and word formatting in numerous man pages 2013-07-02 23:06:22 -04:00
sd_listen_fds.xml man: wording and grammar updates 2013-09-12 22:09:57 +02:00
sd_login_monitor_new.xml man: wording and grammar updates 2013-09-12 22:09:57 +02:00
sd_notify.xml sd-daemon: introduce sd_watchdog_enabled() for parsing $WATCHDOG_USEC 2013-12-22 22:19:03 +01:00
sd_pid_get_session.xml man: wording and grammar updates 2013-09-12 22:09:57 +02:00
sd_readahead.xml man: wording and grammar updates 2013-09-12 22:09:57 +02:00
sd_seat_get_active.xml man: add docs for sd_is_special() and some man page symlinks 2013-11-07 17:51:09 +01:00
sd_session_is_active.xml man: fix make install 2013-12-22 16:04:14 +01:00
sd_uid_get_state.xml man: wording and grammar updates 2013-09-12 22:09:57 +02:00
sd_watchdog_enabled.xml sd-daemon: introduce sd_watchdog_enabled() for parsing $WATCHDOG_USEC 2013-12-22 22:19:03 +01:00
sd-daemon.xml sd-daemon: introduce sd_watchdog_enabled() for parsing $WATCHDOG_USEC 2013-12-22 22:19:03 +01:00
sd-id128.xml man: use HTTPS links for links that support it 2013-07-16 17:42:56 +02:00
sd-journal.xml man: fix spacing issue in various man pages 2013-06-29 10:28:57 -04:00
sd-login.xml man: fix spacing issue in various man pages 2013-06-29 10:28:57 -04:00
sd-readahead.xml man: Fix id attributes 2013-03-07 16:05:47 +01:00
shutdown.xml man: wording and grammar updates 2013-09-10 18:34:41 +02:00
sysctl.d.xml man: wording and grammar updates 2013-09-12 22:09:57 +02:00
systemctl.xml man: update the list of commands influenced by --full 2013-12-21 19:07:59 -05:00
systemd-activate.xml man: wording and grammar updates 2013-09-12 22:09:57 +02:00
systemd-analyze.xml man: wording and grammar updates 2013-11-07 01:23:54 -05:00
systemd-ask-password-console.service.xml Reword sentences that contain psuedo-English "resp." 2012-10-16 01:03:01 +02:00
systemd-ask-password.xml man: wording and grammar updates 2013-09-12 22:09:57 +02:00
systemd-backlight@.service.xml man: fix typos in backlight/rfkill page 2013-10-19 12:33:47 +02:00
systemd-binfmt.service.xml build-sys: create Makefile-man.am automatically 2013-02-06 23:16:16 -05:00
systemd-bootchart.xml man: wording and grammar updates 2013-07-21 11:23:58 -04:00
systemd-bus-proxyd.xml man: add systemd-dbus-proxy@.service(8) and systemd-dbus.proxy(8) 2013-12-21 18:34:40 -05:00
systemd-bus-proxyd@.service.xml man: add systemd-dbus-proxy@.service(8) and systemd-dbus.proxy(8) 2013-12-21 18:34:40 -05:00
systemd-cat.xml man: wording and grammar updates 2013-09-12 22:09:57 +02:00
systemd-cgls.xml man.systemd-cgls: Fix an option typo 2013-12-04 14:55:25 -08:00
systemd-cgtop.xml man: wording and grammar updates 2013-10-15 08:19:49 -04:00
systemd-coredumpctl.xml replace tabs with spaces in various files 2013-07-02 23:06:22 -04:00
systemd-cryptsetup-generator.xml man: wording and grammar updates 2013-10-15 08:19:49 -04:00
systemd-cryptsetup@.service.xml build-sys: create Makefile-man.am automatically 2013-02-06 23:16:16 -05:00
systemd-delta.xml delta: if prefix is specified, only show overrides there 2013-12-22 22:54:15 -05:00
systemd-detect-virt.xml man: wording and grammar updates 2013-09-12 22:09:57 +02:00
systemd-efi-boot-generator.xml man: wording and grammar updates 2013-09-10 18:34:41 +02:00
systemd-fsck@.service.xml fsck-root: only run when requested in fstab 2013-10-19 12:23:17 +02:00
systemd-fstab-generator.xml man: wording and grammar updates 2013-10-21 20:50:46 -04:00
systemd-getty-generator.xml man: document that systemd-getty-generator can start additional container gettys on ptys 2013-12-13 17:15:05 +01:00
systemd-gpt-auto-generator.xml man: document the GPT partition types gpt-auto-generator looks for 2013-08-13 22:09:45 +02:00
systemd-halt.service.xml man: add rationale into systemd-halt(8) 2013-11-07 01:23:54 -05:00
systemd-hostnamed.service.xml man: improve grammar and word formatting in numerous man pages 2013-07-02 23:06:22 -04:00
systemd-inhibit.xml man: improve grammar and word formatting in numerous man pages 2013-07-02 23:06:22 -04:00
systemd-initctl.service.xml man: reword man page titles 2012-07-16 18:08:25 +02:00
systemd-journal-gatewayd.service.xml build-sys: create Makefile-man.am automatically 2013-02-06 23:16:16 -05:00
systemd-journald.service.xml man: wording and grammar updates 2013-09-12 22:09:57 +02:00
systemd-localed.service.xml build-sys: create Makefile-man.am automatically 2013-02-06 23:16:16 -05:00
systemd-logind.service.xml man: document machinectl and systemd-machined 2013-07-06 22:23:31 -04:00
systemd-machine-id-setup.xml man: wording and grammar updates 2013-09-12 22:09:57 +02:00
systemd-machined.service.xml man: fix typo in documentation of systemd-machined 2013-08-04 21:47:14 -04:00
systemd-modules-load.service.xml man: remove "wine" from unrelated man pages 2013-08-15 18:07:47 +02:00
systemd-networkd.service.xml man: networkd - clarify Address/Gateway keys in [Network] section 2013-12-17 09:24:57 +01:00
systemd-notify.xml man: wording and grammar updates 2013-09-12 22:09:57 +02:00
systemd-nspawn.xml nspawn: add new --setenv= switch to set an environment variable for the container to spawn 2013-12-13 16:37:16 +01:00
systemd-quotacheck.service.xml build-sys: create Makefile-man.am automatically 2013-02-06 23:16:16 -05:00
systemd-random-seed.service.xml fix lingering references to /var/lib/{backlight,random-seed} 2013-10-02 07:51:06 -04:00
systemd-readahead-replay.service.xml clients: unify how we invoke getopt_long() 2013-11-06 18:28:39 +01:00
systemd-remount-fs.service.xml man: add various filenames to the index 2013-05-03 01:00:42 -04:00
systemd-rfkill@.service.xml man: fix typos in backlight/rfkill page 2013-10-19 12:33:47 +02:00
systemd-run.xml man: wording and grammar updates 2013-11-07 01:23:54 -05:00
systemd-shutdownd.service.xml man: reword man page titles 2012-07-16 18:08:25 +02:00
systemd-sleep.conf.xml Fix misspellings with codespell tool 2013-10-14 23:56:59 -04:00
systemd-socket-proxyd.xml man: move socket-proxyd man page to section 8, since it is not in the $PATH 2013-11-28 18:42:18 +01:00
systemd-suspend.service.xml man: wording and grammar updates 2013-09-12 22:09:57 +02:00
systemd-sysctl.service.xml man: remove "wine" from unrelated man pages 2013-08-15 18:07:47 +02:00
systemd-system-update-generator.xml man: fix invalid links to generator wiki pages 2012-10-02 11:52:29 -04:00
systemd-system.conf.xml manager: configurable StartLimit default values 2013-11-08 17:00:01 +01:00
systemd-timedated.service.xml man: improve grammar and word formatting in numerous man pages 2013-07-02 23:06:22 -04:00
systemd-tmpfiles.xml tmpfiles: introduce the concept of unsafe operations 2013-12-24 15:48:06 -05:00
systemd-tty-ask-password-agent.xml man: fix --h vs. -h typos 2012-06-27 10:48:13 +02:00
systemd-udevd.service.xml man: mention net.ifnames in kernel-command-line(3) 2013-05-22 21:13:57 -04:00
systemd-update-utmp.service.xml utmp: turn systemd-update-utmp-shutdown.service into a normal runtime service 2013-05-16 00:19:03 +02:00
systemd-user-sessions.service.xml build-sys: create Makefile-man.am automatically 2013-02-06 23:16:16 -05:00
systemd-vconsole-setup.service.xml build-sys: create Makefile-man.am automatically 2013-02-06 23:16:16 -05:00
systemd.automount.xml man: wording and grammar updates 2013-09-12 22:09:57 +02:00
systemd.device.xml man: mention SYSTEMD_USER_WANTS 2013-12-11 22:26:18 -05:00
systemd.exec.xml service: add the ability for units to join other unit's PrivateNetwork= and PrivateTmp= namespaces 2013-11-27 20:28:48 +01:00
systemd.journal-fields.xml man: improve wording and comma usage in systemd.journal-fields(7) 2013-12-10 05:07:31 -05:00
systemd.kill.xml man: wording and grammar updates 2013-09-12 22:09:57 +02:00
systemd.mount.xml man: wording and grammar updates 2013-11-07 01:23:54 -05:00
systemd.path.xml man: wording and grammar updates 2013-09-12 22:09:57 +02:00
systemd.preset.xml man: wording and grammar updates 2013-09-12 22:09:57 +02:00
systemd.resource-control.xml man: wording and grammar updates 2013-10-15 08:19:49 -04:00
systemd.scope.xml man: wording and grammar updates 2013-10-15 08:19:49 -04:00
systemd.service.xml man: remove advice to avoid setting the same var more than once 2013-12-14 17:33:10 -05:00
systemd.slice.xml man: drop references to "cgroup" wher appropriate 2013-09-27 00:05:07 +02:00
systemd.snapshot.xml man: update scope unit man page a bit 2013-07-19 19:04:17 +02:00
systemd.socket.xml man: wording and grammar updates 2013-11-07 01:23:54 -05:00
systemd.special.xml man: wording and grammar updates 2013-09-12 22:09:57 +02:00
systemd.swap.xml man: wording and grammar updates 2013-11-07 01:23:54 -05:00
systemd.target.xml man: use <literal> not <filename> for suffixes 2013-07-12 01:09:25 -04:00
systemd.time.xml man: wording and grammar updates 2013-09-12 22:09:57 +02:00
systemd.timer.xml timer: make timer accuracy configurable 2013-11-21 22:08:20 +01:00
systemd.unit.xml man: reword awkward phrase 2013-12-16 23:21:51 -05:00
systemd.xml bus: remove static introspection file export 2013-10-21 00:41:26 +02:00
telinit.xml man: wording and grammar updates 2013-09-10 18:34:41 +02:00
timedatectl.xml man: wording and grammar updates 2013-11-07 01:23:54 -05:00
tmpfiles.d.xml tmpfiles: introduce the concept of unsafe operations 2013-12-24 15:48:06 -05:00
udev.xml udev: net_setup_link - don't use Description as Alias 2013-11-25 14:53:56 +01:00
udevadm.xml udevadm,scsi_id: add short options to help strings and to the man page 2013-12-18 23:58:23 -05:00
vconsole.conf.xml man: add various filenames to the index 2013-05-03 01:00:42 -04:00