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.

Bug 2012123

Summary: CS8 - NetworkManager undefined symbol: ifname_valid
Product: Red Hat Enterprise Linux 8 Reporter: Leon Fauster <leonfauster>
Component: NetworkManagerAssignee: Ana Cabral <acabral>
Status: CLOSED ERRATA QA Contact: Vladimir Benes <vbenes>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: CentOS StreamCC: acabral, bgalvani, bstinson, dtardon, jwboyer, lrintel, rkhan, rmetrich, sukulkar, systemd-maint-list, till, vbenes
Target Milestone: rcKeywords: Triaged
Target Release: ---Flags: acabral: needinfo+
pm-rhel: mirror+
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: NetworkManager-1.34.0-0.3.el8 Doc Type: No Doc Update
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2022-05-10 14:54:14 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Leon Fauster 2021-10-08 10:49:20 UTC
Description of problem:

While doing

# dnf update

following shows up:

  Ausgeführtes Scriptlet: NetworkManager-1:1.34.0-0.2.el8.x86_64                 6/40 
  Aktualisieren         : NetworkManager-1:1.34.0-0.2.el8.x86_64                 6/40 
  Ausgeführtes Scriptlet: NetworkManager-1:1.34.0-0.2.el8.x86_64                 6/40 
/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


Version-Release number of selected component (if applicable):

# rpm -q NetworkManager
NetworkManager-1.34.0-0.2.el8.x86_64

# head -3 /etc/os-release 
NAME="CentOS Stream"
VERSION="8"
ID="centos"


How reproducible:
Update NetworkManager from previous version to NetworkManager-1.34.0-0.2.el8

Comment 1 Beniamino Galvani 2021-10-08 11:19:32 UTC
/usr/bin/udevadm: symbol lookup error: /usr/bin/udevadm: undefined symbol: ifname_valid, version SD_SHARED

This looks like a problem with udevadm compilation/linking. Reassigning.

Comment 2 David Tardon 2021-10-14 07:31:46 UTC
(In reply to Beniamino Galvani from comment #1)
> /usr/bin/udevadm: symbol lookup error: /usr/bin/udevadm: undefined symbol:
> ifname_valid, version SD_SHARED
> 
> This looks like a problem with udevadm compilation/linking. Reassigning.

udevadm compilation/linking is fine. ifname_valid is a symbol from an internal library that's been renamed recently and *new* udevadm uses the new name. The problem here is that there is a mix of new /usr/lib/systemd/libsystemd-shared-239.so (systemd-libs rpm) and old /usr/bin/udevadm (systemd-udev rpm) on the system at the point NetworkManager's post scriptlet is run. That's because NetworkManager doesn't have Requires(post): systemd-udev.

Steps to reproduce:
1. Take an older installation of CS8 (with systemd < 239-51).
2. Run "yum update NetworkManager systemd".
3. Observe that systemd-libs is updated before NetworkManager, but systemd-udev after it.

Comment 11 Vladimir Benes 2021-11-11 11:42:14 UTC
Requires(post): systemd-udev added to spec file

Comment 12 David Tardon 2022-01-20 10:58:51 UTC
*** Bug 2042879 has been marked as a duplicate of this bug. ***

Comment 15 errata-xmlrpc 2022-05-10 14:54:14 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory (NetworkManager bug fix and enhancement update), and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHEA-2022:1985