[Bug 930916] Re: [SRU] amavis start-stop script fails to stop amavisd
Brian Murray
brian at ubuntu.com
Thu May 24 20:11:12 UTC 2012
** Description changed:
[Impact]
sudo service amavis restart completely fails to restart the amavis daemon.
[Development Fix]
Drop use of --name flag with start-stop-daemon as this is surplus to requirements and is the root cause of this issue. This was applied in Debian in revision 1:2.7.0-1
[Stable Fix]
Cherry pick same changes to init script from latest version.
[Test Case]
- sudo apt-get install amavisd-new
- sudo service amavis restart
+ Running the unfixed version of the package
+ 1) sudo apt-get install amavisd-new
+ 2) sudo service amavis restart
+ 3) Observe
Stopping amavisd: (not running).
Starting amavisd: The amavisd daemon is already running, PID: [{xxx}] (failed).
+
+ With the version of the package in -proposed step 2/3 should not fail.
[Regression Potential]
Minimal - very isolated change in init script which only impacts this package.
[Original Bug Report]
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
--
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to amavisd-new in Ubuntu.
https://bugs.launchpad.net/bugs/930916
Title:
[SRU] amavis start-stop script fails to stop amavisd
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/amavisd-new/+bug/930916/+subscriptions
More information about the Ubuntu-server-bugs
mailing list