diff options
authorNiels de Vos <>2015-11-19 10:14:30 +0100
committerNiels de Vos <>2015-12-12 02:01:53 -0800
commitb9bb39471ae75f5e1d6d697b6cb80e3d81da7484 (patch)
parentc5f0ca5438d3b1234853e028c89f3ed6f894ef91 (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: 1283542 Signed-off-by: Niels de Vos <> Reviewed-on: Reviewed-by: Atin Mukherjee <> Tested-by: Gluster Build System <>
1 files changed, 1 insertions, 0 deletions
diff --git a/extras/systemd/ b/extras/systemd/
index fc8d8c9..39d1bff 100644
--- a/extras/systemd/
+++ b/extras/systemd/
@@ -1,5 +1,6 @@
Description=GlusterFS, a clustered file-system server
+Requires=rpcbind.service rpcbind.service