[systemd-devel] [PATCH 07/10] units: order remote-fs.target after local-fs.target

Tom Gundersen teg at jklm.no
Wed Jul 16 03:57:41 PDT 2014


On Wed, Jul 16, 2014 at 12:09 PM, Jon Severinsson <jon at severinsson.net> wrote:
> From: Michael Biebl <biebl at debian.org>
>
> This change was part of the old debianisation branch created by Tollef
> and reflects the fact that on Debian the $remote_fs system facility
> depends on $local_fs.

If this is merely for sysv compat, it feels wrong to add this in the
native unit files (but maybe the argument could be made regardless?).
If it is just for bacwards compatibility, I would rather put it in the
sysvgenerator itself (to add a drop-in if something pulls in
$remote_fs).

Not sure if this should be upstream or downstream though, depends if
this makes sense outside of Debian.

Cheers,

Tom

> ---
>  units/remote-fs.target | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/units/remote-fs.target b/units/remote-fs.target
> index 43ffa5c..655621f 100644
> --- a/units/remote-fs.target
> +++ b/units/remote-fs.target
> @@ -8,7 +8,7 @@
>  [Unit]
>  Description=Remote File Systems
>  Documentation=man:systemd.special(7)
> -After=remote-fs-pre.target
> +After=remote-fs-pre.target local-fs.target
>  DefaultDependencies=no
>  Conflicts=shutdown.target
>
> --
> 2.0.1
>
> _______________________________________________
> systemd-devel mailing list
> systemd-devel at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/systemd-devel


More information about the systemd-devel mailing list