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

Bug 904493

Summary: net-misc/netifrc fails with newer dhcpcd
Product: Gentoo Linux Reporter: Dennis Gäbler <dennis>
Component: Current packagesAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Dennis Gäbler 2023-04-17 23:26:45 UTC
Recently dhcpcd was updated from 9.5 to 10.0 and netifrc failed to obtain a dhcp lease and instead returned the error: "The dhcpcd version is too old. Please upgrade."

I narrowed it down to this check https://github.com/gentoo/netifrc/blob/master/net/dhcpcd.sh#L34

case "$(dhcpcd --version | head -n 1)" in
	"dhcpcd "[123]\.*)
		eerror 'The dhcpcd version is too old. Please upgrade.'
		return 1
		;;
esac

This obviously also flags versions starting from 10 as too old.
Comment 1 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2023-04-17 23:27:30 UTC

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