Systemd/man
Kay Sievers 2b583ce657 use /run instead of /dev/.run
Instead of the /dev/.run trick we have currently implemented, we decided
to move the early-boot runtime dir to /run.

An existing /var/run directory is bind-mounted to /run. If /var/run is
already a symlink, no action is taken.

An existing /var/lock directory is bind-mounted to /run/lock.
If /var/lock is already a symlink, no action is taken.

To implement the directory vs. symlink logic, we have a:
  ConditionPathIsDirectory=
now, which is used in the mount units.

Skipped mount unit in case of symlink:
  $ systemctl status var-run.mount
  var-run.mount - Runtime Directory
    Loaded: loaded (/lib/systemd/system/var-run.mount)
    Active: inactive (dead)
            start condition failed at Fri, 25 Mar 2011 04:51:41 +0100; 6min ago
     Where: /var/run
      What: /run
    CGroup: name=systemd:/system/var-run.mount

The systemd rpm needs to make sure to add something like:
  %pre
  mkdir -p -m0755 /run >/dev/null 2>&1 || :
or it needs to be added to filesystem.rpm.

Udev -git already uses /run if that exists, and is writable at bootup.
Otherwise it falls back to the current /dev/.udev.

Dracut and plymouth need to be adopted to switch from /dev/.run to run
too.

Cheers,
Kay
2011-03-28 23:00:00 +02:00
..
.gitignore man: replace syslog name in man page by configured name 2010-05-17 22:45:52 +02:00
daemon.xml man: fix chkconfig syntax to use --level 3 2011-03-01 22:18:49 +01:00
halt.xml man: extend manual page documentation 2010-06-24 03:09:36 +02:00
hostname.xml man: document /etc/vconsole.conf 2010-11-21 19:12:44 +01:00
locale.conf.xml man: give an example for vconsole.conf 2011-01-21 00:42:47 +01:00
machine-id.xml main: introduce /etc/machine-id 2011-03-04 21:53:19 +01: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: modules-load.d - fix misspellings 2010-12-07 10:16:15 +01:00
os-release.xml Fix misspellings in os-release manpage and hwclock-load.service 2010-12-20 16:30:59 +01:00
pam_systemd.xml man: no keep-root in pam_systemd anymore 2011-03-22 20:31:10 +03:00
runlevel.xml man: Fix small typo: s/seperate/separate/ 2010-09-06 03:13:14 +02:00
sd-daemon.xml man: document readahdea split-off 2010-10-05 20:44:37 +02:00
sd-readahead.xml man: document readahdea split-off 2010-10-05 20:44:37 +02:00
sd_booted.xml cgroup: mount cgroup file systems to /sys/fs/cgroup instead of /cgroup 2010-08-25 04:58:24 +02:00
sd_is_fifo.xml man: various fixes 2010-06-25 00:04:29 +02:00
sd_listen_fds.xml man: minor edits to daemon, sd_listen_fds, sd_notify, systemctl, systemd.exec, systemd, and systemd.timer pages 2010-07-07 03:40:12 +02:00
sd_notify.xml man: Fix small typo: s/seperate/separate/ 2010-09-06 03:13:14 +02:00
sd_readahead.xml use /run instead of /dev/.run 2011-03-28 23:00:00 +02:00
shutdown.xml man: remaining spelling fixes 2011-01-01 20:03:56 +01:00
systemadm.xml drop support for MANAGER_SESSION, introduce MANAGER_USER instead 2010-11-15 22:13:26 +01:00
systemctl.xml man: fix systemctl try-restart description 2011-03-16 03:54:59 +01:00
systemd-cgls.xml cgroup: mount cgroup file systems to /sys/fs/cgroup instead of /cgroup 2010-08-25 04:58:24 +02:00
systemd-notify.xml readahead: add interface to sd-daemon.[ch] to control readahead 2010-09-26 15:50:14 +02:00
systemd-nspawn.xml use /run instead of /dev/.run 2011-03-28 23:00:00 +02:00
systemd-tmpfiles.xml systemd: document systemd-tmpfiles 2011-02-13 15:08:15 +01:00
systemd.automount.xml update man pages for recent changes 2010-07-07 01:38:56 +02:00
systemd.conf.xml exec: introduce global defaults for the standard output of services 2011-02-15 11:52:29 +01:00
systemd.device.xml man: document SYSTEMD_READY= 2011-02-09 15:02:03 +01:00
systemd.exec.xml exec: properly apply capability bounding set, add inverted bounding sets 2011-03-18 04:52:45 +01:00
systemd.mount.xml execute: make sending of SIGKILL on shutdown optional 2011-01-18 22:55:54 +01:00
systemd.path.xml update man pages for recent changes 2010-07-07 01:38:56 +02:00
systemd.service.xml special: get rid of dbus.target 2011-03-18 04:53:12 +01:00
systemd.snapshot.xml update man pages for recent changes 2010-07-07 01:38:56 +02:00
systemd.socket.xml man: clarify a few things 2011-02-09 11:00:17 +01:00
systemd.special.xml.in syslog: rework syslog detection so that we need no compile-time option what the name of the syslog implementation is 2011-03-18 04:53:31 +01:00
systemd.swap.xml man: explain a couple of default dependencies 2011-03-28 21:36:13 +02:00
systemd.target.xml man: explain a couple of default dependencies 2011-03-28 21:36:13 +02:00
systemd.timer.xml man: minor edits to daemon, sd_listen_fds, sd_notify, systemctl, systemd.exec, systemd, and systemd.timer pages 2010-07-07 03:40:12 +02:00
systemd.unit.xml man: document pidns containers 2011-03-18 04:53:31 +01:00
systemd.xml core: move abstract namespace sockets to /dev/.run 2011-03-14 03:12:25 +01:00
telinit.xml man: minor updates 2010-08-25 03:10:13 +02:00
tmpfiles.d.xml systemd: document systemd-tmpfiles 2011-02-13 15:08:15 +01:00
vconsole.conf.xml man: give an example for vconsole.conf 2011-01-21 00:42:47 +01:00