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.
Description of problem:
When updating the system fully from 8.3 to 8.5, a customer is seeing the following error messages while NetworkManager rpm executes the post-installation scripts:
-------- 8< ---------------- 8< ---------------- 8< ---------------- 8< --------
/usr/bin/udevadm: symbol lookup error: /usr/bin/udevadm: undefined symbol: ifname_valid, version SD_SHARED
/usr/bin/udevadm: symbol lookup error: /usr/bin/udevadm: undefined symbol: ifname_valid, version SD_SHARED
-------- 8< ---------------- 8< ---------------- 8< ---------------- 8< --------
The root cause is symbol "ifname_valid" exported by libsystemd-shared was renamed into "ifname_valid_full" with systemd-239-51.
At the time of the update, older udevadm is still executing because systemd-udev package was not updated yet, but systemd-libs package was already updated.
Version-Release number of selected component (if applicable):
systemd-239-41 -> systemd-239-51
How reproducible:
Always
Steps to Reproduce:
1. Install a RHEL8.3 system
2. Update NetworkManager + systemd-libs
# yum -y update NetworkManager systemd-libs
Actual results:
[...]
Running scriptlet: systemd-libs-239-51.el8_5.3.x86_64 1/1
Upgrading : systemd-libs-239-51.el8_5.3.x86_64 1/18
Running scriptlet: systemd-libs-239-51.el8_5.3.x86_64 1/18
:
Running scriptlet: NetworkManager-1:1.32.10-4.el8.x86_64 6/18
Upgrading : NetworkManager-1:1.32.10-4.el8.x86_64 6/18
Running scriptlet: NetworkManager-1:1.32.10-4.el8.x86_64 6/18
/usr/bin/udevadm: symbol lookup error: /usr/bin/udevadm: undefined symbol: ifname_valid, version SD_SHARED
/usr/bin/udevadm: symbol lookup error: /usr/bin/udevadm: undefined symbol: ifname_valid, version SD_SHARED
:
Upgrading : systemd-udev-239-51.el8_5.3.x86_64 9/18
Running scriptlet: systemd-udev-239-51.el8_5.3.x86_64 9/18
:
Expected results:
systemd-udev updated before NetworkManager
Additional info:
- Checking systemd.spec file, I can see that systemd-udev package has no dependency on "systemd-libs" but only "systemd".
Trying to add the dependency to force package installation at same time doesn't help, so I don't know exactly which fix is needed here.
- Checking NetworkManager.spec file, I can see there is a dependency on "systemd" only.
Adding a dependency on systemd-udev in NetworkManager package **fixes** the issue, but I think it should be systemd's job to make sure all systemd packages are updated simultaneously.
Comment 1Zbigniew Jędrzejewski-Szmek
2022-01-20 10:36:24 UTC