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

Bug #2026230 reported by Ethan Lin
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Fix Released
Unassigned (Ubuntu)
Fix Released
network-manager (Ubuntu)

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: /
 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


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


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

Changed in (Ubuntu):
status: New → In Progress
Changed in network-manager (Ubuntu):
status: New → Invalid
Changed in (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 - 0.107-2

--------------- (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/rules: Fix dh_clean to cleanup after tests (Closes: #1046524)
  * Fix OVS tests by avoiding NetworkManager taking control
  * 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 (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.