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

how to deinstall not-running daemons



Hello,

if I (or debheper) executes "/etc/init.d/package stop" before removing a
package containing a damon, and the daemon itself is using start-stop to be
killed, then the init.d script will fail if the daemon was not running, and
therefore the purge or remove of the package will fail.

How do i handle this? Do not return an error from the init.d script or do
not break on errors from the init.d script (in the later case dh_installinit
needs to be fixed). In the former case the policy (at least the example) is
wrong.

Greetings
Bernd
-- 
  (OO)      -- Bernd_Eckenfels@Wendelinusstrasse39.76646Bruchsal.de --
 ( .. )  ecki@{inka.de,linux.de,debian.org} http://home.pages.de/~eckes/
  o--o     *plush*  2048/93600EFD  eckes@irc  +497257930613  BE5-RIPE
(O____O)  When cryptography is outlawed, bayl bhgynjf jvyy unir cevinpl!



Reply to: