From 69e15875cc278d3aea246fde7d05f321b45984b7 Mon Sep 17 00:00:00 2001 From: Valentin Vidic Date: Sun, 14 Apr 2019 22:36:28 +0200 Subject: [PATCH] Fix: systemd: make corosync wait for sbd-start to complete If sbd fails to start it prevents pacemaker from starting, but corosync continues to start without errors. This generates a quorum vote for the current node although the sbd and pacemaker components are not alive. --- src/sbd.service.in | 1 + 1 file changed, 1 insertion(+) diff --git a/src/sbd.service.in b/src/sbd.service.in index 94b0f99..a07cbbb 100644 --- a/src/sbd.service.in +++ b/src/sbd.service.in @@ -1,6 +1,7 @@ [Unit] Description=Shared-storage based fencing daemon Documentation=man:sbd(8) +Before=corosync.service Before=pacemaker.service Before=dlm.service After=systemd-modules-load.service iscsi.service