[systemd-devel] [PATCH] systemd-random-seed: start random-seed service after fedora-readonly
Kay Sievers
kay at vrfy.org
Thu Mar 14 04:40:40 PDT 2013
On Thu, Mar 14, 2013 at 9:55 AM, Vaclav Pavlin <vpavlin at redhat.com> wrote:
> 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
You can never add fedora stuff to upstream.
This service would need to be _properly_ implemented, and shipped
upstream too, if it should be referenced. :)
Can't you add a Before= to the fedora-* service?
Kay
More information about the systemd-devel
mailing list