mirror_corosync/init
Jan Friesse 0d1a1b1329 init: Use cpgtool instead of cfgtool
Init script used to use corosync-cfgtool -s to wait till
corosync accepts ipc connection. Problem with this approach
is that error code is returned not only if ipc cannot be initialized,
but also when one of the ring is marked as failed, making corosync
service not to start. Corosync with one failed ring can work just
fine and there is no need to fail startup.

Patch is changing call of corosync-cfgtool to corosync-cpgtool. Also to
make spotting of broken ring easier, corosync-cfgtool -s is called after
successful return of the cpgtool, and warning is issued if cfgtool
fails.

Signed-off-by: Jan Friesse <jfriesse@redhat.com>
Reviewed-by: Christine Caulfield <ccaulfie@redhat.com>
2019-07-08 16:00:39 +02:00
..
.gitignore qdevice: Remove qdevices 2018-01-25 16:08:01 +01:00
corosync-notifyd.in init: Quote subshell result properly 2018-03-02 17:29:11 +01:00
corosync-notifyd.service.in Send corosync-notifyd startup notification to systemd 2017-11-09 09:50:32 +01:00
corosync.in init: Use cpgtool instead of cfgtool 2019-07-08 16:00:39 +02:00
corosync.service.in Revert "init: Enable StopWhenUnneeded" 2019-04-04 11:51:23 +02:00
corosync.sysconfig.example init: Make init script configurable 2014-04-11 11:02:18 +02:00
Makefile.am build: Use the SED variable provided by configure 2019-02-06 16:04:55 +01:00