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 - CS8 - NetworkManager undefined symbol: ifname_valid
Summary: CS8 - NetworkManager undefined symbol: ifname_valid
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 8
Classification: Red Hat
Component: NetworkManager
Version: CentOS Stream
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: rc
: ---
Assignee: Ana Cabral
QA Contact: Vladimir Benes
URL:
Whiteboard:
: 2042879 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2021-10-08 10:49 UTC by Leon Fauster
Modified: 2022-05-10 15:30 UTC (History)
12 users (show)

Fixed In Version: NetworkManager-1.34.0-0.3.el8
Doc Type: No Doc Update
Doc Text:
Clone Of:
Environment:
Last Closed: 2022-05-10 14:54:14 UTC
Type: Bug
Target Upstream Version:
Embargoed:
acabral: needinfo+


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker RHELPLAN-99233 0 None None None 2021-10-08 10:50:37 UTC
Red Hat Product Errata RHEA-2022:1985 0 None None None 2022-05-10 14:54:30 UTC

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


Note You need to log in before you can comment on or make changes to this bug.