Bug 142697

Summary: Network link status changes provoke no further action
Product: [Fedora] Fedora Reporter: Tethys <sta040>
Component: hotplugAssignee: Bill Nottingham <notting>
Status: CLOSED NOTABUG QA Contact: Brock Organ <borgan>
Severity: medium Docs Contact:
Priority: medium    
Version: 3CC: rvokal
Target Milestone: ---   
Target Release: ---   
Hardware: i386   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2004-12-14 17:37:36 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Tethys 2004-12-13 01:04:26 UTC
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7) Gecko/20040616

Description of problem:
When plugging in a network cable, the kernel detects the new
link, but no further action is taken


Version-Release number of selected component (if applicable):
hotplug-2004_04_01-8

How reproducible:
Always

Steps to Reproduce:
1. Boot machine with network cable unplugged
2. Once booted, plug in network cable
3.
    

Actual Results:  The kernel logs the link state change:

Dec 13 00:47:04 localhost kernel: b44: eth0: Link is up at 100 Mbps,
full duplex.
Dec 13 00:47:04 localhost kernel: b44: eth0: Flow control is on for TX
and on for RX.

But that's all.


Expected Results:  It should trigger that interface to be configured
(e.g., an ifup eth0). On most machines, that would cause
dhclient to be invoked to try and get an IP address. As it
stands, if you boot without the network cable connected, you're
screwed unless you know enough to do a "service network restart"
from the command line after reconnecting the cable.


Additional info:

Logging this against hotplug as it's the closest to an appropriate
place I can think of.

Comment 1 Bill Nottingham 2004-12-14 01:40:50 UTC
You may want to try the NetworkManager package; it handles things like
this.

Comment 2 Tethys 2004-12-14 09:33:37 UTC
Not really suitable. From the README:

>It is intended only for the desktop use-case, and is not intended
>for usage on servers.

Since I'm wanting to do this on a headless box, it doesn't look like
NetworkManager is a solution to the problem.

Comment 3 Bill Nottingham 2004-12-14 17:00:52 UTC
There is also netplugd, part of net-tools.

Comment 4 Tethys 2004-12-14 17:37:36 UTC
That looks much better (even if it launches a DoS on my filesystem
by filling up /var/log/messages -- but that's a separate bug :-)
I'd still have expected this to be hotplug, rather than requiring
a separate daemon, but it works, which is all I'm bothered about
right now.

Thanks.