[Debian-ha-maintainers] SBD watchdog vs. Corosync watchdog support

Adrian Vondendriesch adrian.vondendriesch at credativ.de
Tue May 3 17:55:41 UTC 2016


Hi everyone,

On 03.05.2016 14:03, Adrian.Vondendriesch wrote:
> Hi,
> 
> I'm currently packaging SBD. While testing SBD I've noticed that it
> interferences with corosync. This is because we build corosync with
> watchdog support. corosync will open /dev/watchdog on startup, keeping
> SBD from starting up:
> 
>> sbd -W -d /dev/sdb -p /var/run/sbd.pid watch
>> error: watchdog_init: Cannot open watchdog device '/dev/watchdog':
> Device or resource busy (16)
> 
> IMO SBD without watchdog support seems pretty useless to me. However,
> watchdog support in corosync can't be disabled at runtime. So I suggest
> disabling watchdog support in corosync at compile time (no
> --enable-watchdog). AFAIK RHEL / CentOS as well as SUSE build corosync
> without --enable-watchdog.
> 
> Any thoughts?

The problem doesn't exists any more. Valentin Vidic (vvidic on irc) has
submitted a patch against upstream [1] which makes watchdog support in
corosync configurable. I've included the patch in 2.3.5-5. Thanks to vvidic.

Cheers,
 - Adrian

[1] https://github.com/corosync/corosync/pull/125

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: OpenPGP digital signature
URL: <http://lists.alioth.debian.org/pipermail/debian-ha-maintainers/attachments/20160503/01a846a4/attachment.sig>


More information about the Debian-ha-maintainers mailing list