[Bug 306961] Re: start-stop-daemon cannot set a process's IO priority
Bug Watch Updater
306961 at bugs.launchpad.net
Thu Aug 11 13:02:34 UTC 2011
** Changed in: dpkg (Debian)
Status: New => Fix Released
--
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/306961
Title:
start-stop-daemon cannot set a process's IO priority
Status in “dpkg” package in Ubuntu:
Fix Released
Status in “dpkg” package in Debian:
Fix Released
Bug description:
Binary package hint: dpkg
I'm currently packaging a new upstream version of preload for Jaunty.
The Intrepid version currently ships a patch to set the IO priority of
the preload daemon via a command-line switch to preload. However,
upstream have not adopted this patch and have implemented their own
fix for setting the IO priority of the daemon, by running it with
ionice from the init script.
So, I have a dilemma:
1) I could keep the Ubuntu patch for setting the IO priority, but this won't get accepted upstream.
2) I could adopt the upstream init script, which wraps the daemon with ionice (but doesn't use start-stop-daemon).
Neither option is ideal. The ideal option would be for me to use
start-stop-daemon to run preload and set its IO priority. However,
start-stop-daemon cannot currently do this.
I've attached a patch that should fix this
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/dpkg/+bug/306961/+subscriptions
More information about the foundations-bugs
mailing list