path: root/extras
diff options
authorNiels de Vos <>2015-11-18 12:24:07 +0100
committerAtin Mukherjee <>2015-11-19 20:20:24 -0800
commit4a7d83d53a5698839d605ac4b3d4a9468ca64dd4 (patch)
treece591af871efb6de2babe18c4cd6347cfab61c51 /extras
parent79103a0f9eea2af4c68710e602f78963471ecec7 (diff)
glusterd.service: Ensure rpcbind is started before glusterd
Having the rpcbind.service under the `After` option only ensures that glusterd.service is started after rpcbind.service if both are enabled/started at the same time. It doesn't ensure that starting glusterd.service will start rpcbind.service. The systemd.unit(5) man page suggests to use both the `Requires` and `After` options to ensure that rpcbind is started before glusterd, whenever glusterd is started. Cherry picked from commit 23440a73bc348bbc3bb43ec397f0639ee45865fc: > BUG: 1282915 > Change-Id: Iee69965486be08711299aba235f7b00c3e2fe7e9 > Signed-off-by: Kaushal M <> > Reviewed-on: > Reviewed-by: Atin Mukherjee <> > Reviewed-by: Anand Nekkunti <> > Tested-by: Gluster Build System <> > Tested-by: NetBSD Build System <> Change-Id: Iee69965486be08711299aba235f7b00c3e2fe7e9 BUG: 1283142 Signed-off-by: Niels de Vos <> Reviewed-on: Tested-by: NetBSD Build System <> Tested-by: Gluster Build System <> Reviewed-by: Atin Mukherjee <>
Diffstat (limited to 'extras')
1 files changed, 1 insertions, 0 deletions
diff --git a/extras/systemd/ b/extras/systemd/
index 5f962a6..26694cf 100644
--- a/extras/systemd/
+++ b/extras/systemd/
@@ -1,5 +1,6 @@
Description=GlusterFS, a clustered file-system server
+Requires=rpcbind.service rpcbind.service