see
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=468382
apply patch provided and please verify that it works after...

On Fri, 29 Feb 2008, Eythian wrote:

> Public bug reported:

> Binary package hint: fail2ban

> Today is the 29th of February. restartd tells me fail2ban is failing to
> start. The log says:

> 2008-02-29 16:10:00,988 ERROR: Fail2Ban got an unhandled exception and died.
> 2008-02-29 16:10:00,989 ERROR: Type: 'ValueError'
> Value: ('day is out of range for month',)
> TB: [('/usr/bin/fail2ban', 47, '?', 'fail2ban.main()'), 
> ('/usr/share/fail2ban/fail2ban.py', 519, 'main', 'e = 
> element[1].getFailures()'), ('/usr/share/fail2ban/logreader/logreader.py', 
> 143, 'getFailures', 'for element in self.findFailure(line):'), 
> ('/usr/share/fail2ban/logreader/logreader.py', 174, 'findFailure', 'date = 
> self.getUnixTime(timeMatch.group())'), 
> ('/usr/share/fail2ban/logreader/logreader.py', 213, 'getUnixTime', 'date = 
> list(time.strptime(value, self.timepattern))'), 
> ('/usr/lib/python2.4/_strptime.py', 425, 'strptime', 'julian = 
> datetime_date(year, month, day).toordinal() - \\')]

> and isn't actually starting the process.

> This is in dapper, and not something I think will come up a whole lot,
> but perhaps should be fixed upstream if it isn't already as it does have
> some security implications.

> ** Affects: fail2ban (Ubuntu)
>      Importance: Undecided
>          Status: New
-- 
Yaroslav Halchenko
Research Assistant, Psychology Department, Rutgers-Newark
Student  Ph.D. @ CS Dept. NJIT
Office: (973) 353-5440x263 | FWD: 82823 | Fax: (973) 353-1171
        101 Warren Str, Smith Hall, Rm 4-105, Newark NJ 07102
WWW:     http://www.linkedin.com/in/yarik

-- 
fail2ban doesn't handle leap years
https://bugs.launchpad.net/bugs/196854
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to