Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 58727 - mail-filter/amavisd-new-20040701 : wrong pid path in /etc/init.d/amavisd
Summary: mail-filter/amavisd-new-20040701 : wrong pid path in /etc/init.d/amavisd
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All All
: High normal (vote)
Assignee: Cory Visi (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-07-29 00:42 UTC by Mike Nerone
Modified: 2004-07-29 04:51 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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!