Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 333381 - net-misc/networkmanager-0.8.1-r3 fails to connect if net-misc/dhcpcd-5.2.7 was already started
Summary: net-misc/networkmanager-0.8.1-r3 fails to connect if net-misc/dhcpcd-5.2.7 wa...
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Unspecified (show other bugs)
Hardware: All Linux
: High major (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-08-19 05:45 UTC by denysonique
Modified: 2010-12-21 15:08 UTC (History)
0 users

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


Attachments
NetworkManager with dhcpcd running and after having killed it(dhcpcd) (NetworkManagerDHCPrunning.log,8.99 KB, text/plain)
2010-08-19 05:47 UTC, denysonique
Details

Note You need to log in before you can comment on or make changes to this bug.
Description denysonique 2010-08-19 05:45:17 UTC
NetworkManager tries to get the IP but it fails as /sbin/dhcpcd is already running(started at boot time by
        /etc/init.d/dhcpcd).
        After killing the dhcpcd process NetworkManager successfully connects using /etc/sbin/dhcpcd.
Comment 1 denysonique 2010-08-19 05:47:41 UTC
Created attachment 243533 [details]
NetworkManager with dhcpcd running and after having killed it(dhcpcd)

I have attached a log when attempting to connect with dhcpcd already started and successfully connecting after I kill the /sbin/dhcpcd process.
Comment 2 Robert Piasek (RETIRED) gentoo-dev 2010-08-23 11:51:26 UTC
you cannot have multiple different tools trying to configure your network settings.

If you're using NetworkManager, you cannot have dhcpcd running as a daemon. NetworkManager will spawn it over dbus with required options to configure your IP address.

When dhcpcd is run as standalone daemon, it tries to take over network management, rather then provide DHCP address only.

So to solve your issue, please run rc-update del dhcpcd
Comment 3 Jordan 2010-12-21 15:08:28 UTC
I am having the same problem as the OP, but I do not have dhcpcd in any of the init runlevels so running `rc-update del dhcpcd` fails, but it still starts at startup.