Red Hat Bugzilla – Bug 57744
net.agent blindly runs /sbin/ifup interface
Last modified: 2014-03-16 22:24:52 EDT
From Bugzilla Helper:
User-Agent: Mozilla/4.76 [en] (X11; U; Linux 2.4.11-pre3 i686)
Description of problem:
The kernel runs /sbin/hotplug on netdevice (de)registration. The hotplug
/etc/hotplug/net.agent which blindly runs /sbin/ifup on the interface
causing the network to
go active unexpectly when modules are loaded.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. /sbin/ifdown eth0
2. /sbin/modprobe -r eth0
3. /sbin/ifconfig eth0 (or.. /sbin/ifdown eth0)
Actual Results: Network is brought active by /sbin/ifup eth0
Expected Results: Network should have remained unchainged.
This bug may be best fixed with a combination of changes to
the hotplug package and to the initscripts package (and perhaps others).
It could perhaps provide a separate hotplug config flag in addition to the
flag. There are a lot of cases where the hotplug would be interacting with
Need adressing... ONHOTPLUG=yes/no?
You can set ONHOTPLUG=no in /etc/sysconfig/network-scripts/ifcfg-XXXX, as of