Matthias Saou wrote: > Thanks a lot for your quick reply! Indeed, just adding the pidfile= > to the script fixes this. I'm not sure how init scripts can be lead > to think that a file under /usr/sbin/ can be the right one to > remove, though, that seems like a bug somewhere else.
Yeah, that shocked me. But it is definitely user error (on my part) as passing -p tells the killproc function that the pidfile will be the option that follows it. When that is emtpy, what follows is the name of the executable. I still intend to rework the initscripts to be compliant with the current Fedora guidelines, as right now they are not very close, especially with respect to return codes and such. And ideally, we'll fix up more problems than we cause with that process. FWIW, running 'sh -x /etc/init.d/puppetmaster stop' made it fairly easy to see the problem. Thanks again for reporting it! -- Todd OpenPGP -> KeyID: 0xBEAF0CE3 | URL: www.pobox.com/~tmz/pgp ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ When we remember we are all mad, the mysteries of life disappear and life stands explained. -- Mark Twain
pgpCP2WAWCFXq.pgp
Description: PGP signature