Summary: | net-analyzer/fail2ban-0.8.6 violates Date-Mailheader standards when using sendmail*-actions and having set non-english locale | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Jan Kohnert <bughunter> |
Component: | Current packages | Assignee: | Gentoo Netmon project <netmon> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | bughunter, office |
Priority: | Normal | Keywords: | UPSTREAM |
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
See Also: | https://github.com/fail2ban/fail2ban/issues/70 | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | 469950 | ||
Bug Blocks: | |||
Attachments: | Patch to fix bug |
Description
Jan Kohnert
2012-06-10 11:39:06 UTC
Created attachment 314863 [details, diff]
Patch to fix bug
Please comment the output of `emerge -pv net-analyzer/fail2ban` Sorry, forgotten input, but there it goes: b079 ~ # emerge -pv fail2ban These are the packages that would be merged, in order: Calculating dependencies... done! [ebuild R ] net-analyzer/fail2ban-0.8.6 USE="(-selinux)" 0 kB Total: 1 package (1 reinstall), Size of downloads: 0 kB b079 ~ # I can confirm this bug for LC_TIME=de_DE.UTF-8 locale. I fixed it by switching from sendmail-whois to mail-whois action. The latter does not set the date header manually. Shouldn't the patch set LC_TIME variable instead of LANG? Upstream bug report: https://github.com/fail2ban/fail2ban/issues/70 *** Bug 437646 has been marked as a duplicate of this bug. *** Fixed in 0.8.9. * [945ad3d9] Fix dates on email actions to work in different locals. Closes gh-70. Thanks to iGeorgeX for the idea. |