Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 221097

Summary: net-misc/dhcpcd-4.0.0-beta1 doesn't work with openrc (-R flag not recognised)
Product: Gentoo Linux Reporter: Laurence Withers <l>
Component: [OLD] baselayoutAssignee: Gentoo's Team for Core System packages <base-system>
Status: RESOLVED FIXED    
Severity: normal CC: roy
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: /etc/conf.d/net

Description Laurence Withers 2008-05-09 15:33:09 UTC
I had dhcpcd-4.0.0-beta1 installed with openrc-0.2.3 . I did an etc-update and then rebooted. dhcpcd failed to run because it did not recognise the -R (don't update resolv.conf) flag.

It seems dhcpcd-4.0.0 automatically uses resolvconf if available or updates /etc/resolv.conf otherwise.

I expect this problem could be solved by removing the "nodns" option from my /etc/conf.d/net , but I cannot test that right now.
Comment 1 Laurence Withers 2008-05-09 15:33:30 UTC
Created attachment 152629 [details]
/etc/conf.d/net
Comment 2 Roy Marples 2008-05-09 17:11:18 UTC
You should emerge dhcpcd with the compat USE flag to enable command line compat with dhcpcd-3.

But that's a good point, openrc doesn't know about dhcpcd-4 command line options. I'll see about fixing that.
Comment 3 Roy Marples 2008-05-10 12:43:25 UTC
openrc-0.2.4 will work fine with any dhcpcd-4 use flag combo
Comment 4 Laurence Withers 2008-08-18 20:16:55 UTC
This should be resolved as fixed, no?