Description of problem: After istallation of Fail2ban, the service doesn't start because: fail2ban-client: ERROR There is no directory /var/run/fail2ban to contain the socket file /var/run/fail2ban/fail2ban.sock. It's necessary to create the required directory manually to go on.
This issue is only for Fail2ban version 0.9.6 on EPEL7
Unfortunately the systemd version in EL7.3 does not automatically detect and create new tmpfiles.d entries. Running 'systemd-tmpfiles --create' or rebooting will create the directory'. I'll look into running that in the post install scripts.
fail2ban-0.9.6-3.el7 has been submitted as an update to Fedora EPEL 7. https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2017-79373a2a0e
fail2ban-0.9.6-3.el7 has been pushed to the Fedora EPEL 7 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2017-79373a2a0e
fail2ban-0.9.6-3.el7 has been pushed to the Fedora EPEL 7 stable repository. If problems still persist, please make note of it in this bug report.
Hi, I have fail2ban-0.9.6-3.el7 and I have this problem. # rpm -qa fail2ban fail2ban-0.9.6-3.el7.noarch -- Subject: L'unité (unit) fail2ban.service a commencé à démarrer -- Defined-By: systemd -- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel -- -- L'unité (unit) fail2ban.service a commencé à démarrer. juin 22 11:42:57 xxxxxx fail2ban-client[26924]: ERROR There is no directory /var/run/fail2ban to contain the socket file /var/run/fail2ban/fail2ban.sock. juin 22 11:42:57 xxxxxx systemd[1]: fail2ban.service: control process exited, code=exited status=255 juin 22 11:42:57 xxxxxx systemd[1]: Failed to start Fail2Ban Service. -- Subject: L'unité (unit) fail2ban.service a échoué -- Defined-By: systemd -- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel Best regards,
(In reply to poil from comment #6) > Hi, > > I have fail2ban-0.9.6-3.el7 and I have this problem. > > # rpm -qa fail2ban > fail2ban-0.9.6-3.el7.noarch > > -- Subject: L'unité (unit) fail2ban.service a commencé à démarrer > -- Defined-By: systemd > -- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel > -- > -- L'unité (unit) fail2ban.service a commencé à démarrer. > juin 22 11:42:57 xxxxxx fail2ban-client[26924]: ERROR There is no directory > /var/run/fail2ban to contain the socket file /var/run/fail2ban/fail2ban.sock. > juin 22 11:42:57 xxxxxx systemd[1]: fail2ban.service: control process > exited, code=exited status=255 > juin 22 11:42:57 xxxxxx systemd[1]: Failed to start Fail2Ban Service. > -- Subject: L'unité (unit) fail2ban.service a échoué > -- Defined-By: systemd > -- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel > > > Best regards, Errata: Not the package, I have the problem on only this server, I'm looking why ...