Note: This bug is displayed in read-only format because
the product is no longer active in Red Hat Bugzilla.
RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Gating, complains about usage of two deprecated C functions (inet_makeaddr, inet_netof).
See:
https://dashboard.osci.redhat.com/?filters=eyJ0eXBlIjoiYnJldy1idWlsZCIsImFjdGl2ZSI6WyJOZXR3b3JrTWFuYWdlciJdLCJvcHRpb25zIjp7InNraXBTY3JhdGNoIjpmYWxzZX19#/search
osci.brew-build.rpminspect.static-analysis about /badfuncs:
>>>>
1) /usr/sbin/NetworkManager may use forbidden functions on aarch64
Result: VERIFY
Waiver Authorization: Anyone
Details:
Forbidden function symbols found:
inet_makeaddr
inet_netof
Suggested Remedy:
Forbidden symbols were found in an ELF file in the package. The configuration settings for rpminspect indicate the named symbols are forbidden in packages. If this is deliberate, you may want to disable the badfuncs inspection. If it is not deliberate, check the man pages for the named symbols to see what API functions have replaced the forbidden symbols. Usually a function is marked as deprecated but still provided in order to allow for backwards compatibility. Whenever possible the deprecated functions should not be used.
>>>>
Note that inet_aton we *WANT* to use. So we disabled that warning here:
https://gitlab.com/redhat/centos-stream/rpms/NetworkManager/-/commit/47c72e1b3699b8dcd52f2df1642076921d47c632https://gitlab.com/redhat/centos-stream/rpms/NetworkManager/-/commit/1254c71598d6dae140dff96874121d9062511489
for inet_makeaddr and inet_netof, we don't want to use it. We should instead fix the code to not use it.
the problem is, that the functions are used in our systemd fork, so the change needs to be upstreamed to systemd.