Issue #2526 has been updated by James Turnbull. Status changed from Accepted to Closed
Pushed in commit:"b62d9668e04f40f2e3aa6c0f26dd26d1f75d8e22" in branch master. ---------------------------------------- Bug #2526: Red Hat initscript: condrestart should call status http://projects.reductivelabs.com/issues/2526 Author: Todd Zullinger Status: Closed Priority: Normal Assigned to: James Turnbull Category: Red Hat Target version: 0.25.0 Complexity: Unknown Affected version: 0.24.8 Keywords: This bug was originally filed at https://bugzilla.redhat.com/480600 by Ingvar Hagelund. From that bug: > Description of problem: > initscript condrestart does not call status > > Version-Release number of selected component (if applicable): > 0.24.7-4.el4 > 0.24.6-1.fc10 > > How reproducible: > Always > > Steps to Reproduce: > 1. service puppet start > 2. pkill -9 puppet > 3. service puppet condrestart > > Actual results: > daemon starts though it was daed > > Expected results: > daemon was dead, and should not be resurrected just because the pidfile exists > > Additional info: > This behaviour is typically old-style RedHat, and many daemons behave like > this. For example apache httpd has the same bug. > > According to http://fedoraproject.org/wiki/Packaging/SysVInitScript , > condrestart and try-restart _should_ use the status function (from > /etc/sysconfig/functions), and not just rely on the pidfile. Commit 0aa86e9 (conf/redhat/*.init: Fix condrestart/try-restart) on the feature/master/initscripts at git://jet.mox.net/~tmz/puppet.git fixes this. It should be applied on top of commit 3fa384e (conf/redhat/client.init: Fix #2123, status options on older RHEL) from the same location. For convenience, the patch is also available in the puppet-dev archive at http://groups.google.com/group/puppet-dev/msg/9b492a1dc4cb5f35 -- You have received this notification because you have either subscribed to it, or are involved in it. To change your notification preferences, please click here: http://reductivelabs.com/redmine/my/account --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Puppet Bugs" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/puppet-bugs?hl=en -~----------~----~----~----~------~----~------~--~---
