network-manager crashes when using libnl-3-200 3.2.21-1ubuntu1
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
network-manager (Ubuntu) |
Fix Released
|
High
|
Unassigned | ||
Trusty |
Fix Released
|
High
|
Unassigned |
Bug Description
[Triage Notes]
This regression is caused by a libnl proposed update tracked in bug 1511735. It has not been released as an update, only proposed as an update for early testing. If you volunteered to test proposed updates, then thank you. Your care and attention will stop this regression from hitting ordinary users, and we appreciate your contribution to Ubuntu.
If you are not aware that you volunteered to test proposed updates, then please be aware that your system is configured to do so. In this case, you probably should turn this off. I'd appreciate if someone could explain how to do this in the comments.
[Impact]
* NetworkManager depends on libnl (libnl-3-200 libnl-genl-3-200
libnl-
3.2.21-1ubuntu1 NM segfaults due to libnl exposing a bug in NM
validation packets.
This affects the 0.98 release of NetworkManager and has already
been fixed in newer releases.
* Backporting fixes from upstream release is required to prevent
NetworkManager from faulting which breaks networking on most
Desktop releases.
* All patches applied are already accepted upstream and newer Ubuntu
releases are not affected.
* Upgrading NetworkManager to 0.9.8.8-0ubuntu7.3 prior to updating
libnl-
[Test Case]
* Reproduce crash test:
1. Download 14.04.03 Desktop iso, amd64
2. Launched in a VM, run from iso
3. In terminal, enable proposed
4. sudo apt-get install libnl-3-200 libnl-genl-3-200 libnl-route-3-200
5. sudo restart network-manager
# note the nm-applet disappears as NM has now crashed, no network
conn.
6. dmesg to confirm network-manager crash
7. sudo dpkg --install gir1.2-
8. sudo start network-manager
# nm-applet reappears, network connectivity restored
* Successful upgrade test:
1. Download 14.04.03 Desktop iso, amd64
2. Launched in a VM, run from iso
3. In a terminal, sudo dpkg --install gir1.2-
4. sudo restart network-manager # NM still runs, no crash, net up
5. enable trusty-proposed in /etc/apt/
6. sudo apt-get update
7. sudo apt-get install libnl-3-200 libnl-genl-3-200 libnl-route-3-200
8. sudo restart network-manager # NM still runs, no crash, net up.
[Regression Potential]
* NetworkManager is a highly visible package, so testing NetworkManager
functionality is critical. The patch does address the crash specificly
introduced by the updated libnl SRU.
* We need to ensure that users have installed this NetworkManager
update before installing libnl3 update (special phasing needed).
[Original Description]
Testing out proposed libnl-3 package[1] exposed a bug in NM 0.98.
After installing updated libnl3 and restarting networkmanager, NM crashes with:
/var/log/syslog shows:
init: network-manager main process (1057) killed by SEGV signal
init: network-manager main process ended, respawning
init: network-manager main process (1065) killed by SEGV signal
init: network-manager respawning too fast, stopped
The bug has been fixed in upstream 0.98 with these patches:
http://
http://
Changed in network-manager (Ubuntu Trusty): | |
status: | New → Triaged |
description: | updated |
description: | updated |
Changed in network-manager (Ubuntu): | |
importance: | Undecided → High |
Changed in network-manager (Ubuntu Trusty): | |
importance: | Undecided → Critical |
importance: | Critical → High |
tags: | added: regression-proposed |
tags: |
added: verification-done removed: verification-needed |
summary: |
- network-manager crashes when using libnl-3-200-3.21.1-1ubuntu1 + network-manager crashes when using libnl-3-200 3.2.21-1ubuntu1 |
I applied the two upstream commits into NM 0.98; built the package and it does fix the libnl-3 updated issue. NM no longer crashes when using the updated (proposed) libnl-3.