From cc8710da5e426d2e092d0621f03f67af6ffdcc27 Mon Sep 17 00:00:00 2001 From: Colin Guthrie Date: Mon, 12 Jan 2015 20:54:47 +0000 Subject: fedora-readonly: Updates for systemd random-seed handling Since: commit ef5bfcf668e6029faa78534dfeb2591df854cdef Author: Lennart Poettering Date: Tue Sep 17 17:28:35 2013 -0500 backlight,random-seed: move state files into /var/lib/systemd Let's not scatter (private) files in /var around, let's place them all in /var/lib/systemd and below. the location for the random-seed file has changed. Since: commit c35b956d34bbb8bb208e49e45de2c103ca11911c Author: Lennart Poettering Date: Wed May 15 22:38:51 2013 +0200 units: rework systemd-random-seed-{load,save}.service to be a single service That way ordering it with MountsRequiredFor= works properly, as this no longer results in mount units start requests to be added to the shutdown transaction that conflict with stop requests for the same unit. the service has just been called systemd-random-seed.service --- rwtab | 2 +- systemd/system/fedora-readonly.service | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/rwtab b/rwtab index 976b71a2..54463ada 100644 --- a/rwtab +++ b/rwtab @@ -38,7 +38,7 @@ files /var/lib/logrotate.status files /var/lib/ntp files /var/lib/xen files /var/empty/sshd/etc/localtime -files /var/lib/random-seed +files /var/lib/systemd/random-seed files /var/spool files /var/lib/samba files /var/log/audit/audit.log diff --git a/systemd/system/fedora-readonly.service b/systemd/system/fedora-readonly.service index 680eace0..7a079445 100644 --- a/systemd/system/fedora-readonly.service +++ b/systemd/system/fedora-readonly.service @@ -2,7 +2,7 @@ Description=Configure read-only root support DefaultDependencies=no Conflicts=shutdown.target -Before=shutdown.target emergency.service emergency.target systemd-tmpfiles-setup.service local-fs.target systemd-random-seed-load.service +Before=shutdown.target emergency.service emergency.target systemd-tmpfiles-setup.service local-fs.target systemd-random-seed.service After=systemd-remount-fs.service [Service] -- cgit v1.2.1