Am Freitag, den 06.01.2012, 16:40 +0100 schrieb Frederic Crozat:
> 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 ;)
> 

btw. I get this message with the patch applied:

[   10.607877] systemd-random-seed[102]: Failed to write new random seed file: 
Bad file descriptor

besides that, it seems to work correctly.

kind regards
thomas

Attachment: signature.asc
Description: This is a digitally signed message part

_______________________________________________
systemd-devel mailing list
systemd-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/systemd-devel

Reply via email to