[PATCH] watchdog: core: suppress "watchdog did not stop" message

Jerry Hoemann jerry.hoemann at hpe.com
Tue Nov 27 12:31:17 AEDT 2018

On Fri, Nov 16, 2018 at 12:37:28AM +0000, Tao Ren wrote:
> On 11/15/18 4:19 PM, Guenter Roeck wrote:
> > NACK. This message is displayed if/when the watchdog application
> > exits without stopping the watchdog and/or without closing properly.
> > This _is_ critical since it will reboot the system after the next
> > timeout period.
> > 
> > If userspace triggers this message on purpose (eg by the mentioned
> > script, which does not exit properly), userspace is at fault,
> > not the kernel.
> > 
> > Guenter
> Thank you for the quick response, Guenter. I see the log each time when I reboot my system, and when I searched the message in google, I also found posts asking why the message is printed at reboot, and that's why I feel it's confusing.
> Anyways, please ignore the patch since it's necessary.


If you're on a system running systemd, the default behavior is to
enable the watchdog during shutdown.  This guards against shutdown hanging.
So this message will be routinely printed out during orderly shutdown.

See file: /etc/systemd/system.conf
# Entries in this file show the compile time defaults.



Jerry Hoemann                  Software Engineer   Hewlett Packard Enterprise

More information about the openbmc mailing list