Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 251791 - ifplugd malfunction after sys-apps/openrc-0.4.0 upgrade
Summary: ifplugd malfunction after sys-apps/openrc-0.4.0 upgrade
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] baselayout (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: Gentoo's Team for Core System packages
URL: http://www.marples.name/projects/open...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-12-20 20:05 UTC by cyrillic
Modified: 2008-12-26 13:42 UTC (History)
9 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 cyrillic 2008-12-20 20:05:15 UTC
ifplugd does not invoke dhcpcd during boot sequence with network cable plugged-in.
Same problem exists if I use netplug instead of ifplugd.

Reproducible: Always

Steps to Reproduce:
1. Plug-in network cable
2. Boot machine
3. Check for IP address

Actual Results:  
rc-status shows net.ethN as "inactive".
No IP address is obtained.

Expected Results:  
rc-status shows net.ethN as "started".
IP address is obtained.
(this is what happens with openrc-0.3.0)

According to /var/log/messages ifplugd does run, but it exits successfully without actually running dhcpcd.

This problem only happens during initial system startup.  If the network cable is plugged or unplugged after the machine is started, then ifplugd works as expected, and dhcpcd is invoked.
Comment 1 Michiel de Bruijne 2008-12-21 00:10:41 UTC
Same with wpa_supplicant. System doesn't get an IP-address during boot.
Comment 2 Xavier Miller (RETIRED) gentoo-dev 2008-12-22 12:20:49 UTC
Same for me. I have to restart /etc/inet.d/net.eth0 to get the network to work.
Comment 3 Doug Goldstein (RETIRED) gentoo-dev 2008-12-22 21:41:05 UTC
Daniel, I believe you were having an issue similar to this.

This is probably related to the issue with netplug as well.
Comment 4 Daniel Drake (RETIRED) gentoo-dev 2008-12-22 22:05:02 UTC
thanks, yeah, this sounds like the same thing
Comment 5 Håvard Wall 2008-12-24 13:10:52 UTC
I have to manually work around this by doing:
 sudo ifconfig eth0 down
 Unplug ethernet cable
 Replug ethernet cable

ifconfig will then correctly run dhcp
Comment 6 Rafał Mużyło 2008-12-24 14:02:34 UTC
This seems to be fixed in 0.4.1 with netplug,
so it may be also for the others.
Comment 7 Doug Goldstein (RETIRED) gentoo-dev 2008-12-24 14:27:51 UTC
This is fixed in 0.4.1, which is available in the tree.
Comment 8 Xavier Miller (RETIRED) gentoo-dev 2008-12-26 13:42:47 UTC
(In reply to comment #7)
> This is fixed in 0.4.1, which is available in the tree.
> 

Yes, thank you, it works fine on my config!

Best wishes,
Xavier Miller.