Closed jluthman closed 1 year ago
Hi @jluthman!
Yes, these issues are definitely related. It appears that you're using an older CentOS/RHEL version, at least I assume so given your initscripts version (reminds me of this).
In such case, if you can't update your system, you may get lucky by manually installing a newer version of ipcalc
. Maybe @robert-scheck could help chiming in once again in case he knows of a better option.
Let me know how it works out.
Thanks for the feedback!
Yes, ipcalc
as shipped by RHEL/CentOS 7 is simply too old. The earliest version that seems to work properly with asn
is part of CentOS/RHEL/Rocky Linux 9. Replacing it is not easily possible in an update-safe way. Just replacing /usr/bin/ipcalc
might be overriden with the next initscripts RPM package update, thus an alternative ipcalc
would actually have to live e.g. in /usr/local/bin/ipcalc
(or somewhere else on $PATH
before /usr/bin
to be called first). But that's nothing an RPM package from EPEL could ship, given EPEL is not allowed to replace base (CentOS/RHEL/Rocky Linux) RPM packages. So, yes, building it yourself is most likely the way to go. If it helps somehow, I could ship a "bad" RPM package within a Fedora COPR repository (outside of the regular distribution) to provide what's needed for asn
…let me know, if there is interest.
If it helps somehow, I could ship a "bad" RPM package within a Fedora COPR repository (outside of the regular distribution) to provide what's needed for
asn
…
…there you go: https://copr.fedorainfracloud.org/coprs/robert/ipcalc/
Robert's solution/repo is perfect. Simply run the dnf commands and it works.
ipcalc 1.0.1
/usr/local/bin/ipcalc
Possibly related to issue 34 - https://github.com/nitefood/asn/issues/34
Repo : base Matched from: Filename : /usr/bin/ipcalc