wish: Extend the start-stop-daemon program with --killpg option

Bug #1297148 reported by Peder Chr. Nørgaard
10
This bug affects 1 person
Affects Status Importance Assigned to Milestone
dpkg (Ubuntu)
New
Undecided
Unassigned

Bug Description

I have a daemon that is not able to intercept a killing signal and do the necessary clean up, by killing its own child processes.

Rather than coding a pretty complicated solution to that problem, I found it much easier to modify the start-stop-daemon program with a new option, --killpg. I attach the patch, it is tested and in operation now and works just fine. I hope that you will consider making this a part of future releases; it is a small change that does a really useful thing; I thought that other people than myself could profit from it.

best regards

Peder Chr. Nørgaard

The patch is made against trusty tahr beta 1 dpkg, version 1.17.5ubuntu5

Revision history for this message
Peder Chr. Nørgaard (pcn-2) wrote :
Revision history for this message
Ubuntu Foundations Team Bug Bot (crichton) wrote :

The attachment "Patch to add --killpg option to start-stop-daemon program" seems to be a patch. If it isn't, please remove the "patch" flag from the attachment, remove the "patch" tag, and if you are a member of the ~ubuntu-reviewers, unsubscribe the team.

[This is an automated message performed by a Launchpad user owned by ~brian-murray, for any issues please contact him.]

tags: added: patch
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.