Red Hat Bugzilla – Bug 1330090
Fails to connect to ethernet after update to 1:NetworkManager-1.2.0-0.1.beta3.el7.x86_64
Last modified: 2016-11-03 15:09:00 EDT
I just updated my RHEL 7 instance to the latest available (I can give a list of all updated packages, if needed) and since restart the NetworkManager 1.2.0-0.1.beta3 claims that there is no connection available, despite me being connected over ethernet cable. The gnome-shell claims I've the Airplane mode on, and that I should turn it off by a hardware switch, but that's nonsense, because the only thing I have the hardware switch for is Wi-Fi and it is turned off. The connection also worked flawlessly before the update, I downloaded all the packages with it. The laptop sits in a docking station, if it matters.
Please provide the logfile of NetworkManager. Preferably with debug-logging enabled, by configuring it in /etc/NetworkManager/NetworkManager.conf and restarting. Configure there: [logging] level=TRACE (but for completeness, the logging parts without debug-logging when you experienced the problem the first time, are interesting too). thank you.
Created attachment 1150917 [details] nm.log The NetworkManager log captured by: $ cat /var/log/messages | grep NetworkManager | grep "Apr 26" >nm.log
Or can you give more specifics about the installed versions (kernel-version, libnl3-version) You started with rhel-7.2, and upgraded to 7.3 beta? How exactly did you do that, for me to reproduce? Thank you.
Right, I thought it'll be better to give you my package versions, thus I tried to get the right one meanwhile. It was a challenge, because I was downloading the older version from brew, from a Fedora installation. I ended with this: $ rpm -qa | egrep -e "NetworkManager|libnm|network-manager" | sort On the working version, where gnome-shell claims: - Wired connection (online, I can ping external servers) - WiFi connection (off by hardware switch) - Airplane Mode (on by hardware switch - I've no idea where it gets it from) the packages are: libnma-1.2.0-0.1.beta3.el7.x86_64 libnm-gtk-1.0.6-2.el7.x86_64 NetworkManager-1.0.6-29.el7_2.x86_64 NetworkManager-adsl-1.0.6-29.el7_2.x86_64 network-manager-applet-1.0.6-2.el7.x86_64 NetworkManager-bluetooth-1.0.6-29.el7_2.x86_64 NetworkManager-glib-1.0.6-29.el7_2.x86_64 NetworkManager-libnm-1.0.6-29.el7_2.x86_64 NetworkManager-libreswan-1.0.6-3.el7.x86_64 NetworkManager-openconnect-0.9.8.6-2.el7.x86_64 NetworkManager-openvpn-1.0.8-1.el7.x86_64 NetworkManager-team-1.0.6-29.el7_2.x86_64 NetworkManager-tui-1.0.6-29.el7_2.x86_64 NetworkManager-vpnc-1.0.8-1.el7.x86_64 NetworkManager-vpnc-gnome-1.0.8-1.el7.x86_64 NetworkManager-wifi-1.0.6-29.el7_2.x86_64 NetworkManager-wwan-1.0.6-29.el7_2.x86_64 On the non-working version, where gnome-shell claims only: - Airplane Mode (on by hardware switch) the packages are: libnma-1.2.0-0.1.beta3.el7.x86_64 libnm-gtk-1.2.0-0.1.beta3.el7.x86_64 NetworkManager-1.2.0-0.1.beta3.el7.x86_64 NetworkManager-adsl-1.2.0-0.1.beta3.el7.x86_64 network-manager-applet-1.2.0-0.1.beta3.el7.x86_64 NetworkManager-bluetooth-1.2.0-0.1.beta3.el7.x86_64 NetworkManager-glib-1.2.0-0.1.beta3.el7.x86_64 NetworkManager-libnm-1.2.0-0.1.beta3.el7.x86_64 NetworkManager-libreswan-1.2.0-0.1.beta3.el7.x86_64 NetworkManager-openconnect-0.9.8.6-2.el7.x86_64 NetworkManager-openvpn-1.0.8-1.el7.x86_64 NetworkManager-team-1.2.0-0.1.beta3.el7.x86_64 NetworkManager-tui-1.2.0-0.1.beta3.el7.x86_64 NetworkManager-vpnc-1.0.8-1.el7.x86_64 NetworkManager-vpnc-gnome-1.0.8-1.el7.x86_64 NetworkManager-wifi-1.2.0-0.1.beta3.el7.x86_64 NetworkManager-wwan-1.2.0-0.1.beta3.el7.x86_64 These are the only packages I changed to make it work (or break).
*** Bug 1330866 has been marked as a duplicate of this bug. ***
This bug happens, because the NetworkManger package was compiled against a newer kernel (from rhel-7.2), but now runs on an older one. This was fixed upstream by commit https://cgit.freedesktop.org/NetworkManager/NetworkManager/commit/?id=05e454a98d02e69afd28fe371be48b40c4069a76 When using 1.2.0-0.1.beta3, you also need a rhel-7.3 kernel. A fixed package is on the way, which doesn't have this issue and would work with 7.2 kernel as well.
I can confirm that this package (together with the same version of network-manager-applet packages) fixed the network issue for me after reboot (re-login wasn't enough, which is expected).
tested with kernel 3.10.0-327.el7.x86_64 and NetworkManager-1.2.0-2.el7.x86_64 w/o any problem
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, 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://rhn.redhat.com/errata/RHSA-2016-2581.html