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
Task Type Bug Report
Category Packages
Status Closed
Assigned To Felix Yan (felixonmars)
Daniel Wallace (gtmanfred)
Architecture All
Severity High
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 2
Private No

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
Comment by Daniel Wallace (gtmanfred) - Thursday, 30 July 2015, 15:55 GMT
I am working on packaging of the new package for both of those.
Comment by Daniel Wallace (gtmanfred) - Thursday, 30 July 2015, 16:06 GMT Comment by Gustavo Alvarez (sl1pkn07) - Sunday, 02 August 2015, 18:21 GMT
that pull has been commited
Comment by Daniel Wallace (gtmanfred) - Sunday, 02 August 2015, 20:44 GMT

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.
Comment by Daniel Wallace (gtmanfred) - Sunday, 02 August 2015, 20:48 GMT Comment by Alex (nylocx) - Tuesday, 04 August 2015, 07:58 GMT
Until this is released upstream I created a -git aur package at:
https://aur4.archlinux.org/packages/python-systemd-git/
As disabling fail2ban wasn't really an option on my server.

Loading...