On Thu, 10.04.14 14:00, Jonathan Liu ([email protected]) wrote:

> ---
>  units/systemd-random-seed.service.in | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/units/systemd-random-seed.service.in 
> b/units/systemd-random-seed.service.in
> index 1879b2f..cbe000c 100644
> --- a/units/systemd-random-seed.service.in
> +++ b/units/systemd-random-seed.service.in
> @@ -13,6 +13,7 @@ RequiresMountsFor=@RANDOM_SEED@
>  Conflicts=shutdown.target
>  After=systemd-readahead-collect.service systemd-readahead-replay.service 
> systemd-remount-fs.service
>  Before=sysinit.target shutdown.target
> +ConditionPathIsReadWrite=@RANDOM_SEED_DIR@
>  
>  [Service]
>  Type=oneshot

What's the rationale here? I'd argue that the random seed service
*should* fail if /var is not writable. So what's the logic behind wanting
to conditionalize this?

Lennart

-- 
Lennart Poettering, Red Hat
_______________________________________________
systemd-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/systemd-devel

Reply via email to