Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 487102 - net-misc/dhcpcd-6.1.0 waits forever for carrier (eth0) when no cable is attached
Summary: net-misc/dhcpcd-6.1.0 waits forever for carrier (eth0) when no cable is attached
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: William Hubbs
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-10-06 13:31 UTC by Small_Penguin
Modified: 2014-01-04 23:12 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Small_Penguin 2013-10-06 13:31:19 UTC
The summary says it all. As a result, services depending on net.eth0 won't start, boot process will not continue. I was lucky configuring my xdm to start early, so I could go back to 6.0.5 which works fine.

/etc/conf.d/net:
dhcpcd_eth0="-b -t 6"


Reproducible: Always

Steps to Reproduce:
1. Emerge dhcpcd-6.1.0
2.
 * Bringing up interface eth0
 *   Running preup ...
 *   No configuration specified; defaulting to DHCP
 *   dhcp ...
 *     Running dhcpcd ...
dhcpcd[5619]: version 6.1.0 starting
dhcpcd[5619]: eth0: waiting for carrier
3. Wait until the sun goes down.

Actual Results:  
net.eth0 waiting for carrier (forever/probably until cable is attached)

Expected Results:  
net.eth0 giving up or backgrounding if no carrier detected; it should definitely *not* block the whole boot process (openrc)
Comment 1 Small_Penguin 2013-10-06 13:32:44 UTC
BTW, here is 6.0.5 (no cable attached, same config):

 * Caching service dependencies ...                                                                       [ ok ]
 * Bringing up interface eth0
 *   Running preup ...
 *   No configuration specified; defaulting to DHCP
 *   dhcp ...
 *     Running dhcpcd ...
dhcpcd[7607]: version 6.0.5 starting
dhcpcd[7607]: forked to background, child pid 7608                                                        [ ok ]
 *     received address                                                                                   [ ok ]
 *   Running postup ...
Comment 2 William Hubbs gentoo-dev 2013-10-06 15:40:02 UTC
I just saw a commit that might have taken care of this in git, can you
please test with dhcpcd-9999 and let us know if it is still an issue?
Comment 3 Small_Penguin 2013-10-06 16:24:07 UTC
I will next time I get access to the machine.
Comment 4 Roy Marples 2013-10-06 16:45:29 UTC
That's right, this commit should fix the issue:
http://roy.marples.name/cgi-bin/gitweb.cgi?p=dhcpcd.git;a=commit;h=91b167cca9b6d5be209578c58dfaf3370a208320
Comment 5 William Hubbs gentoo-dev 2014-01-04 23:12:54 UTC
This should be fixed in 6.2 which just hit the tree.