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
..
2010-09-23 15:02:13 +02:00
2011-03-14 03:12:25 +01:00
2011-02-28 22:04:53 +01:00
2010-11-10 22:38:44 +01:00
2011-03-28 23:00:00 +02:00
2011-02-23 01:12:07 +01:00
2011-02-23 01:12:07 +01:00
2011-02-28 22:47:38 +01:00
2010-08-31 00:17:56 +02:00
2011-03-12 01:07:17 +01:00
2010-11-18 00:39:09 +01:00
2010-10-22 16:11:50 +02:00
2011-03-15 18:43:47 +01:00
2010-08-14 19:59:25 +02:00
2010-08-17 03:50:18 +02:00
2011-03-15 21:21:38 +01:00
2011-03-17 04:02:35 +01:00
2011-03-03 23:55:30 +01:00
2011-03-03 23:55:30 +01:00
2011-03-28 23:00:00 +02:00
2011-03-28 23:00:00 +02:00
2011-03-28 23:00:00 +02:00
2011-03-28 23:00:00 +02:00
2011-03-28 23:00:00 +02:00
2011-03-15 00:45:46 +01:00
2011-03-17 04:02:35 +01:00
2011-03-09 20:01:53 +01:00
2010-08-17 03:50:18 +02:00
2011-03-28 23:00:00 +02:00
2011-03-12 01:07:17 +01:00
2011-03-09 20:01:53 +01:00
2010-08-20 02:31:54 +02:00
2011-03-18 04:52:45 +01:00
2011-03-18 04:52:45 +01:00
2011-03-09 20:03:29 +01:00
2011-02-24 02:36:34 +01:00
2011-03-24 22:32:21 +01:00
2010-08-17 03:50:18 +02:00
2011-03-09 20:01:53 +01:00
2010-08-20 02:31:54 +02:00
2011-03-09 20:01:53 +01:00
2010-08-17 03:50:18 +02:00
2011-03-17 23:22:49 +03:00
2010-08-20 02:31:54 +02:00
2011-03-09 20:01:53 +01:00
2010-08-17 03:50:18 +02:00
2011-03-09 20:01:53 +01:00
2010-08-20 02:31:54 +02:00
2011-03-09 20:01:53 +01:00
2010-08-20 02:31:54 +02:00
2011-03-09 20:01:53 +01:00
2010-08-17 03:50:18 +02:00
2011-03-09 20:01:53 +01:00
2010-08-20 02:31:54 +02:00
2011-03-09 20:03:29 +01:00
2011-03-09 23:58:17 +01:00
2011-03-28 23:00:00 +02:00
2011-03-09 20:01:53 +01:00
2011-03-17 04:02:35 +01:00
2011-02-22 00:19:03 +01:00
2011-03-17 04:02:35 +01:00
2011-02-28 22:47:38 +01:00
2011-03-18 04:52:45 +01:00
2011-03-28 23:00:00 +02:00
2011-01-20 18:22:03 +01:00
2011-01-20 18:22:03 +01:00
2010-08-21 03:57:47 +02:00
2010-08-17 03:50:18 +02:00
2011-03-28 23:00:00 +02:00
2011-03-15 00:45:46 +01:00
2011-03-11 15:55:20 +01:00
2010-09-23 15:02:13 +02:00
2010-09-27 20:13:21 +02:00
2011-03-14 18:05:52 +01:00
2010-08-17 03:50:18 +02:00
2010-09-14 02:22:55 +02:00
2010-09-06 03:13:14 +02:00
2011-03-08 01:53:47 +01:00
2011-03-08 01:53:47 +01:00
2010-09-16 00:36:41 +02:00
2010-08-17 03:50:18 +02:00
2011-03-16 02:55:55 +01:00
2011-02-25 01:47:31 +01:00
2011-02-25 01:47:31 +01:00
2010-11-14 23:48:21 +01:00
2010-11-15 04:24:04 +01:00
2010-08-17 03:50:18 +02:00
2011-03-28 23:00:00 +02:00
2010-08-17 03:50:18 +02:00
2011-03-14 23:41:47 +01:00
2010-09-16 01:57:42 +02:00
2011-02-28 22:47:38 +01:00
2010-11-12 01:01:04 +01:00
2011-02-28 22:47:38 +01:00
2011-03-16 03:35:38 +01:00
2010-08-17 03:50:18 +02:00
2011-03-04 21:53:19 +01:00
2011-03-28 23:00:00 +02:00
2011-03-04 21:53:19 +01:00
2011-03-28 21:42:31 +02:00
2011-03-28 23:00:00 +02:00
2011-03-28 23:00:00 +02:00
2011-03-18 04:53:31 +01:00
2011-03-17 04:03:44 +01:00
2011-03-03 16:29:50 +01:00
2011-03-28 23:00:00 +02:00
2010-11-11 11:15:16 +01:00
2011-03-28 23:00:00 +02:00
2011-01-20 13:17:22 +01:00
2011-02-28 22:47:38 +01:00
2010-08-17 03:50:18 +02:00
2010-10-05 21:52:37 +02:00
2011-03-28 23:00:00 +02:00
2011-03-17 03:41:29 +01:00
2011-03-12 01:15:30 +01:00
2010-06-07 04:20:50 +02:00
2011-03-14 23:13:57 +01:00
2011-03-28 23:00:00 +02:00
2010-11-15 22:13:26 +01:00
2011-03-04 01:50:38 +01:00
2010-11-15 00:49:21 +01:00
2011-03-28 23:00:00 +02:00
2010-09-20 23:12:50 +02:00
2011-02-28 23:04:18 +01:00
2011-02-28 23:04:18 +01:00
2011-03-28 23:00:00 +02:00
2011-03-28 23:00:00 +02:00
2011-03-03 23:03:26 +01:00
2011-03-28 23:00:00 +02:00
2011-01-20 18:22:03 +01:00
2010-10-25 20:36:01 +02:00
2010-10-07 19:01:26 +02:00
2011-02-28 22:47:38 +01:00
2011-03-28 23:00:00 +02:00
2010-10-05 20:20:38 +02:00
2011-02-28 22:47:38 +01:00
2011-03-09 22:45:47 +01:00
2010-10-27 05:47:02 +02:00
2011-03-18 05:26:25 +01:00
2011-02-13 18:51:30 +01:00
2010-08-20 03:26:15 +02:00
2010-08-17 03:50:18 +02:00
2011-03-14 15:37:09 +01:00
2010-11-12 03:33:08 +01:00
2010-08-16 19:26:27 +02:00
2011-01-20 13:17:22 +01:00
2010-08-17 03:50:18 +02:00
2010-10-28 00:37:57 +02:00
2010-09-21 01:00:38 +02:00
2011-03-17 04:02:35 +01:00
2010-08-31 00:23:34 +02:00
2011-03-18 19:12:58 +03:00
2010-08-14 19:59:25 +02:00
2010-08-17 03:50:18 +02:00
2011-02-28 22:47:38 +01:00
2011-02-23 01:12:07 +01:00
2011-03-17 04:02:35 +01:00
2011-02-28 22:47:38 +01:00
2011-03-03 22:17:09 +01:00
2011-02-15 12:28:01 +01:00
2011-02-24 02:36:34 +01:00
2011-02-16 21:59:31 +01:00
2011-03-28 23:00:00 +02:00
2011-02-24 02:36:34 +01:00
2011-03-15 00:45:46 +01:00
2010-08-17 03:50:18 +02:00
2010-08-14 19:59:25 +02:00
2010-08-17 03:50:18 +02:00
2011-03-03 23:55:30 +01:00
2010-08-14 19:59:25 +02:00
2011-02-28 22:47:38 +01:00
2011-02-23 01:12:07 +01:00
2010-08-19 03:02:22 +02:00
2011-02-28 22:47:38 +01:00
2010-08-14 19:59:25 +02:00
2010-08-14 19:59:25 +02:00
2011-01-06 23:51:52 +01:00
2011-01-20 13:17:22 +01:00
2010-08-31 00:23:34 +02:00
2010-11-10 22:38:44 +01:00
2011-03-03 16:29:50 +01:00
2011-03-28 23:00:00 +02:00
2011-03-16 22:30:00 +01:00
2010-10-14 18:55:04 +02:00
2011-02-28 22:47:38 +01:00
2010-10-20 16:16:45 +02:00
2011-03-18 04:53:31 +01:00
2011-03-17 04:02:35 +01:00
2010-09-02 23:26:04 +02:00
2011-03-14 23:13:57 +01:00
2011-03-28 21:42:31 +02:00
2011-03-28 21:42:31 +02:00
2011-02-17 16:29:04 +01:00
2010-11-12 03:33:08 +01:00
2011-03-14 23:41:47 +01:00