[SRU] SEGFAULT on upgrade to 0.102-0ubuntu1~20.04.1
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
netplan.io (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned | ||
Focal |
Fix Released
|
Undecided
|
Unassigned | ||
Groovy |
Fix Released
|
Undecided
|
Unassigned | ||
Hirsute |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
[Impact]
This release contains a regression bug-fix for un-breaking the ABI compatibility between libnetplan 0.102 and netplan.io 0.101, which was taken from a pending upstream pull request: https:/
[Test Plan]
The following development and SRU process was followed:
https:/
Netplan contains an extensive integration test suite that is ran using
the SRU package for each release. This test suite's results are available here:
http://
A successful run is required before the proposed netplan.io package
can be let into -updates.
The netplan team will be in charge of attaching the artifacts and console
output of the appropriate run to the bug. Netplan team members will not
mark ‘verification-done’ until this has happened.
Additionally, we want to manually verify the ABI compatibility (i.e. not SEGFAULT) between the new libnetplan and the old netplan.io "generate" binary, with the steps described below:
* Have netplan 0.101 installed
* Upgrade ONLY libnetplan0 to 0.102
$ cat /etc/netplan/
network:
ethernets:
ens5:
dhcp4: true
dhcp6: false
match:
version: 2
$ /usr/lib/
* Make sure the "generate" binary did not crash.
[Where problems could occur]
Netplan being a core package it could impact the whole networking stack of the operating system up to the point where servers would not be reachable anymore after a reboot, due to broken network config being generated by netplan at bootup. In order to mitigate the regression potential, the results of the aforementioned integration tests are attached to this bug.
Additionally, this SRU needs to drop the "Added ttl option for tunnels (LP: #1846783)" feature, added during the 0.102/Hirsute development cycle. So users of the -devel series using the new "tunnels.ttl" setting are going to miss this until it is re-implemented in an ABI preserving way.
Hirsute (Bileto pre-test):
https:/
https:/
https:/
https:/
https:/
Groovy:
https:/
https:/
https:/
https:/
https:/
Focal:
https:/
https:/
https:/
https:/
https:/
[Other Info]
The integration test logs are attached to this bug, once the package has been accepted into -proposed and the tests have been executed on the real infrastructure.
== Original description ==
Today a bunch of our ubuntu 20.04 servers on AWS EC2 (both amd64 and arm) upgraded to netplan 0.102-0ubuntu1~
kernel: [1938106.074273] netplan[2874371]: segfault at 100000000 ip 00007f72cb991675 sp 00007ffe8be03158 error 4 in libc-2.
kernel: [1938106.074282] Code: 00 00 0f 1f 00 31 c0 c5 f8 77 c3 66 2e 0f 1f 84 00 00 00 00 00 f3 0f 1e fa 89 f9 48 89 fa c5 f9 ef c0 83 e1 3f 83 f9 20 77 2b <c5> fd 74 0f c5 fd d7 c1 85 c0 0f 85 eb 00 00 00 48 83 c7 20 83 e1
systemd[2874368]: /usr/lib/
/etc/netplan/ is the default from aws ubuntu 20.04 image.
tags: | added: rls-ff-incoming |
tags: | added: regression-update |
tags: | added: fr-1273 |
tags: | removed: rls-ff-incoming |
Changed in netplan.io (Ubuntu Groovy): | |
status: | New → Confirmed |
Changed in netplan: | |
status: | Confirmed → Won't Fix |
tags: | added: oem-priority |
description: | updated |
summary: |
- SEGFAULT on upgrade to 0.102-0ubuntu1~20.04.1 + [SRU] SEGFAULT on upgrade to 0.102-0ubuntu1~20.04.1 |
description: | updated |
tags: | added: verification-needed-hirsute |
Changed in netplan.io (Ubuntu Hirsute): | |
status: | Triaged → Fix Committed |
tags: |
added: verification-done-groovy verification-done-hirsute removed: verification-needed-hirsute |
tags: |
added: verification-needed-groovy removed: verification-done-groovy |
description: | updated |
no longer affects: | netplan |
Hello Carl,
thank you very much for reporting this issue. Do you have a crash report available for this by any chance (in /var/crash/), which you could provide by using 'ubuntu-bug netplan.io'?