Hi Marco,

> But, it seems, that it cannot match, since the format string %d always
> has 2 characters. In my example it therefore expects 'May 08' instead
> of 'May  8'.
no -- %d should match up to two numbers I believe and my auth.log
also has May  8 12:20:03 and everything works smooth, so indeed you must
be experiencing locale issue.

questions:

1. did you export LC_ALL in default/fail2ban?
2. did you try "LANG=C start-stop-daemon" or "LC_ALL=C start-stop-daemon"?

On Mon, 08 May 2006, Marco Herrn wrote:

> Package: fail2ban
> Version: 0.6.1-1
> Followup-For: Bug #363391


> The workaround doesn't seem to work on my box. Neither putting LC_ALL
> to /etc/default/fail2ban, nor including it directly in the rc script.
> In all cases the error persists:

> 2006-05-08 14:17:02,181 ERROR: time data did not match format: data=May  8 
> 14:17:01  fmt=%b %d %H:%M:%S
> 2006-05-08 14:17:02,183 ERROR: Please check the format and your locale 
> settings.

> But, it seems, that it cannot match, since the format string %d always
> has 2 characters. In my example it therefore expects 'May 08' instead
> of 'May  8'.
-- 
                                  .-.
=------------------------------   /v\  ----------------------------=
Keep in touch                    // \\     (yoh@|www.)onerussian.com
Yaroslav Halchenko              /(   )\               ICQ#: 60653192
                   Linux User    ^^-^^    [175555]


Attachment: pgpVO0IJq8FXk.pgp
Description: PGP signature

Reply via email to