Sorry - just to further clarify, this is what would happen without the
patch...
1. wd_keepalive daemon is started early in the boot process, loads
ipmi_watchdog and opens + starts to write to /dev/watchdog
2. watchdog init script sends TERM to wd_keepalive daemon
3. watchdog init script starts watchdog daemon without waiting for
wd_keepalive to exit
4. watchdog daemon attempt to open /dev/watchdog. Fails to do so
because device is already open.
5. wd_keepalive daemon closes /dev/watchdog
6. wd_keepalive daemon exits
7. 60 seconds after "5." occurs, the machine gets hard-reset
(ipmi_watchdog defaults to nowayout=1 and timeout=60)
A similar bug could occur during reboot/shutdown if the machine took
more than 60 seconds to reboot (i.e. between "/etc/init.d/watchdog" stop
and actual machine reboot) except the occurrences of "watchdog daemon"
and "wd_keepalive daemon" would be reversed in the above description.
Thanks,
Tim.
--
South East Open Source Solutions Limited
Registered in England and Wales with company number 06134732.
Registered Office: 2 Powell Gardens, Redhill, Surrey, RH1 1TQ
VAT number: 900 6633 53 http://seoss.co.uk/ +44-(0)1273-808309
--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org