libnetplan integration breaks "cloned-mac-address" special values

Bug #2026230 reported by Ethan Lin
12
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Netplan
Fix Released
Undecided
Unassigned
netplan.io (Ubuntu)
Fix Released
High
Unassigned
network-manager (Ubuntu)
Invalid
Undecided
Unassigned

Bug Description

I received an error from apport about a programme not working. I collected the data to submit. Hope this helps.

ProblemType: Crash
DistroRelease: Ubuntu 23.10
Package: network-manager 1.42.6-2ubuntu1
Uname: Linux 6.2.0-24-generic x86_64
Architecture: amd64
Date: Wed Jul 5 23:11:14 2023
ExecutablePath: /usr/sbin/NetworkManager
ExecutableTimestamp: 1687429583
ProcCmdline: /usr/sbin/NetworkManager --no-daemon
ProcCwd: /
ProcEnviron:
 LANG=en_US.UTF-8
 PATH=(custom, no user)
Signal: 6
SourcePackage: network-manager
UserGroups: N/A

Revision history for this message
Ethan Lin (mainsystemadmin) wrote :
information type: Private → Public
tags: removed: need-amd64-retrace
Revision history for this message
Danilo Egea Gondolfo (danilogondolfo) wrote :

Thank for your bug report.

Based on the core dump you provided, the problem seems to be related to libnetplan.

Can you collect the NetworkManager's systemd journal and attach to the ticket, please?

journalctl -u NetworkManager > network-manager.log

Thanks!

Revision history for this message
Danilo Egea Gondolfo (danilogondolfo) wrote (last edit ):

So,

the problem appears to be the value of "cloned-mac-address". Netplan only accepts a MAC address, but Network Manager also supports some special settings ("preserve", "permanent", "random" and "stable").

I prepared a fix for that https://github.com/canonical/netplan/pull/376

Changed in netplan.io (Ubuntu):
status: New → In Progress
Changed in network-manager (Ubuntu):
status: New → Invalid
Changed in netplan.io (Ubuntu):
importance: Undecided → High
Lukas Märdian (slyon)
summary: - error when setting up after upgrading
+ libnetplan integration breaks "cloned-mac-address" special values
Revision history for this message
Lukas Märdian (slyon) wrote :

Merged upstream. Will be part of the next Netplan release.

Changed in netplan:
status: New → Fix Committed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package netplan.io - 0.107-2

---------------
netplan.io (0.107-2) unstable; urgency=medium

  * d/control: Add runtime dependency on python3-cffi-backend (LP: #2031962)
  * d/t/control: Enable dummy & veth integration tests
  * Fix NetworkManager 1.44 VRF compatibility (LP: #2031421, Closes: #1049432)
    d/p/0001-parse-allow-COMMON_LINK_HANDLERS-for-VRFs-LP-2031421.patch
  * d/rules: Fix dh_clean to cleanup after tests (Closes: #1046524)
  * Fix OVS tests by avoiding NetworkManager taking control
    d/p/0002-test-ovs-Avoid-NetworkManager-taking-contol-breaking.patch
  * d/t/control: Don't hide real OVS test failures as skippable

 -- Lukas Märdian <email address hidden> Mon, 21 Aug 2023 17:25:33 +0200

Changed in netplan.io (Ubuntu):
status: In Progress → Fix Released
Revision history for this message
Lukas Märdian (slyon) wrote :
Changed in netplan:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.