[Pkg-clamav-devel] Bug#533397: init script fails if daemon already running

martin f krafft madduck at debian.org
Wed Jun 17 07:10:12 UTC 2009


Package: clamav-milter
Version: 0.95.2+dfsg-0volatile1~~madduck+3
Severity: serious

If the daemon is already running, the init script fails, possibly
disturbing dpkg:

Setting up clamav-milter (0.95.2+dfsg-0volatile1~bpo50~madduck+3) ...
/usr/sbin/clamav-milter already running failed!
invoke-rc.d: initscript clamav-milter, action "start" failed.
dpkg: error processing clamav-milter (--configure):
 subprocess post-installation script returned error exit status 1
Errors were encountered while processing:
 clamav-milter
E: Sub-process /usr/bin/dpkg returned an error code (1)

As per policy 9.3.2., this should be changed to a no-op if the
daemon is already running.

I am offline right now, but could send a patch if you wanted. On the
other hand, it's trivial…

-- System Information:
Debian Release: squeeze/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'stable'), (1, 'experimental')
Architecture: i386 (i686)

Kernel: Linux 2.6.30-rc8-686 (SMP w/1 CPU core)
Locale: LANG=en_GB, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash


-- 
 .''`.   martin f. krafft <madduck at d.o>      Related projects:
: :'  :  proud Debian developer               http://debiansystem.info
`. `'`   http://people.debian.org/~madduck    http://vcs-pkg.org
  `-  Debian - when you have better things to do than fixing systems
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: Digital signature (see http://martin-krafft.net/gpg/)
URL: <http://lists.alioth.debian.org/pipermail/pkg-clamav-devel/attachments/20090617/6fb594ac/attachment.pgp>


More information about the Pkg-clamav-devel mailing list