Package: dictd Version: 1.10.2-3.1 I've noticed that removing the dictd package left /var/run/dictd.pid. Please stop the dictd server when removing the package.
To reproduce:
----
# ls -l /var/run/dictd.pid
-rw-r--r-- 1 root root 6 Mar 10 00:16 /var/run/dictd.pid
# cat /var/run/dictd.pid
32670
# apt-get remove dictd
[...]
Removing dictd ...
# ls -l /var/run/dictd.pid
-rw-r--r-- 1 root root 6 Mar 10 00:16 /var/run/dictd.pid
# cat /var/run/dictd.pid
32670
----
To fix this bug, please add the prerm script as follows:
----
#!/bin/sh
set -e
if [ -x "/etc/init.d/dictd" ]; then
if [ -x "`which invoke-rc.d 2>/dev/null`" ]; then
invoke-rc.d dictd stop || exit $?
else
/etc/init.d/dictd stop || exit $?
fi
fi
----
Thanks,
--
Tatsuya Kinoshita
pgpAwt8AfRcVJ.pgp
Description: PGP signature

