Bug 1324113 - fail2ban: fail2ban-server requires both Python 2 and Python 3
Summary: fail2ban: fail2ban-server requires both Python 2 and Python 3
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: fail2ban
Version: 25
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Orion Poplawski
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: PYTHON3
TreeView+ depends on / blocked
 
Reported: 2016-04-05 14:32 UTC by Tomas Orsava
Modified: 2016-08-29 18:55 UTC (History)
5 users (show)

Fixed In Version: fail2ban-0.9.4-5.fc24
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-08-29 18:55:28 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Tomas Orsava 2016-04-05 14:32:44 UTC
The fail2ban-server RPM requires both Python 2 and Python 3.

Except in very special circumstances, there is no need for one package
to drag in both Python stacks. Usually, this is a packaging error: for
example, a stray "/usr/bin/python" shebang in a Python 3 package can
introduce a Python 2 dependency.


Here's grep for the shebang in the sources:
bin/fail2ban-client:#!/usr/bin/python
bin/fail2ban-regex:#!/usr/bin/python
bin/fail2ban-server:#!/usr/bin/python
bin/fail2ban-testcases:#!/usr/bin/python
config/filter.d/ignorecommands/apache-fakegooglebot:#!/usr/bin/python
fail2ban/client/fail2banregex.py:#!/usr/bin/python
fail2ban/tests/files/config/apache-auth/digest.py:#!/usr/bin/python
fail2ban/tests/files/ignorecommand.py:#!/usr/bin/python

Please remove or replace the shebangs.


It's ok to do this in Rawhide only, however, it would be greatly
appreciated if you could push it to Fedora 24 as well.


If anything is unclear, or if you need any kind of assistance, you can
ask on IRC (#fedora-python on Freenode), or reply here. We'll be happy
to help investigating or fixing this issue!

Comment 1 Fedora Update System 2016-04-05 15:48:02 UTC
fail2ban-0.9.4-5.fc24 has been submitted as an update to Fedora 24. https://bodhi.fedoraproject.org/updates/FEDORA-2016-478f5063bc

Comment 2 Fedora Update System 2016-04-05 15:48:12 UTC
fail2ban-0.9.4-5.fc24 has been submitted as an update to Fedora 24. https://bodhi.fedoraproject.org/updates/FEDORA-2016-478f5063bc

Comment 3 Fedora Update System 2016-04-06 17:54:30 UTC
fail2ban-0.9.4-5.fc24 has been pushed to the Fedora 24 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2016-478f5063bc

Comment 4 Jan Kurik 2016-07-26 04:51:48 UTC
This bug appears to have been reported against 'rawhide' during the Fedora 25 development cycle.
Changing version to '25'.

Comment 5 Fedora Update System 2016-08-29 18:55:20 UTC
fail2ban-0.9.4-5.fc24 has been pushed to the Fedora 24 stable repository. If problems still persist, please make note of it in this bug report.


Note You need to log in before you can comment on or make changes to this bug.