FS#32437 - [iptables] Units should support reload

Attached to Project: Arch Linux
Opened by Mantas Mikulėnas (grawity) - Sunday, 04 November 2012, 01:51 GMT
Last edited by Ronald van Haren (pressh) - Thursday, 06 December 2012, 19:31 GMT
Task Type Bug Report
Category Packages: Core
Status Closed
Assigned To Ronald van Haren (pressh)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 2
Private No

Details

With systemd 195, Type=oneshot units can be reloaded. This allows new rules files to be applied atomically. (Full restart first flushes old rules, then loads new ones.)

The iptables.service and ip6tables.service units should have ExecReload= lines identical to the current ExecStart= ones:

[Service]
Type=oneshot
ExecStart=/usr/sbin/iptables-restore /etc/iptables/iptables.rules
ExecReload=/usr/sbin/iptables-restore /etc/iptables/iptables.rules
(snip)
This task depends upon

Closed by  Ronald van Haren (pressh)
Thursday, 06 December 2012, 19:31 GMT
Reason for closing:  Implemented
Additional comments about closing:  1.4.16.3

Loading...