Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 58727

Summary: mail-filter/amavisd-new-20040701 : wrong pid path in /etc/init.d/amavisd
Product: Gentoo Linux Reporter: Mike Nerone <mike>
Component: Current packagesAssignee: Cory Visi (RETIRED) <merlin>
Status: RESOLVED FIXED    
Severity: normal    
Priority: High    
Version: 2004.0   
Hardware: All   
OS: All   
Whiteboard:
Package list:
Runtime testing required: ---

Description Mike Nerone 2004-07-29 00:42:40 UTC
amavisd home is /var/amavis, and pid file is not overridden, so it is /var/amavis/amavisd.pid. However, the stop() function in the initscript codes it as /var/run/amavis/amavisd.pid, so the "/etc/init.d/amavisd stop" fails.
Comment 1 Cory Visi (RETIRED) gentoo-dev 2004-07-29 04:51:24 UTC
I was apparently working with the wrong copy of amavisd.rc6. The sed logic is now fixed in the ebuild. Thanks for the bug report; good find!