Issue #10980 has been updated by Greg Poirier.

Hey Jos.

Unfortunately, on RHEL 6.3 (and at least as far back as 6.2), we aren't seeing 
K scripts created at all by chkconfig (from outside puppet or by service 
objects). E.g., the following only creats start scripts:

chkconfig jetty on

Where /etc/init.d/jetty has the following

# chkconfig: 2345 84 16

Only produces /etc/rc[2345].d/S84jetty

but no /etc/rc[016].d/K16jetty

Now, I understand that this is, perhaps, a bug with chkconfig, but when's the 
last time you tried filing a bug with Redhat? :-/
----------------------------------------
Bug #10980: Service provider in RedHat will not create K?? stop scripts
https://projects.puppetlabs.com/issues/10980#change-83479

Author: Andoni Auzmendi
Status: Accepted
Priority: Normal
Assignee: 
Category: service
Target version: 
Affected Puppet version: 2.7.6
Keywords: service redhat linux enable
Branch: 


When a service is set to be enabled the provider/service/redhat.rb provider 
will run "/sbin/chkconfig $name on" which will only create the links for 
starting the service but will not for stopping it. The correct command is 
"/sbin/chkconfig --add $name".

This is important for those services that require stopping cleanly before other 
services.




-- 
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 unsubscribe from this group and stop receiving emails from it, send an email 
to puppet-bugs+unsubscr...@googlegroups.com.
To post to this group, send email to puppet-bugs@googlegroups.com.
Visit this group at http://groups.google.com/group/puppet-bugs?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to