All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] Fix boot dependency in systemd service file
@ 2016-12-20 11:58 Yann Leprince
  2016-12-21 19:39 ` Steve Dickson
  0 siblings, 1 reply; 2+ messages in thread
From: Yann Leprince @ 2016-12-20 11:58 UTC (permalink / raw)
  To: Steve Dickson; +Cc: Libtirpc-devel Mailing List, Linux NFS Mailing list

From: Yann Leprince <yann.leprince@ylep.fr>

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@ylep.fr>
---
 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=3DRPC Bind
 Documentation=3Dman:rpcbind(8)
 DefaultDependencies=3Dno
+RequiresMountsFor=3D@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
---------------------------------------------------------------------------=
---------------------
---------------------------------------------------------------------------=
---------------------


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] Fix boot dependency in systemd service file
  2016-12-20 11:58 [PATCH] Fix boot dependency in systemd service file Yann Leprince
@ 2016-12-21 19:39 ` Steve Dickson
  0 siblings, 0 replies; 2+ messages in thread
From: Steve Dickson @ 2016-12-21 19:39 UTC (permalink / raw)
  To: Yann Leprince; +Cc: Libtirpc-devel Mailing List, Linux NFS Mailing list



On 12/20/2016 06:58 AM, Yann Leprince wrote:
> From: Yann Leprince <yann.leprince@ylep.fr>
> 
> 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@ylep.fr>
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
> ------------------------------------------------------------------------------------------------
> ------------------------------------------------------------------------------------------------
> 

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2016-12-21 19:39 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-12-20 11:58 [PATCH] Fix boot dependency in systemd service file Yann Leprince
2016-12-21 19:39 ` Steve Dickson

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.