Package: fail2ban Version: 0.6.1-8 Severity: important I have LC_TIME=en_DK, and fail2ban immediately dies:
2006-06-11 04:35:59,401 WARNING: Verbose level is 1 2006-06-11 04:35:59,507 INFO: Fail2Ban v0.6.1 is running 2006-06-11 04:35:59,522 INFO: Enabled sections: ['ApacheAttacks', 'SSH', 'Apache'] 2006-06-11 04:36:00,285 ERROR: unknown locale: en_DK 2006-06-11 04:36:00,287 ERROR: Please check the format and your locale settings.2006-06-11 04:36:00,612 ERROR: Fail2Ban got an unhandled exception and died. 2006-06-11 04:36:00,613 ERROR: Type: 'AttributeError' Value: ('strptime',) TB: [('/usr/bin/fail2ban', 55, '?', 'fail2ban.main()'), ('/usr/share/fail2ban/fail2ban.py', 513, 'main', 'e = element[1].getFailures()'), ('/usr/share/fail2ban/logreader/logreader.py', 158, 'getFailures', 'self.lastDate = self.getTime(lastLine)'), ('/usr/share/fail2ban/logreader/logreader.py', 205, 'getTime', 'date = self.getUnixTime(timeMatch.group())'), ('/usr/share/fail2ban/logreader/logreader.py', 216, 'getUnixTime', 'date = list(time.strptime(value, self.timepattern))')]2006-06-11 04:36:00,614 WARNING: Restoring firewall rules... I don't understand why I get such an error. The en_DK locale exists: # locale -a | grep en_DK en_DK en_DK.iso88591 and works well with other programs. -- System Information: Debian Release: testing/unstable APT prefers testing APT policy: (900, 'testing'), (900, 'stable'), (200, 'unstable') Architecture: powerpc (ppc) Shell: /bin/sh linked to /bin/bash Kernel: Linux 2.6.12-20050829 Locale: LANG=POSIX, LC_CTYPE=en_US.ISO8859-1 (charmap=ISO-8859-1) Versions of packages fail2ban depends on: ii iptables 1.3.3-2 Linux kernel 2.4+ iptables adminis ii lsb-base 3.1-10 Linux Standard Base 3.1 init scrip ii python 2.3.5-5 An interactive high-level object-o fail2ban recommends no packages. -- no debconf information -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]