I tested it by simply removing a bunch of Network Manager connections from my system and checking all the YAML files were also removed.
It can be easily verified with a desktop VM in LXD:
- Add a connection using the Network Manager GUI
- Remove the connection you just added
- Run netplan apply
- Check Network Manager again and observe the connection is back
- You'll see the following error in NetworkManager's journal: netplan_delete_connection: Cannot write output state: Read-only file system
- Upgrade network-manager from -proposed and run the same steps. All the deleted connection should result in deleted YAML files.
The autopkgtest failures on arm64 are not related to these changes and it's happening for a while now. So they are not regressions.
I'm running network-manager from proposed on my main machine and the problem is resolved.
I was running 1.44.2-1ubuntu1.1 and upgraded to 1.44.2-1ubuntu1.2:
2023-10-25 09:52:16 upgrade network- manager: amd64 1.44.2-1ubuntu1.1 1.44.2-1ubuntu1.2
I tested it by simply removing a bunch of Network Manager connections from my system and checking all the YAML files were also removed.
It can be easily verified with a desktop VM in LXD: delete_ connection: Cannot write output state: Read-only file system
- Add a connection using the Network Manager GUI
- Remove the connection you just added
- Run netplan apply
- Check Network Manager again and observe the connection is back
- You'll see the following error in NetworkManager's journal: netplan_
- Upgrade network-manager from -proposed and run the same steps. All the deleted connection should result in deleted YAML files.