[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 <atihy@sunrise.ch> changed: What |Removed |Added ---------------------------------------------------------------------------- Version|Final |Factory -- 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 <atihy@sunrise.ch> changed: What |Removed |Added ---------------------------------------------------------------------------- Version|Factory |Final -- 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#c1 --- Comment #1 from Arnaud Tihy <atihy@sunrise.ch> 2011-11-13 01:42:52 UTC --- There is a bug equivalent reported for 11.2 Final: https://bugzilla.novell.com/show_bug.cgi?id=537239 And someone else reported in this bug report he found it also on 11.4. -- 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 <atihy@sunrise.ch> changed: What |Removed |Added ---------------------------------------------------------------------------- Component|Other |Network -- 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#c2 --- Comment #2 from Arnaud Tihy <atihy@sunrise.ch> 2011-11-13 14:57:43 UTC --- Correction: if there are both files in /var/run/fail2ban, the service also doesn't start normally. -- 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 zj jia <zjjia@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |zjjia@suse.com AssignedTo|bnc-team-screening@forge.pr |coolo@suse.com |ovo.novell.com | -- 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#c3 Stephan Kulow <coolo@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |NEEDINFO InfoProvider| |lchiquitto@suse.com --- Comment #3 from Stephan Kulow <coolo@suse.com> 2011-11-15 13:40:41 CET --- Leonardo, you're the only one who touched this tool for real - I would drop it. -- 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#c4 Leonardo Chiquitto <lchiquitto@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Priority|P5 - None |P3 - Medium Status|NEEDINFO |ASSIGNED CC| |lchiquitto@suse.com InfoProvider|lchiquitto@suse.com | AssignedTo|coolo@suse.com |lchiquitto@suse.com --- Comment #4 from Leonardo Chiquitto <lchiquitto@suse.com> 2011-11-18 22:08:19 UTC --- Apparently there's interest for this software upstream again. I'll update the package on Factory and submit a fix for this bug. -- 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#c5 Leonardo Chiquitto <lchiquitto@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |NEEDINFO InfoProvider| |maintenance@opensuse.org --- Comment #5 from Leonardo Chiquitto <lchiquitto@suse.com> 2011-11-18 22:23:15 UTC --- Submitted to security/fail2ban devel project (request id 92454). Maintenance Team, please, can we release an update for fail2ban to fix this bug? -- 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#c6 --- Comment #6 from Bernhard Wiedemann <bwiedemann@suse.com> 2011-11-23 18:00:17 CET --- This is an autogenerated message for OBS integration: This bug (730044) was mentioned in https://build.opensuse.org/request/show/93348 Factory / fail2ban -- 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#c7 Benjamin Brunner <bbrunner@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |ASSIGNED InfoProvider|maintenance@opensuse.org | --- Comment #7 from Benjamin Brunner <bbrunner@suse.com> 2011-11-24 15:17:38 CET --- Leonardo, sorry for the late reply. I'll start an update for 11.4. If we need the fix for 12.1 too, please submit it to openSUSE:12.1:Update:Test too. -- 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#c8 Swamp Workflow Management <swamp@suse.de> changed: What |Removed |Added ---------------------------------------------------------------------------- Status Whiteboard| |maint:running:44338:low --- Comment #8 from Swamp Workflow Management <swamp@suse.de> 2011-11-24 14:19:29 UTC --- The SWAMPID for this issue is 44338. This issue was rated as low. Please submit fixed packages until 2011-12-22. Also create a patchinfo file using this link: https://swamp.suse.de/webswamp/wf/44338 -- 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#c9 --- Comment #9 from Leonardo Chiquitto <lchiquitto@suse.com> 2011-11-25 14:34:55 UTC --- Fix submitted to openSUSE:11.4:Update:Test (request id 93665) and openSUSE:12.1:Update:Test (request id 93664). -- 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#c10 --- Comment #10 from Bernhard Wiedemann <bwiedemann@suse.com> 2011-11-25 16:00:22 CET --- This is an autogenerated message for OBS integration: This bug (730044) was mentioned in https://build.opensuse.org/request/show/93663 11.4 / fail2ban https://build.opensuse.org/request/show/93664 12.1 / fail2ban https://build.opensuse.org/request/show/93665 11.4 / fail2ban -- 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#c11 Leonardo Chiquitto <lchiquitto@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution| |FIXED --- Comment #11 from Leonardo Chiquitto <lchiquitto@suse.com> 2011-11-30 11:13:10 UTC --- Fixed on Factory and 12.1. The update for 11.4 should be released soon. -- 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#c12 Swamp Workflow Management <swamp@suse.de> changed: What |Removed |Added ---------------------------------------------------------------------------- Status Whiteboard|maint:running:44338:low |maint:running:44338:low | |maint:released:11.4:44357 --- Comment #12 from Swamp Workflow Management <swamp@suse.de> 2011-12-13 17:15:12 UTC --- Update released for: fail2ban Products: openSUSE 11.4 (i586) -- 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 Swamp Workflow Management <swamp@suse.de> changed: What |Removed |Added ---------------------------------------------------------------------------- Status Whiteboard|maint:running:44338:low |. |maint:released:11.4:44357 | -- 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#c13 --- Comment #13 from Arnaud Tihy <atihy@sunrise.ch> 2011-12-17 18:09:27 UTC --- Thanks, I installed the update and now fail2ban can start normally. -- 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.
participants (1)
-
bugzilla_noreply@novell.com