summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJason A. Donenfeld <zx2c4@gentoo.org>2018-02-21 16:05:11 +0100
committerJason A. Donenfeld <zx2c4@gentoo.org>2018-02-21 16:06:15 +0100
commit1dbbd48205516f3d2e14dad349c06f23b182de40 (patch)
tree99d4be324d4d295de9f409e830fb66941cf7dc7a /net-firewall/iptables
parentnet-dns/coredns: Version bump to 1.0.5 (diff)
downloadgentoo-1dbbd48205516f3d2e14dad349c06f23b182de40.tar.gz
gentoo-1dbbd48205516f3d2e14dad349c06f23b182de40.tar.bz2
gentoo-1dbbd48205516f3d2e14dad349c06f23b182de40.zip
net-firewall/iptables: pass -w to ip*tables-restore in systemd units
Otherwise one restore rule will prevent the other from working, and nothing will get restored. Package-Manager: Portage-2.3.24, Repoman-2.3.6
Diffstat (limited to 'net-firewall/iptables')
-rw-r--r--net-firewall/iptables/files/systemd/ip6tables-restore.service2
-rw-r--r--net-firewall/iptables/files/systemd/iptables-restore.service2
-rw-r--r--net-firewall/iptables/iptables-1.4.21-r5.ebuild (renamed from net-firewall/iptables/iptables-1.4.21-r4.ebuild)2
-rw-r--r--net-firewall/iptables/iptables-1.6.1-r3.ebuild (renamed from net-firewall/iptables/iptables-1.6.1-r2.ebuild)0
-rw-r--r--net-firewall/iptables/iptables-1.6.2-r1.ebuild (renamed from net-firewall/iptables/iptables-1.6.2.ebuild)0
5 files changed, 3 insertions, 3 deletions
diff --git a/net-firewall/iptables/files/systemd/ip6tables-restore.service b/net-firewall/iptables/files/systemd/ip6tables-restore.service
index c149e92ba900..921b691296d8 100644
--- a/net-firewall/iptables/files/systemd/ip6tables-restore.service
+++ b/net-firewall/iptables/files/systemd/ip6tables-restore.service
@@ -8,7 +8,7 @@ Wants=network-pre.target
[Service]
Type=oneshot
-ExecStart=/sbin/ip6tables-restore /var/lib/ip6tables/rules-save
+ExecStart=/sbin/ip6tables-restore -w -- /var/lib/ip6tables/rules-save
[Install]
WantedBy=basic.target
diff --git a/net-firewall/iptables/files/systemd/iptables-restore.service b/net-firewall/iptables/files/systemd/iptables-restore.service
index 2474ee3ec419..a9e56793548c 100644
--- a/net-firewall/iptables/files/systemd/iptables-restore.service
+++ b/net-firewall/iptables/files/systemd/iptables-restore.service
@@ -8,7 +8,7 @@ Wants=network-pre.target
[Service]
Type=oneshot
-ExecStart=/sbin/iptables-restore /var/lib/iptables/rules-save
+ExecStart=/sbin/iptables-restore -w -- /var/lib/iptables/rules-save
[Install]
WantedBy=basic.target
diff --git a/net-firewall/iptables/iptables-1.4.21-r4.ebuild b/net-firewall/iptables/iptables-1.4.21-r5.ebuild
index b873bc7ffcfa..7861dad2a4f3 100644
--- a/net-firewall/iptables/iptables-1.4.21-r4.ebuild
+++ b/net-firewall/iptables/iptables-1.4.21-r5.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2014 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI="5"
diff --git a/net-firewall/iptables/iptables-1.6.1-r2.ebuild b/net-firewall/iptables/iptables-1.6.1-r3.ebuild
index 67f06ce7ac09..67f06ce7ac09 100644
--- a/net-firewall/iptables/iptables-1.6.1-r2.ebuild
+++ b/net-firewall/iptables/iptables-1.6.1-r3.ebuild
diff --git a/net-firewall/iptables/iptables-1.6.2.ebuild b/net-firewall/iptables/iptables-1.6.2-r1.ebuild
index b6c9ab99f6ba..b6c9ab99f6ba 100644
--- a/net-firewall/iptables/iptables-1.6.2.ebuild
+++ b/net-firewall/iptables/iptables-1.6.2-r1.ebuild