[Bug 930916] Re: amavis start-stop script fails to stop amavisd

Daniel Holbach daniel.holbach at ubuntu.com
Mon Mar 5 10:16:38 UTC 2012


What I found was the following:

daniel at daydream:~$ diff -ruN amavisd-new-2.{6.5,7.0}/debian/amavisd-new.init 
--- amavisd-new-2.6.5/debian/amavisd-new.init	2012-03-05 11:15:35.000000000 +0100
+++ amavisd-new-2.7.0/debian/amavisd-new.init	2012-03-05 11:15:43.000000000 +0100
@@ -41,8 +41,8 @@
 
 set -e
 
-START="--start --quiet --pidfile $PIDFILE --name ${DAEMONNAME} --startas ${DAEMON}"
-STOP="--stop --quiet --pidfile $PIDFILE --name ${DAEMONNAME}"
+START="--start --quiet --pidfile $PIDFILE --startas ${DAEMON}"
+STOP="--stop --quiet --pidfile $PIDFILE"
 PARAMS=
 
 check_noncompatible_upgrade() {
daniel at daydream:~$

-- 
You received this bug notification because you are a member of Ubuntu
Sponsors Team, which is subscribed to the bug report.
https://bugs.launchpad.net/bugs/930916

Title:
  amavis start-stop script fails to stop amavisd

Status in “amavisd-new” package in Ubuntu:
  Confirmed
Status in “amavisd-new” package in Debian:
  Fix Released

Bug description:
  On Ubuntu 12.04 Precise Pangolin using amavisd-new 2.6.5-0ubuntu3 the
  amavis start-stop script fails to stop the daemon.

  What occurs is the following:
  sudo service amavis restart
  Stopping amavisd: (not running).
  Starting amavisd: The amavisd daemon is already running, PID: [{xxx}] (failed).

  The installer script for amavisd-new has some errors as well probably
  related(?).

  Apparently this behavior has been reported for Debian:
  http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=652026 and fixed in package version 2.7.0-1

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/amavisd-new/+bug/930916/+subscriptions



More information about the Ubuntu-sponsors mailing list