Bug 1388179 - Please remove FirewallD and Fail2Ban-FirewallD as dependency of Fail2Ban package
Summary: Please remove FirewallD and Fail2Ban-FirewallD as dependency of Fail2Ban package
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Fedora EPEL
Classification: Fedora
Component: fail2ban
Version: epel7
Hardware: x86_64
OS: Linux
unspecified
unspecified
Target Milestone: ---
Assignee: Orion Poplawski
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-10-24 16:51 UTC by Hannes
Modified: 2016-10-24 19:04 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-10-24 17:05:00 UTC
Type: Bug


Attachments (Terms of Use)

Description Hannes 2016-10-24 16:51:42 UTC
Description of problem:
Fail2Ban currently depends on FirewallD and Fail2ban-FirewallD, though it also can be used with IPTables only.
There is no way to completely get rid of FirewallD package when using Fail2Ban.

Version-Release number of selected component (if applicable):
0.9.5-3

How reproducible:
Easy

Steps to Reproduce:
1. Install Fail2ban
2. Switch to IPtables-Services
3. Try to uninstall FirewallD

Actual results:
Yum asks to also remove Fail2Ban and Fail2Ban-FirewallD because of dependencies.

Expected results:
FirewallD (and maybe also Fail2Ban-FirewallD) get removed without touchin Fail2ban itself.

Additional info:
While it makes absolute sense to have Fail2ban-FirewallD depend on FirewallD, Fail2Ban itself is perfectly usable without both of them.
Also, having the masked FirewallD residing on your system can result in unexpected behaviour with other programs (PSAD for example).
Also, updates to FirewallD can cause the masked service to be reactivated, making the system unreachable.

Comment 1 Orion Poplawski 2016-10-24 17:05:00 UTC
fail2ban is a dummy package to bring in the default configuration.  You are free to remove it.  fail2ban-server contains the actual fail2ban server.

Comment 2 Hannes 2016-10-24 19:04:45 UTC
Ok great, thank you! And sorry für the misunderstanding then...


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