stale pid for watchdog service

Bug #1750942 reported by Arijit Banerjee
6
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?

Tags: patch
description: updated
Revision history for this message
Arijit Banerjee (arijit.banerjee) wrote :
tags: added: patch
Revision history for this message
Paul Crawford (psc-sat) wrote :

Dear Arijit,
Many thanks for reporting this issue and providing a fix. I have applied your patch to the GIT repository on Sourceforge but I don't know how long it will take (if ever) to get included in the version distributed with 14.04
Regards, Paul

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.