stale pid for watchdog service
Bug #1750942 reported by
Arijit Banerjee
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
watchdog (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
The init script for the watchdog service does not seem to remove the pid file corresponding to the watchdog and wd_keepalive daemons while stopping them using start-stop-daemon. This causes us to potentially send SIGTERM and SIGKILL to wrong processes.
This behaviour was observed on Ubuntu 14.04 and this logic appears to be present even on the latest versions of the watchdog package (watchdog_5.15-2).
Not deleting the pid file appears to be incorrect behaviour in init scripts. Is this a known issue?
Patch available at https:/ /bugs.debian. org/cgi- bin/bugreport. cgi?bug= 892715