| Summary: | net-analyzer/fail2ban-0.8.0-r1 failed to start old /tmp/fail2ban.sock | ||
|---|---|---|---|
| Product: | Gentoo Linux | Reporter: | oxymoron <tryer> |
| Component: | Current packages | Assignee: | Gentoo Netmon project <netmon> |
| Status: | RESOLVED DUPLICATE | ||
| Severity: | trivial | CC: | phajdan.jr |
| Priority: | High | ||
| Version: | unspecified | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
|
Description
oxymoron
2007-07-19 22:01:29 UTC
Actually it's quite easy to fix.
fail2ban-client man page:
-x force execution of the server (remove socket file)
So /etc/init.d/fail2ban script file should be modified like this:
Now is:
start() {
ebegin "Starting fail2ban"
${FAIL2BAN} start &> /dev/null
eend $? "Failed to start fail2ban"
}
Should be:
start() {
ebegin "Starting fail2ban"
${FAIL2BAN} -x start &> /dev/null
eend $? "Failed to start fail2ban"
}
Actually it is even simpler. Just change your /etc/conf.d/fail2ban We won't change anything, see bug 168071. This is the expected behaviour. (not a bug, but a feature ;þ ) Changing the init script is *not* the good way at all. See /etc/conf.d/fail2ban as indicated in comment #2 *** This bug has been marked as a duplicate of bug 168071 *** |