aboutsummaryrefslogtreecommitdiffstats
path: root/network-scripts/ifup-eth
diff options
context:
space:
mode:
authorDavid Kaspar [Dee'Kej] <dkaspar@redhat.com>2018-06-06 19:19:11 +0200
committerDee'Kej <deekej@linuxmail.org>2018-06-07 14:04:50 +0200
commit12a83d3ef4244d354cba541ce8d3f0ded9773c89 (patch)
tree235507ca7727676a55b8eb3c3e3936bacac67d77 /network-scripts/ifup-eth
parent8659ca9ef9c1b0826799ea8da217c886ff0c26b5 (diff)
downloadinitscripts-12a83d3ef4244d354cba541ce8d3f0ded9773c89.tar
initscripts-12a83d3ef4244d354cba541ce8d3f0ded9773c89.tar.gz
initscripts-12a83d3ef4244d354cba541ce8d3f0ded9773c89.tar.bz2
initscripts-12a83d3ef4244d354cba541ce8d3f0ded9773c89.tar.xz
initscripts-12a83d3ef4244d354cba541ce8d3f0ded9773c89.zip
network-scripts: setting of firewall ZONE fixed
For currently unknown reason the dbus-send calls will fail to set the firewall zone for the given interface if we omit the --print-reply option... This looks like some kind of race-condition in dbus-send, since the --print-reply makes the call synchronous and slower. Hopefully this is only a temporary workaround until DBus is fixed. Resolves: #1586284
Diffstat (limited to 'network-scripts/ifup-eth')
-rwxr-xr-xnetwork-scripts/ifup-eth3
1 files changed, 2 insertions, 1 deletions
diff --git a/network-scripts/ifup-eth b/network-scripts/ifup-eth
index a0988edb..932635d4 100755
--- a/network-scripts/ifup-eth
+++ b/network-scripts/ifup-eth
@@ -339,7 +339,8 @@ fi
/etc/sysconfig/network-scripts/ifup-ipv6 ${CONFIG}
if is_true "${DHCPV6C}" && [ -x /sbin/dhclient ]; then
- # Assign interface into a firewalld zone so we can obtain the IPv6 via DHCPv6:
+ # Assign interface into a firewalld zone so we can
+ # obtain the IPv6 via DHCPv6 (empty ZONE means default):
if [ "${REALDEVICE}" != "lo" ]; then
dbus-send --print-reply --system --dest=org.fedoraproject.FirewallD1 \
/org/fedoraproject/FirewallD1 \