Issue #1219 has been updated by Mariusz Gronczewski.

Status changed from Closed to Re-opened

Maybe add chkconfig --add when turning script on, because atm. adding new 
service (for example second instance of apache) to /etc/init.d/ does not create 
/etc/rc(0|6).d scripts, which in turn can make problems while rebooting (for 
example second apache instance holding files on GFS share which in turn slows 
down clean reboot a lot)
----------------------------------------
Bug #1219: Disabling a service on Red Hat systems should use 'chkconfig service 
off', not 'chkconfig --del service'
https://projects.puppetlabs.com/issues/1219

Author: Ingemar Nilsson
Status: Re-opened
Priority: Normal
Assignee: 
Category: service
Target version: 
Patch: Code
Affected Puppet 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://projects.puppetlabs.com/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.

Reply via email to