[systemd-devel] [PATCH] systemd-random-seed: start random-seed service after fedora-readonly
Vaclav Pavlin
vpavlin at redhat.com
Thu Mar 14 01:55:18 PDT 2013
From: Václav Pavlín <vpavlin at redhat.com>
When using readonly-root systemd-random-seed.service fails because
/var/lib/random-seed is not writable at the time. Adding fedora-readonly.service to
systemd-randomd-seed's After solves this issue - mentioned file is bind
mounted as rw before it is used.
https://bugzilla.redhat.com/show_bug.cgi?id=888615
---
units/systemd-random-seed-load.service.in | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/units/systemd-random-seed-load.service.in b/units/systemd-random-seed-load.service.in
index e9156ef..2ff78d5 100644
--- a/units/systemd-random-seed-load.service.in
+++ b/units/systemd-random-seed-load.service.in
@@ -10,7 +10,7 @@ Description=Load Random Seed
Documentation=man:systemd-random-seed-load.service(8) man:random(4)
DefaultDependencies=no
RequiresMountsFor=@RANDOM_SEED@
-After=systemd-readahead-collect.service systemd-readahead-replay.service systemd-remount-fs.service
+After=systemd-readahead-collect.service systemd-readahead-replay.service systemd-remount-fs.service fedora-readonly.service
Before=sysinit.target final.target
[Service]
--
1.8.1.4
More information about the systemd-devel
mailing list