summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKaleb S. KEITHLEY <kkeithle@redhat.com>2013-09-05 10:30:25 -0400
committerAnand Avati <avati@redhat.com>2013-09-09 17:18:13 -0700
commitd3c5463bdc8597ce3a70fded6c80f20e900752f4 (patch)
treeb2f1108696cfd4d7faf699e0ab9e84c359f64f4c
parentcf5a6e9756d52991f4a0406639c422b01e76b053 (diff)
glusterd.service (systemd), ensure glusterd starts early, (backport BZ 1004795)
Try (emphasis on the try) to ensure that glusterd starts, and in turn starts glusterfsd before init attempt to mount any gluster (or gluster NFS) volumes in /etc/fstab. N.B. Joe Julian says this doesn't fix the problem for him, although it worked for me in kvm. Lennart Poettering says it should, and we should file a BZ against systemd if it doesn't. See https://lists.fedoraproject.org/pipermail/devel/2013-July/185870.html Change-Id: I6ac329b5130ba5615df570cf151e70d3618a8a63 Signed-off-by: Kaleb S. KEITHLEY <kkeithle@redhat.com> BUG: 1004796 Reviewed-on: http://review.gluster.org/5824 Tested-by: Gluster Build System <jenkins@build.gluster.com> Reviewed-by: Anand Avati <avati@redhat.com>
-rw-r--r--extras/systemd/glusterd.service.in1
1 files changed, 1 insertions, 0 deletions
diff --git a/extras/systemd/glusterd.service.in b/extras/systemd/glusterd.service.in
index 072a1278b67..e6ab3cc7da6 100644
--- a/extras/systemd/glusterd.service.in
+++ b/extras/systemd/glusterd.service.in
@@ -1,6 +1,7 @@
[Unit]
Description=GlusterFS an clustered file-system server
After=network.target rpcbind.service
+Before=network-online.target
[Service]
Type=forking