Bug 205097 - mail-filter/dkim-milter-2.4.2 fails to start with stale socket
|
Bug#:
205097
|
Product: Gentoo Linux
|
Version: unspecified
|
Platform: All
|
|
OS/Version: Linux
|
Status: RESOLVED
|
Severity: minor
|
Priority: P2
|
|
Resolution: FIXED
|
Assigned To: dragonheart@gentoo.org
|
Reported By: rtpsld@ntsel.com
|
|
Component: Server
|
|
|
URL:
|
|
Summary: mail-filter/dkim-milter-2.4.2 fails to start with stale socket
|
|
Keywords:
|
|
Status Whiteboard:
|
|
Opened: 2008-01-09 17:31 0000
|
After an unclean shutdown (power outage), dkim-milter fails to start with the
following log entries:
dkim-filter[6118]: Sendmail DKIM Filter: Unable to bind to port
local:/var/run/dkim-filter/dkim-filter.sock: Address already in use
dkim-filter[6118]: Sendmail DKIM Filter: Unable to create listening socket on
conn local:/var/run/dkim-filter/dkim-filter.sock
dkim-filter[6118]: smfi_opensocket() failed
Problem is solved by manually performing:
# rm /var/run/dkim-filter/dkim-filter.sock
# /etc/init.d/dkim-filter start
I didn't see any dkim-filter options to force socket creation - would it make
sense for the init script to handle this condition?
We must be sure there is no dkim-filter process that use the socket before
removing it.
Daniel, any idea? I thought at fuser, but it sucks to add psmisc to RDEPEND
just for that...
Fixed in 2.4.3.
I used fuser because psmisc is part of the system packages.
2.4.3 works for me and starts up cleanly now even with an old socket present.
Thanks for the update.