[Bug 730044] New: Fail2ban doesn't start if fail2ban.sock only exists
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.
https://bugzilla.novell.com/show_bug.cgi?id=730044
https://bugzilla.novell.com/show_bug.cgi?id=730044#c
Arnaud Tihy
https://bugzilla.novell.com/show_bug.cgi?id=730044
https://bugzilla.novell.com/show_bug.cgi?id=730044#c
Arnaud Tihy
https://bugzilla.novell.com/show_bug.cgi?id=730044
https://bugzilla.novell.com/show_bug.cgi?id=730044#c1
--- Comment #1 from Arnaud Tihy
https://bugzilla.novell.com/show_bug.cgi?id=730044
https://bugzilla.novell.com/show_bug.cgi?id=730044#c
Arnaud Tihy
https://bugzilla.novell.com/show_bug.cgi?id=730044
https://bugzilla.novell.com/show_bug.cgi?id=730044#c2
--- Comment #2 from Arnaud Tihy
https://bugzilla.novell.com/show_bug.cgi?id=730044
https://bugzilla.novell.com/show_bug.cgi?id=730044#c
zj jia
https://bugzilla.novell.com/show_bug.cgi?id=730044
https://bugzilla.novell.com/show_bug.cgi?id=730044#c3
Stephan Kulow
https://bugzilla.novell.com/show_bug.cgi?id=730044
https://bugzilla.novell.com/show_bug.cgi?id=730044#c4
Leonardo Chiquitto
https://bugzilla.novell.com/show_bug.cgi?id=730044
https://bugzilla.novell.com/show_bug.cgi?id=730044#c5
Leonardo Chiquitto
https://bugzilla.novell.com/show_bug.cgi?id=730044
https://bugzilla.novell.com/show_bug.cgi?id=730044#c6
--- Comment #6 from Bernhard Wiedemann
https://bugzilla.novell.com/show_bug.cgi?id=730044
https://bugzilla.novell.com/show_bug.cgi?id=730044#c7
Benjamin Brunner
https://bugzilla.novell.com/show_bug.cgi?id=730044
https://bugzilla.novell.com/show_bug.cgi?id=730044#c8
Swamp Workflow Management
https://bugzilla.novell.com/show_bug.cgi?id=730044
https://bugzilla.novell.com/show_bug.cgi?id=730044#c9
--- Comment #9 from Leonardo Chiquitto
https://bugzilla.novell.com/show_bug.cgi?id=730044
https://bugzilla.novell.com/show_bug.cgi?id=730044#c10
--- Comment #10 from Bernhard Wiedemann
https://bugzilla.novell.com/show_bug.cgi?id=730044
https://bugzilla.novell.com/show_bug.cgi?id=730044#c11
Leonardo Chiquitto
https://bugzilla.novell.com/show_bug.cgi?id=730044
https://bugzilla.novell.com/show_bug.cgi?id=730044#c12
Swamp Workflow Management
https://bugzilla.novell.com/show_bug.cgi?id=730044
https://bugzilla.novell.com/show_bug.cgi?id=730044#c
Swamp Workflow Management
https://bugzilla.novell.com/show_bug.cgi?id=730044
https://bugzilla.novell.com/show_bug.cgi?id=730044#c13
--- Comment #13 from Arnaud Tihy
participants (1)
-
bugzilla_noreply@novell.com