fail2ban in precise defaults to gamin, does not work
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
fail2ban (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned | ||
Precise |
Won't Fix
|
Undecided
|
Unassigned |
Bug Description
== Relevant config =======
/etc/fail2ban/
# "backend" specifies the backend used to get files modification. Available
# options are "gamin", "polling" and "auto".
# yoh: For some reason Debian shipped python-gamin didn't work as expected
# This issue left ToDo, so polling is default backend for now
#backend = auto
backend = polling
== InstallationMedia =======
Ubuntu-Server 12.04 LTS "Precise Pangolin" - Alpha amd64 (20120312)
== Package =======
fail2ban 0.8.6-3
== Issue =======
# date
Tue Mar 13 21:58:18 CET 2012
Polling works:
# grep ^backend /etc/fail2ban/
backend = polling
# /etc/init.
* Restarting authentication failure monitor fail2ban [ OK ]
# tail /var/log/
2012-03-13 21:58:26,145 fail2ban.actions: WARNING [ssh] Ban 217.21.x.x
Gamin, doesn't work:
# grep ^backend /etc/fail2ban/
backend = auto
# /etc/init.
* Restarting authentication failure monitor fail2ban [ OK ]
# tail /var/log/
2012-03-13 21:59:30,885 fail2ban.jail : INFO Jail 'ssh' started
# grep ' uses ' /var/log/
2012-03-13 21:59:30,797 fail2ban.jail : INFO Jail 'ssh' uses Gamin
The comment in jail.conf about Gamin that "doesn't work", still seems
to be true.
This issue doesn't only occur after restarting. Gamin didn't work in
the first place -- which caused me to look into it.
Regards,
Walter Doekes
Status changed to 'Confirmed' because the bug affects multiple users.