Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 514166 - net-misc/netctl-1.7 fails to bring up an interface with net-misc/dhcpcd-6.4.0
Summary: net-misc/netctl-1.7 fails to bring up an interface with net-misc/dhcpcd-6.4.0
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Unspecified (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Markos Chandras (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-06-21 11:38 UTC by Pavel Volkov
Modified: 2014-09-27 22:07 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 Pavel Volkov 2014-06-21 11:38:28 UTC
The PID file with dhcpcd 6.3.2 was called /run/dhcpcd-br0.pid and netctl was working.
Now with dhcpcd 6.4.0 it's /run/dhcpcd-br0-4.pid and netctl scripts fail to find it.

Reproducible: Always
Comment 1 Mike Gilbert gentoo-dev 2014-06-21 13:57:13 UTC
That's quite strange; I don't see that behavior when I run dhcpcd here.

% dhcpcd enp5s0 
dhcpcd[14363]: dhcpcd will not work correctly unless run as root
dhcpcd[14363]: open `/run/dhcpcd-enp5s0.pid': Permission denied
dhcpcd[14363]: version 6.4.0 starting

Is your bridge interface called "br0", or "bt0-4"?
Comment 2 Pavel Volkov 2014-06-21 17:04:36 UTC
Yes, it's br0 and I did not change anything besides new dhcpcd.conf ("slaac private" option added).
Going back to dhcpcd 6.3.2 fixes everything.
Comment 3 Mike Gilbert gentoo-dev 2014-06-21 17:37:27 UTC
Oh, I see. That happens when you pass the address family (-4 or -6) to dhcpcd.

% dhcpcd -4 enp5s0
dhcpcd[19716]: dhcpcd will not work correctly unless run as root
dhcpcd[19716]: open `/run/dhcpcd-enp5s0-4.pid': Permission denied
dhcpcd[19716]: version 6.4.0 starting
Comment 4 Mike Gilbert gentoo-dev 2014-06-21 17:39:34 UTC
I think this is fixed in netctl-1.8.

https://projects.archlinux.org/netctl.git/commit/?id=92e906ee327fa32ab30bffa3a2769c437456d257
Comment 5 Mike Gilbert gentoo-dev 2014-06-21 17:56:23 UTC
Please give netctl-1.8 a try.

+*netctl-1.8 (21 Jun 2014)
+
+  21 Jun 2014; Mike Gilbert <floppym@gentoo.org> +netctl-1.8.ebuild,
+  -netctl-1.3.ebuild, -netctl-1.4.ebuild, netctl-1.6.ebuild, netctl-1.7.ebuild,
+  netctl-9999.ebuild:
+  Version bump. Add blockers to ensure we have a usable version of dhcpcd, bug
+  514166. Remove old.