Init scripts, maintainer scripts, and debhelper
Hi,
following annoying problem:
- a package uses debhelper, and dh_installinit
- dh_installinit adds code to maintainer scripts calling init script
on installation and deinstallation-
- init script uses start-stop-daemon
- start-stop-daemon barfs on start if daemon is already running, or on
stop if daemon is not running.
- start-stop-daemon barfing stops apt-get dist-upgrade.
Quite a few packages have that problem.
Is there a recommendation to make one's package better behaved? Using
start-stop-daemon --oknodo does not seem to be the correct way since
this turns off error detection completely.
Any hints will be appreciated.
Greetings
Marc
--
-------------------------------------- !! No courtesy copies, please !! -----
Marc Haber | " Questions are the | Mailadresse im Header
Karlsruhe, Germany | Beginning of Wisdom " | Fon: *49 721 966 32 15
Nordisch by Nature | Lt. Worf, TNG "Rightful Heir" | Fax: *49 721 966 31 29
Reply to: