FS#45835 - [fail2ban] Add dependency on systemd python bindings
Attached to Project:
Community Packages
Opened by Hermann Zahnweh (eigengrau) - Thursday, 30 July 2015, 07:16 GMT
Last edited by Felix Yan (felixonmars) - Thursday, 06 August 2015, 08:26 GMT
Opened by Hermann Zahnweh (eigengrau) - Thursday, 30 July 2015, 07:16 GMT
Last edited by Felix Yan (felixonmars) - Thursday, 06 August 2015, 08:26 GMT
|
Details
Description:
As of systemd 223, the systemd Python bindings are no longer shipped as part of systemd, but are being maintained at https://github.com/systemd/python-systemd instead. Currently, we don’t seem to have a package for these in extra or community. Maybe someone could package them, so that a dependency may be added to fail2ban. Without the bindings, fail2ban functionality is severely restricted, since most of the jails rely on the systemd backend. Additional info: * systemd 223-1 * fail2ban 0.9.2-1 |
This task depends upon
Closed by Felix Yan (felixonmars)
Thursday, 06 August 2015, 08:26 GMT
Reason for closing: Implemented
Additional comments about closing: 0.9.3-2
Thursday, 06 August 2015, 08:26 GMT
Reason for closing: Implemented
Additional comments about closing: 0.9.3-2
https://github.com/systemd/python-systemd/pull/2
building 'systemd/id128' extension
gcc -pthread -Wno-unused-result -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DNDEBUG -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -D_GNU_SOURCE -fPIC -fwrapv -fPIC -DPACKAGE_VERSION="230" -I/usr/include/python3.4m -c systemd/id128.c -o build/temp.linux-x86_64-3.4/systemd/id128.o
systemd/id128.c: In function ‘PyInit_id128’:
systemd/id128.c:149:29: fatal error: id128-constants.h: No such file or directory
compilation terminated.
error: command 'gcc' failed with exit status 1
This is the error that needs to be fixed, it is just mentioned in that pull request.
Still waiting for it to be fixed, or a new release of it to be tagged.
https://aur4.archlinux.org/packages/python-systemd-git/
As disabling fail2ban wasn't really an option on my server.