Note: This is a beta release of Red Hat Bugzilla 5.0. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Also email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback here.
Bug 234582 - dhcp time-out when no signal on cable
Summary: dhcp time-out when no signal on cable
Status: CLOSED DUPLICATE of bug 234764
Alias: None
Product: Fedora
Classification: Fedora
Component: initscripts
Version: rawhide
Hardware: i386
OS: Linux
Target Milestone: ---
Assignee: Bill Nottingham
QA Contact: Brock Organ
Depends On:
TreeView+ depends on / blocked
Reported: 2007-03-30 10:04 UTC by Taco Witte
Modified: 2014-03-17 03:06 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Last Closed: 2007-04-12 18:53:40 UTC

Attachments (Terms of Use)

Description Taco Witte 2007-03-30 10:04:57 UTC
Description of problem:
After installing a second NIC, DHCP is run on startup when there's no signal on
the cable. This adds 20 seconds or so to boot time.

Version-Release number of selected component (if applicable):
Fedora 7 test 3, updated as of March 30

Expected result:
The DHCP daemon should see that there's no signal on the cable and terminate

Comment 1 David Cantrell 2007-04-05 17:38:10 UTC
This is happening because of something in initscripts.  The settings in
/etc/sysconfig/network-scripts/ifcfg-* are being ignored for some reason and the
network service is running DHCP for everything.

Reassigning.  See also bug #234764.

Comment 2 Bill Nottingham 2007-04-06 03:26:11 UTC
What's your ifcfg file?

Comment 3 Taco Witte 2007-04-11 11:34:13 UTC
There's a chance that this bug doesn't exist after all. The (secondary, eth1)
NIC on which this error occurred is dead now, so maybe it was dying back then.
Sorry for the wasted time in that case.

If there's a problem, it's probably this: running "dhclient eth0" by hand waits
forever when there's no signal, while running DHCP through Network Confguration
and /etc/init.d/networking correctly terminates with the message that there's no
signal on the cable.

I don't have the original configuration files anymore alas.

Comment 4 Bill Nottingham 2007-04-11 19:41:22 UTC
dhclient doesn't do a link check, so it may wait forever (modulo whatever normal
dhcp timeouts it has). The ifup script that calls dhclient is what has the link

However, this particular issue (networking going strange on first bootup) has
been reported enough that it's obviously a real issue.

Comment 5 Bill Nottingham 2007-04-12 18:53:40 UTC

*** This bug has been marked as a duplicate of 234764 ***

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