Bug 997863 - Fail2Ban resets hosts.deny to 0600 permissions on start-up.
Summary: Fail2Ban resets hosts.deny to 0600 permissions on start-up.
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: fail2ban
Version: 19
Hardware: noarch
OS: Linux
unspecified
high
Target Milestone: ---
Assignee: Axel Thimm
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-08-16 10:10 UTC by Gary Myers
Modified: 2013-08-27 23:23 UTC (History)
4 users (show)

Fixed In Version: fail2ban-0.8.10-2.fc19
Clone Of:
Environment:
Last Closed: 2013-08-27 23:23:51 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Novell 820578 0 None None None Never

Description Gary Myers 2013-08-16 10:10:09 UTC
Description of problem:

Fail2Ban resets the permissions of /etc/hosts.deny to 0600 upon start-up. This causes hosts-dependant services to fail (e.g. NIS). The same issue has been identified in OpenSuSE and escalated upstream: https://github.com/fail2ban/fail2ban/issues/266

Version-Release number of selected component (if applicable):

fail2ban-0.8.10-1.fc19.noarch


Steps to Reproduce:
1. Each time the daemon is started/re-started.

Actual results:

/etc/hosts.deny reset to 0600 permissions.


Expected results:

/etc/hosts.deny to remain with 0644 permissions.


Additional info:

Please can you follow-up with upstream to pull-in the fix and place RPM in testing?

Comment 1 Fedora Update System 2013-08-16 15:23:24 UTC
fail2ban-0.8.10-2.fc19 has been submitted as an update for Fedora 19.
https://admin.fedoraproject.org/updates/fail2ban-0.8.10-2.fc19

Comment 2 Fedora Update System 2013-08-16 22:58:10 UTC
Package fail2ban-0.8.10-2.fc19:
* should fix your issue,
* was pushed to the Fedora 19 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing fail2ban-0.8.10-2.fc19'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2013-14868/fail2ban-0.8.10-2.fc19
then log in and leave karma (feedback).

Comment 3 Gary Myers 2013-08-19 09:08:15 UTC
Updated to fail2ban-0.8.10-2.fc19. Initial testing appears OK. Daemon can be started/stopped/re-started without affecting the permissions of /etc/hosts.deny. I will continue to monitor over the next few days.

Unable to leave karma as I am not registered on that site, but thank you for your quick response. It is handy to have a fully functional IDS again.

Comment 4 Fedora Update System 2013-08-27 23:23:51 UTC
fail2ban-0.8.10-2.fc19 has been pushed to the Fedora 19 stable repository.  If problems still persist, please make note of it in this bug report.


Note You need to log in before you can comment on or make changes to this bug.