Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 281197 - mail-filter/milter-regex init script should remove stale socket in case of unclean shutdown
Summary: mail-filter/milter-regex init script should remove stale socket in case of un...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal
Assignee: Alin Năstac (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-08-12 11:17 UTC by Thomas Beutin
Modified: 2009-08-19 20:34 UTC (History)
1 user (show)

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 Thomas Beutin 2009-08-12 11:17:10 UTC
while restarting a server after crash mail-filter/milter-regex refuses to start because of the existing but stale socket /var/run/milter-regex/milter-regex.sock
IMHO the init script /etc/init.d/milter-regex should take care of this problem

Reproducible: Always

Steps to Reproduce:
while running mail-filter/milter-regex crash the machine ;)
or:
kill -9 $(ps axfw | grep '/usr/bin/milter-regex ' | grep -v ' grep ' | awk '{ print $1; }')
Actual Results:  
marduk ~ # /etc/init.d/milter-regex restart
 * Starting milter-regex ...                                       [ !! ]
marduk ~ #

Expected Results:  
init script should remove the socket if exists and then start milter-regex
Comment 1 Alin Năstac (RETIRED) gentoo-dev 2009-08-19 20:34:02 UTC
Fixed in -r1, thanks!

Btw, if you are happy with this packet, you should open a stabilization bug for the arch on which you are using it.