Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 904493 - net-misc/netifrc fails with newer dhcpcd
Summary: net-misc/netifrc fails with newer dhcpcd
Status: RESOLVED DUPLICATE of bug 904422
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-04-17 23:26 UTC by Dennis Gäbler
Modified: 2023-04-17 23:27 UTC (History)
0 users

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 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 ***