From 37b971f5339090166e6c304534f6bfbb4b9e10b0 Mon Sep 17 00:00:00 2001 From: Michael Shigorin Date: Fri, 5 Jul 2013 22:27:14 +0400 Subject: [PATCH] net-eth: ensure single-subsystem control Setting NM_CONTROLLED is apparently not enough to disable /etc/net handling of a particular interface; thanks sem@ for noticing the fortunate error messages in logs and explaining this peculiarity to me. --- features.in/net-eth/rootfs/image-scripts.d/50-net-eth | 1 + 1 file changed, 1 insertion(+) diff --git a/features.in/net-eth/rootfs/image-scripts.d/50-net-eth b/features.in/net-eth/rootfs/image-scripts.d/50-net-eth index 714eaa02..6cff61ee 100755 --- a/features.in/net-eth/rootfs/image-scripts.d/50-net-eth +++ b/features.in/net-eth/rootfs/image-scripts.d/50-net-eth @@ -37,6 +37,7 @@ write_iface() { echo "DISABLED=no" echo "BOOTPROTO=$proto" echo "NM_CONTROLLED=$NMCTL" + echo "DISABLED=$NMCTL" echo "USE_IFPLUGD=yes" } > "$dir/options" }