[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: is it OK for invoke-rc.d stop not to stop?

On Tue, 20 Apr 2004, Dan Jacobson wrote:
> Just curious, is it OK for /etc/init.d/noffle to (cause invoke-rc.d
> stop to) not actually stop?:

No. That's a hideous bug.  /etc/init.d/anything stop MUST stop the service
at all costs, even if it has to kill -9 the daemon.

BTW, anyone using start-stop-daemon -exec for *stop* fix your scripts
immediately.  NEVER USE -exec FOR STOP.  If the binary was prelinked, or
upgraded, or changed in any way since it was started, -exec will cause it
not to be stopped.

  "One disk to rule them all, One disk to find them. One disk to bring
  them all and in the darkness grind them. In the Land of Redmond
  where the shadows lie." -- The Silicon Valley Tarot
  Henrique Holschuh

Reply to: