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

James Page james.page at ubuntu.com
Tue May 22 17:56:37 UTC 2012


Uploaded to precise-proposed ready for SRU team review.

** Summary changed:

- amavis start-stop script fails to stop amavisd
+ [SRU] amavis start-stop script fails to stop amavisd

** Description changed:

- On Ubuntu 12.04 Precise Pangolin using amavisd-new 2.6.5-0ubuntu3 the
- amavis start-stop script fails to stop the daemon.
+ [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
+ Stopping amavisd: (not running).
+ Starting amavisd: The amavisd daemon is already running, PID: [{xxx}] (failed).
+ 
+ [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