Issue #1219 has been updated by David Lutterkort.
James Turnbull wrote: > I'd be interested in David's view on this. The original ticket is right: puppet should use 'chkconfig service off', not 'chkconfig --del service'. If there are services that do not install themselves with 'chkconfig --add service' in a post script in the RPM, it should be filed as a bug against the package. If puppet wants to be extra thorough, it should check that links have been set up by running 'chkconfig --list service', and if that produces an error, run 'chkconfig --add' again; this will be particularly important for systems that have been broken by puppet's erroneous 'chkconfig --del' ---------------------------------------- Bug #1219: Disabling a service on Red Hat systems should use 'chkconfig service off', not 'chkconfig --del service' http://projects.reductivelabs.com/issues/1219 Author: Ingemar Nilsson Status: Re-opened Priority: Normal Assigned to: Luke Kanies Category: service Target version: Patch: Code Affected version: 0.25.1 Keywords: Branch: Currently, if I disable a service with enable => false, Puppet seems to run 'chkconfig --del servicename'. This is incorrect, as it removes the service from chkconfig management. The correct way is to use 'chkconfig servicename off'. One of the bad effects of the current behavior is that 'chkconfig --del servicename' removes all the /etc/rc*.d/K*servicename links, which are there to make sure that temporarily started services are allowed to gracefully shutdown on a system shutdown. They are preserved when 'chkconfig servicename off' is used. Obviously this also means that enable => true should result in a 'chkconfig servicename on' instead of the current 'chkconfig --add servicename'. -- 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 -~----------~----~----~----~------~----~------~--~---
