[Bug 1297148] [NEW] wish: Extend the start-stop-daemon program with --killpg option
Peder Chr. Nørgaard
pcn at pogt.dk
Tue Mar 25 09:13:08 UTC 2014
Public bug reported:
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
** Affects: dpkg (Ubuntu)
Importance: Undecided
Status: New
** Tags: killpg start-stop-daemon
** Patch added: "Patch to add --killpg option to start-stop-daemon program"
https://bugs.launchpad.net/bugs/1297148/+attachment/4042260/+files/stop-start.patch
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to dpkg in Ubuntu.
https://bugs.launchpad.net/bugs/1297148
Title:
wish: Extend the start-stop-daemon program with --killpg option
Status in “dpkg” package in Ubuntu:
New
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
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/dpkg/+bug/1297148/+subscriptions
More information about the foundations-bugs
mailing list