Displaying 2 results from an estimated 2 matches for "flushlogs".
Did you mean:
flush_ops
2015 Oct 18
0
[OT] fail2ban update (epel) breaks logrotate
...t others here might have come
across this issue.
I have five CentOS 6 systems running fail2ban from EPEL, and this
package was updated in the last week from 0.9.2-1.el6 to 0.9.3-1.el6.
On all these systems, I received an error from logrotate this morning.
It appears that something has broken the flushlogs option in fail2ban-client:
[root at system ~]# cat /etc/logrotate.d/fail2ban
#
# Gentoo:
# http://sources.gentoo.org/cgi-bin/viewvc.cgi/gentoo-x86/net-analyzer/fail2ban/files/fail2ban-logrotate?view=markup
#
# Debian:
# https://github.com/fail2ban/fail2ban/blob/debian/debian/fail2ban.logrotate
#
#...
2015 Oct 18
0
[OT] fail2ban update (epel) breaks logrotate
...s issue.
>
> I have five CentOS 6 systems running fail2ban from EPEL, and this
> package was updated in the last week from 0.9.2-1.el6 to 0.9.3-1.el6.
>
> On all these systems, I received an error from logrotate this morning.
>
> [root at system ~]# /usr/bin/fail2ban-client flushlogs
> logs: rolled over
> Traceback (most recent call last):
> File "/usr/bin/fail2ban-client", line 470, in <module>
> if client.start(sys.argv):
> File "/usr/bin/fail2ban-client", line 440, in start
> return self.__processCommand(args)
> Fi...