summaryrefslogtreecommitdiff
path: root/net-firewall/firewalld/files/firewalld-2.3.1-systemd-service.patch
blob: ba74d302535a58900e4b61378f3ebe5021965c6e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
Drops the/an obsolete 'conflicts' line with old iptables services bug #833506
Removes EnvironmentFile and FIREWALLD_ARGS variable
--- a/config/firewalld.service.in
+++ b/config/firewalld.service.in
@@ -4,12 +4,10 @@ Before=network-pre.target
 Wants=network-pre.target
 After=dbus.service
 After=polkit.service
-Conflicts=iptables.service ip6tables.service ebtables.service ipset.service
 Documentation=man:firewalld(1)
 
 [Service]
-EnvironmentFile=-/etc/sysconfig/firewalld
-ExecStart=@sbindir@/firewalld --nofork --nopid $FIREWALLD_ARGS
+ExecStart=@sbindir@/firewalld --nofork --nopid
 ExecStartPost=@bindir@/firewall-cmd --state
 # don't fail ExecStartPost on RUNNING_BUT_FAILED
 SuccessExitStatus=251