https://bugzilla.novell.com/show_bug.cgi?id=730044 https://bugzilla.novell.com/show_bug.cgi?id=730044#c0 Summary: Fail2ban doesn't start if fail2ban.sock only exists Classification: openSUSE Product: openSUSE 11.4 Version: Final Platform: All OS/Version: openSUSE 11.4 Status: NEW Severity: Normal Priority: P5 - None Component: Other AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: atihy@sunrise.ch QAContact: qa@suse.de Found By: --- Blocker: --- User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:7.0.1) Gecko/20100101 Firefox/7.0.1 If there is a /var/run/fail2ban/fail2ban.sock and no /var/run/fail2ban/fail2ban.pid, the service fail2ban doesn't start normally, but reports it started. The use of startproc to start the process is maybe breaking it, because it only seems to care for the file /var/run/fail2ban/fail2ban.pid and not the file /var/run/fail2ban/fail2ban.sock . If there is only /var/run/fail2ban/fail2ban.pid, or if there are both files, the service starts normally. Reproducible: Always Steps to Reproduce: 1. zypper in fail2ban 2. touch /var/run/fail2ban/fail2ban.sock 3. service fail2ban start 4. ps aux | grep fail2ban Actual Results: fail2ban doesn't start because of the existance of the file /var/run/fail2ban/fail2ban.sock but no /var/run/fail2ban/fail2ban.pid Expected Results: that the file /var/run/fail2ban/fail2ban.sock is deleted if there is no /var/run/fail2ban/fail2ban.pid, and starts fail2ban (because if there is no /var/run/fail2ban/fail2ban.pid we can expect the deamon is not running). Or that it forces the creation of the pid file if there is none, and starts the service. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.