Robin Roth changed bug 917818
What Removed Added
Flags needinfo?(robin.roth@kit.edu)  

Comment # 11 on bug 917818 from
Thanks for the quick response and testpackage!

With python-systemd installed and setting backend=systemd it works.

Taking the default config (backend=auto) fails.
I get:
2015-10-15 10:34:45,443 fail2ban.jail           [10150]: INFO    Creating new
jail 'sshd'
2015-10-15 10:34:45,555 fail2ban.jail           [10150]: INFO    Jail 'sshd'
uses pyinotify
2015-10-15 10:34:45,615 fail2ban.filter         [10150]: INFO    Set jail log
file encoding to UTF-8
2015-10-15 10:34:45,633 fail2ban.jail           [10150]: INFO    Initiated
'pyinotify' backend
2015-10-15 10:34:09,879 fail2ban.filter         [10006]: INFO    Added logfile
= /var/log/messages
2015-10-15 10:34:10,133 fail2ban.server         [10006]: INFO    Jail sshd is
not a JournalFilter instance

instead of

2015-10-15 10:01:20,586 fail2ban.jail           [5392]: INFO    Creating new
jail 'sshd'
2015-10-15 10:01:20,610 fail2ban.jail           [5392]: INFO    Jail 'sshd'
uses systemd
2015-10-15 10:01:20,655 fail2ban.jail           [5392]: INFO    Initiated
'systemd' backend

Setting logpath to "" doesn't help either. 


Can you get python-systemd into the official repo? If really should be a
dependency of fail2ban.


You are receiving this mail because: