Package: squid
Severity: normal
Tags: patch

When upgrading the Squid package, the postinst script initiates a
invoke-rc.d squid restart, which fails. The reason for this is
that "start-stop-daemon" is called with the --exec $DAEMON option,
which makes start-stop-daemon check whether the running process
is the same executable image as /usr/sbin/squid. But it's no
no longer the same after an upgrade, so start-stop-daemon fails.

Simply verifying the name of the executable works correctly:

start-stop-daemon --stop --quiet --pidfile $PIDFILE --name squid

-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.15-1-amd64-k8
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)


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

Reply via email to