From 2e4064fe08e929fb4db30ae63c5cd404ab2d8b20 Mon Sep 17 00:00:00 2001 From: "Kaleb S. KEITHLEY" Date: Thu, 5 Sep 2013 10:14:08 -0400 Subject: glusterd.service (systemd), ensure glusterd starts before local mounts NOTICE: this patch was accepted onto the release-3.4 branch for 3.4.1, but this same patch for master is languishing here in review. 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: I4d8061217d8301beb0da485dc63a1984a7c57c37 Signed-off-by: Kaleb S. KEITHLEY BUG: 1004795 Reviewed-on: http://review.gluster.org/5823 Tested-by: Gluster Build System Reviewed-by: Anand Avati --- extras/systemd/glusterd.service.in | 1 + 1 file changed, 1 insertion(+) diff --git a/extras/systemd/glusterd.service.in b/extras/systemd/glusterd.service.in index 74e6149d0..fc8d8c9a2 100644 --- a/extras/systemd/glusterd.service.in +++ b/extras/systemd/glusterd.service.in @@ -1,6 +1,7 @@ [Unit] Description=GlusterFS, a clustered file-system server After=network.target rpcbind.service +Before=network-online.target [Service] Type=forking -- cgit