Bug 57744 - net.agent blindly runs /sbin/ifup interface
net.agent blindly runs /sbin/ifup interface
Product: Red Hat Linux
Classification: Retired
Component: hotplug (Show other bugs)
All Linux
medium Severity medium
: ---
: ---
Assigned To: Bill Nottingham
Brock Organ
Depends On:
  Show dependency treegraph
Reported: 2001-12-20 12:03 EST by Gerald Britton
Modified: 2014-03-16 22:24 EDT (History)
2 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2003-02-11 09:36:35 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Gerald Britton 2001-12-20 12:03:28 EST
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
package runs
/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):

How reproducible:

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.

Additional info:

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
initscripts though.
Comment 1 Trond Eivind Glomsrxd 2002-01-14 12:32:13 EST
Need adressing... ONHOTPLUG=yes/no?
Comment 2 Bill Nottingham 2003-02-11 09:36:35 EST
You can set ONHOTPLUG=no in /etc/sysconfig/network-scripts/ifcfg-XXXX, as of

Note You need to log in before you can comment on or make changes to this bug.