Re: [PATCH] Fix boot dependency in systemd service file

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




On 12/20/2016 06:58 AM, Yann Leprince wrote:
> From: Yann Leprince <yann.leprince@xxxxxxx>
> 
> This fix ensures that a separate /var partition will be mounted before
> rpcbind tries to write its status to /var/run.
> 
> Signed-off-by: Yann Leprince <yann.leprince@xxxxxxx>
Committed... thank you!

steved.
> ---
>  systemd/rpcbind.service.in | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/systemd/rpcbind.service.in b/systemd/rpcbind.service.in
> index c173b83..f8cfa9f 100644
> --- a/systemd/rpcbind.service.in
> +++ b/systemd/rpcbind.service.in
> @@ -2,6 +2,7 @@
>  Description=RPC Bind
>  Documentation=man:rpcbind(8)
>  DefaultDependencies=no
> +RequiresMountsFor=@statedir@
> 
>  # Make sure we use the IP addresses listed for
>  # rpcbind.socket, no matter how this unit is started.
> --
> 2.11.0
> 
> 
> 
> ------------------------------------------------------------------------------------------------
> ------------------------------------------------------------------------------------------------
> Forschungszentrum Juelich GmbH
> 52425 Juelich
> Sitz der Gesellschaft: Juelich
> Eingetragen im Handelsregister des Amtsgerichts Dueren Nr. HR B 3498
> Vorsitzender des Aufsichtsrats: MinDir Dr. Karl Eugen Huthmacher
> Geschaeftsfuehrung: Prof. Dr.-Ing. Wolfgang Marquardt (Vorsitzender),
> Karsten Beneke (stellv. Vorsitzender), Prof. Dr.-Ing. Harald Bolt,
> Prof. Dr. Sebastian M. Schmidt
> ------------------------------------------------------------------------------------------------
> ------------------------------------------------------------------------------------------------
> 
--
To unsubscribe from this list: send the line "unsubscribe linux-nfs" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Linux Filesystem Development]     [Linux USB Development]     [Linux Media Development]     [Video for Linux]     [Linux NILFS]     [Linux Audio Users]     [Yosemite Info]     [Linux SCSI]

  Powered by Linux