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

Bug 904438

Summary: net-misc/netifrc: Version check of dhcpcd does not work
Product: Gentoo Linux Reporter: nilburn <nilburn+gentoo-bugs>
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: ---
Attachments: Version check of dhcpcd does not work

Description nilburn 2023-04-17 08:08:31 UTC
When the version of dhcpcd is increased to 10.0.0, the version check performed in net/dhcpcd.sh does not work.

This happens because the version number is matched as a string instead of being compared numerically.

Reproducible: Always

Actual Results:  
'The dhcpcd version is too old. Please upgrade.' is displayed and an error occurs.
Comment 1 nilburn 2023-04-17 08:12:15 UTC
Created attachment 860226 [details, diff]
Version check of dhcpcd does not work
Comment 2 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2023-04-17 09:34:06 UTC

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