Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 904438 - net-misc/netifrc: Version check of dhcpcd does not work
Summary: net-misc/netifrc: Version check of dhcpcd does not work
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 08:08 UTC by nilburn
Modified: 2023-04-17 09:34 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
Version check of dhcpcd does not work (0001-Version-check-of-dhcpcd-does-not-work.patch,728 bytes, patch)
2023-04-17 08:12 UTC, nilburn
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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 ***