We have some boxes deployed into environments where monkeys sometimes unplug them. When the machine comes back up, sometimes apache doesn't start up because the PID mentioned in its PID file refers to a live process from some other daemon. I'm hoping that the functions (such as daemon) can be modified to avoid triggering this error by checking the /proc/$PID/cmdline to see if it matches the cmdname expected for that daemon. initscripts-6.67-1 If you were willing to require perl, you could extract the command name with the following code fragment: cmdname=`perl -e '$/ = "\0"; $_ = <STDIN>; chomp; s-.*/--; print "$_\n"' < /proc/$PID/cmdline `
Closing bugs on older, no longer supported, releases. Apologies for any lack of response. If this persists on a current release, such as Fedora Core 4, please open a new bug.