On Wed, 2008-05-07 at 17:03:37 -0400, Joey Hess wrote:
> If you actually try to make a package that uses -exec and restarts its
> deamon in the postinst, it doesn't work. Example:
> 
> http://kitenet.net/~joey/tmp/dictd_1.10.11.dfsg-2_i386.deb

> All good so far, but now try reinstalling:

[...]

> The init script uses this to test if it's running, and after dpkg replaces
> the binary it fails.
> 
> [EMAIL PROTECTED]:/home/joey/tmp>start-stop-daemon --start --quiet --pidfile 
> /var/run/dictd.pid --exec /usr/sbin/dictd --test -v
> Would start /usr/sbin/dictd .

It fails because the preinst is unconditionally removing the pid file
on upgrade.

regards,
guillem



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to