Dan, And it's not just my badly written script either.
Here's what I get with an unmodified httpd startup script... gumby /etc/rc.d:# chkconfig --del httpd gumby /etc/rc.d:# chkconfig httpd on gumby /etc/rc.d:# find . -name *httpd* ./rc3.d/S85httpd ./rc4.d/S85httpd ./init.d/httpd ./rc5.d/S85httpd ./rc2.d/S85httpd Same result. No kill links. Doug. On Mon, Nov 9, 2009 at 10:09 PM, Douglas Garstang <doug.garst...@gmail.com> wrote: > Dan, > > I don't think you need to see it. Take a look at this... This might > actually be a redhat bug. > > Ie... > > If the service isn’t registered... > gumby /etc/rc.d:# chkconfig --del jboss-tfel0 > > But then your an idiot and run ‘on’ without first running ‘--add’ > gumby /etc/rc.d:# chkconfig jboss-tfel0 on > > Redhat creates the necessary symlinks to start the service, but > doesn’t create any to kill it. > gumby /etc/rc.d:# find . -name "*jboss-tfel0*" > ./rc3.d/S15jboss-tfel0 > ./rc4.d/S15jboss-tfel0 > ./init.d/jboss-tfel0 > ./rc5.d/S15jboss-tfel0 > ./rc2.d/S15jboss-tfel0 > > And therein lies my problem. Puppet does not run 'chkconfig --add > <service>. It assumes that's already been done for you (see the ticket > Ohad referenced). All it does is call 'chkconfig <service> on'. When > that happens, the kill symlinks do not get created, the service is not > stopped on shutdown, lock files aren't removed, and on the next boot, > the services are not started because the lock files are still there. > > Doug > > > On Mon, Nov 9, 2009 at 10:04 PM, Dan Bode <d...@reductivelabs.com> wrote: >> Hi Doug, >> >> I am trying to wrap my head around this. Can I have a look at the >> >> ### BEGIN INIT INFO >> >> section of your init script. >> >> thanks, >> >> Dan >> >> >> >> > > > > -- > Regards, > > Douglas Garstang > http://www.linkedin.com/in/garstang > Email: doug.garst...@gmail.com > Cell: +1-805-340-5627 > -- Regards, Douglas Garstang http://www.linkedin.com/in/garstang Email: doug.garst...@gmail.com Cell: +1-805-340-5627 --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-users@googlegroups.com To unsubscribe from this group, send email to puppet-users+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en -~----------~----~----~----~------~----~------~--~---