[Bug 1315021] Re: Service restart fails because process has not exited
Felipe Reyes
1315021 at bugs.launchpad.net
Wed Feb 4 18:55:42 UTC 2015
Here I'm uploading a new version of the patch that fixes the same
problem for /etc/init.d/puppet and removes a unneeded 'sleep 1' between
stop and start.
** Patch added: "lp1315021_vivid.debdiff"
https://bugs.launchpad.net/ubuntu/+source/puppetmaster/+bug/1315021/+attachment/4312412/+files/lp1315021_vivid.debdiff
--
You received this bug notification because you are a member of Ubuntu
Sponsors Team, which is subscribed to the bug report.
https://bugs.launchpad.net/bugs/1315021
Title:
Service restart fails because process has not exited
Status in puppetmaster package in Ubuntu:
Confirmed
Bug description:
When restarting the puppetmaster process (via the service command, or
calling the initscript directly), the restart can fail if the original
process does not exit immediately. This is because the initscript is
not written to wait for the original process to exit.
In my testing under Trusty, adding "-R n" to the start-stop-daemon
command in the initscript fixed the problem. It's difficult to
determine an appropriate value for n, but it could be tunable via
/etc/default/puppetmaster. It's definitely a problem not to wait at
all for the process to exit.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/puppetmaster/+bug/1315021/+subscriptions
More information about the Ubuntu-sponsors
mailing list