AFAIK, start-stop-daemon still defaults to refusing to stop a daemon if
the executable has changed from the executable it initially started. Ie:

[EMAIL PROTECTED]:/usr/sbin>/etc/init.d/dictd start
Starting dictionary server: dictd.
[EMAIL PROTECTED]:/usr/sbin>ps ax |grep dictd 
21170 ?        Ss     0:00 dictd 1.10.11: 0/0
[EMAIL PROTECTED]:/usr/sbin>mv dictd dictd.orig
[EMAIL PROTECTED]:/usr/sbin>cp =ls dictd
[EMAIL PROTECTED]:/usr/sbin>/etc/init.d/dictd stop 
Stopping dictionary server: dictd (not running).
[EMAIL PROTECTED]:/usr/sbin>ps ax |grep dictd
21170 ?        Ss     0:00 dictd 1.10.11: 0/0
[EMAIL PROTECTED]:/usr/sbin>mv dictd.orig dictd
[EMAIL PROTECTED]:/usr/sbin>/etc/init.d/dictd stop
Stopping dictionary server: dictd.

Therefore if I were to take your advice that this bug is somehow RC, and
change debhelper as you suggest today, I would in fact completly break
upgrades of the majority of daemons in Debian.

dh_installinit -n can be used to ditch debhelper's default init script
starting code, and put in init script code that is tuned to the particular 
daemon.

-- 
see shy jo

Attachment: signature.asc
Description: Digital signature

Reply via email to