[systemd-devel] [PATCH] random-seed: break ordering cycle with encrypted tmp partitions
Frederic Crozat
fcrozat at suse.com
Fri Jan 6 07:40:38 PST 2012
Le vendredi 23 décembre 2011 à 01:47 +0100, Tom Gundersen a écrit :
> Rather than ordering systemd-random-seed-load.service after local-fs.target,
> start it by path-activation.
>
> We need write access to the seed, so we order the path unit after
> remount-rootfs.service (in case /var is on the root fs).
>
> A better solution might be to introduce PathIsWritable=, but that is not
> necessary in order to solve the problem, and I don't know of any other
> usecases for it.
I've just tested your patch and it works fine ; I quickly tested with /
being read-only and mounted writable by systemd and not initrd (which is
the default for openSUSE) and it worked fine too.
Of course, it would be best to have also confirmation from Michal ;)
--
Frederic Crozat <fcrozat at suse.com>
SUSE
More information about the systemd-devel
mailing list