Bug 145183 - watchdogd(8): it should be possible to not deactivate watchdog timer on shutdown
Summary: watchdogd(8): it should be possible to not deactivate watchdog timer on shutdown
Status: Closed FIXED
Alias: None
Product: Base System
Classification: Unclassified
Component: bin (show other bugs)
Version: 8.0-RELEASE
Hardware: Any Any
: Normal Affects Only Me
Assignee: Ian Lepore
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-03-30 00:10 UTC by Dmitry Marakasov
Modified: 2015-08-25 11:52 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Dmitry Marakasov freebsd_committer freebsd_triage 2010-03-30 00:10:00 UTC
Watchdogd ensures that the system is rebooted if something bad happens, such as hard lockup. However, the demon is killed on shutdown, which deactivates watchdog timer, while the system can freeze somewhere during shutdown sequence (I've just witnessed that). While it will probably be unsafe to just remove shutdown KEYWORD from /etc/rc.d/watchdogd (because system may require much time to write dumps etc.), it's absolutely needed to leave that option for the administrator.
Comment 1 Dmitry Marakasov freebsd_committer freebsd_triage 2015-08-25 11:52:23 UTC
Fixed by ian@ in r286947. Thanks!