Bug 1317244 - RFE: integrate systemd unit with firewall.target
Summary: RFE: integrate systemd unit with firewall.target
Keywords:
Status: NEW
Alias: None
Product: Fedora
Classification: Fedora
Component: iptables
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Thomas Woerner
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On: 1317240
Blocks: 1266512
TreeView+ depends on / blocked
 
Reported: 2016-03-13 10:00 UTC by Jonathan Underwood
Modified: 2016-03-13 10:01 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed:
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Jonathan Underwood 2016-03-13 10:00:28 UTC
Description of problem:
While trying to ensure that iptables dependent components (such as fail2ban) are properly restarted on a iptables restart, and also cater for conflicts with other firewall providing services (firewalld, shorewall...) it was suggested on systemd-devel[1] that there should be a firewall.target, which firewall implementations are PartOf.

Once firewall.target is in place (BZ #1317240),this would involve adding:

1) PartOf=firewall.target to the Unit section
2) WantedBy=firewall.target to the Install section

Ideally we'd like to get this in for F24 and F25, but it may be late in the day for F24.

It would probably be a good idea to also add RefuseManualStart and RefuseManualStop to the service too to ensure that starting and stopping is done via the firewalll target to ensure other dependent components such as fail2ban are correctly (re)started. However, this final step may need changes to the firewalld gui.

[1] https://lists.freedesktop.org/archives/systemd-devel/2016-March/036021.html


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