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

Bug 905893

Summary: netifrc: error: The dhcpcd version is too old. Please upgrade. (Version installed is actually the latest.)
Product: Gentoo Hosted Projects Reporter: Marius Dinu <marius+gentoo>
Component: netifrcAssignee: netifrc Team <netifrc>
Status: RESOLVED DUPLICATE    
Severity: major CC: marius+gentoo
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Marius Dinu 2023-05-07 18:27:10 UTC
After updating to dhcpcd v10, I get this error in the system log:

May  7 20:46:18 GRAPHIM daemon.warn /etc/init.d/net.wlan0[5428]: WARNING: net.wlan0 has started, but is inactive
May  7 20:46:23 GRAPHIM user.notice wpa_cli: interface wlan0 CONNECTED
May  7 20:46:23 GRAPHIM daemon.err /etc/init.d/net.wlan0[5782]: The dhcpcd version is too old. Please upgrade.
May  7 20:46:23 GRAPHIM daemon.err /etc/init.d/net.wlan0[5601]: ERROR: net.wlan0 failed to start
May  7 20:46:23 GRAPHIM user.notice wpa_cli: executing '/etc/init.d/net.wlan0 --quiet start' failed

$ dhcpcd --version
dhcpcd 10.0.1
Copyright (c) 2006-2023 Roy Marples
Compiled in features: INET ARP ARPing IPv4LL INET6 DHCPv6 AUTH

Reproducible: Always

Steps to Reproduce:
1. Update to current dhcpcd version (10+) in gentoo repo.
2. Configure a wlan connection to use dhcp: config_wlan0="dhcp" in /etc/conf.d/net
3. Try to start that connection.
Actual Results:  
No error on screen when starting the interface.
Error indicated above appears in syslog.
The interface won't get an IP and won't work.

Expected Results:  
1) This error should be displayed on screen when starting the network connection, not just in the syslog.
2) Properly detect that dhcpcd is very new (or not check at all).

Bug probably caused by transition to a double-digit major version of dhcpcd (v9 to v10).

You should probably check other gentoo components for bugs in version-checking logic, too.

Temporary workaround if busybox is installed:
config_wlan0="udhcpd"
Comment 1 Mike Gilbert gentoo-dev 2023-05-07 18:40:40 UTC
Please upgrade to >=net-misc/netifrc-0.7.4.

*** This bug has been marked as a duplicate of bug 904422 ***