Hi,

I'd like to add another perspective from a Linux Mint 22.2 (Noble base)
user experiencing severe duplicate connection issues caused by the
NM↔Netplan interaction.

**The problem in practice:** Every NetworkManager connection (WiFi,
Ethernet, VPN) gets exported as a `90-NM-{uuid}.yaml` to
`/etc/netplan/`. On the next boot, netplan imports these back as
`netplan-NM-{uuid}.nmconnection` into `/run/NetworkManager/system-
connections/`. The result: connections multiply on every reboot. On my
system, 4 unique connections had turned into 46 entries — multiple
copies of every saved network.

Deleting the duplicates via `nmcli connection delete` doesn't help
because `netplan apply` (which runs on boot) recreates them from the
YAML files. Deleting the YAML files helps temporarily, but NM re-exports
them immediately when any connection changes.

**Why a runtime opt-out matters:**

1. **Derivative distributions** (Mint, Pop!_OS, elementary, Zorin) don't 
benefit from the netplan unification goal — they use NM directly and netplan 
only adds a duplication layer.
2. **VPN and virtual interface connections** are especially affected because NM 
supports multiple profiles per interface while netplan merges them by interface 
name (see LP #2089930).
3. The current workaround (`plugins=keyfile` in NM conf + removing 90-NM YAMLs) 
works but is undocumented and fragile — a package update could re-enable the 
netplan plugin.
4. A simple config option like `[netplan] enabled=false` in 
`/etc/NetworkManager/conf.d/` would let derivatives and advanced users opt out 
cleanly without recompilation.

The existing workarounds in this thread (symlinks, manual YAML edits,
migration scripts) all treat symptoms. A supported opt-out mechanism
would resolve the architectural mismatch for the significant number of
users running NM without needing netplan as an intermediary.

Thanks for considering this.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2041491

Title:
  Provide an option to avoid the yaml NM backend

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/netplan.io/+bug/2041491/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to