[pve-devel] watchdog-mux.service stop, trigger restart

Alexandre DERUMIER aderumier at odiso.com
Tue Dec 15 12:07:16 CET 2015


Hi,

i'm seeing that stopping the watchdog-mux service cleaning, trigger the watchdog reset.

I think this could happen on package update (windows size of 10s is really short)



>From the watchdog doc, 

https://www.kernel.org/doc/Documentation/watchdog/watchdog-api.txt

it's possible to implement "Magic Close feature"


"
If a driver supports "Magic Close", the driver will not disable the
watchdog unless a specific magic character 'V' has been sent to
/dev/watchdog just before closing the file.  If the userspace daemon
closes the file without sending this special character, the driver
will assume that the daemon (and userspace in general) died, and will
stop pinging the watchdog without disabling it first.  This will then
cause a reboot if the watchdog is not re-opened in sufficient time."



More information about the pve-devel mailing list