netplan apply does not remove systemd service for wlan0 after config removed
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Netplan |
Fix Released
|
Wishlist
|
Lukas Märdian | ||
netplan.io (Ubuntu) |
Fix Released
|
Wishlist
|
Lukas Märdian | ||
Focal |
Fix Released
|
Wishlist
|
Unassigned |
Bug Description
Summary
=======
Problem found when focal-preinstal
netplan.io version 0.99-0ubuntu2
When testing wifi, I confirmed it worked and was able to connect to the device with ethernet unplugged. After doing this, I removed the netplan config for wifi and ran netplan apply.
ubuntu@ubuntu:~$ sudo rm /etc/netplan/
ubuntu@ubuntu:~$ sudo netplan apply
Warning: The unit file, source configuration file or drop-ins of netplan-
anged on disk. Run 'systemctl daemon-reload' to reload units.
Warning: The unit file, source configuration file or drop-ins of netplan-
anged on disk. Run 'systemctl daemon-reload' to reload units.
So I did the daemon-reload and tried again:
ubuntu@ubuntu:~$ sudo systemctl daemon-reload
ubuntu@ubuntu:~$ sudo netplan apply
Failed to start netplan-
Traceback (most recent call last):
File "/usr/sbin/
netplan.main()
File "/usr/share/
self.
File "/usr/share/
self.func()
File "/usr/share/
self.
File "/usr/share/
self.func()
File "/usr/share/
utils.
File "/usr/share/
subprocess.
File "/usr/lib/
raise CalledProcessEr
subprocess.
At no point did ethernet start working, until I rebooted. systemctl showed that netplan-
Steps to reproduce
==================
1. configure wifi on rpi via netplan
2. remove the wifi config after confirming it works
3. run netplan apply
(optional)
4. run sudo systemctl daemon-reload
5. run netplan apply again
Related branches
- Łukasz Zemczak: Approve
-
Diff: 271 lines (+244/-0)4 files modifieddebian/changelog (+10/-0)
debian/patches/0001-Call-daemon-reload-after-we-touched-systemd-unit-fil.patch (+68/-0)
debian/patches/0001-Fix-autopkgtest-on-arm64-with-NM-1.24-146.patch (+164/-0)
debian/patches/series (+2/-0)
tags: | added: rls-ff-incoming |
Changed in netplan.io (Ubuntu): | |
milestone: | none → ubuntu-20.04.1 |
Changed in netplan.io (Ubuntu Focal): | |
milestone: | none → ubuntu-20.04.1 |
Changed in netplan.io (Ubuntu): | |
milestone: | ubuntu-20.04.1 → ubuntu-20.06 |
Changed in netplan.io (Ubuntu Focal): | |
status: | New → Triaged |
importance: | Undecided → High |
Changed in netplan.io (Ubuntu): | |
importance: | Undecided → High |
tags: | added: id-5eb42e64b38b471f544f4e26 |
Changed in netplan: | |
importance: | Undecided → Medium |
status: | New → In Progress |
Changed in netplan: | |
status: | In Progress → Fix Committed |
tags: | removed: rls-ff-incoming |
Changed in netplan.io (Ubuntu): | |
assignee: | nobody → Lukas Märdian (slyon) |
Changed in netplan: | |
status: | Fix Committed → Fix Released |
Changed in netplan.io (Ubuntu Focal): | |
status: | In Progress → Fix Committed |
This bug has been reported on the Ubuntu ISO testing tracker.
A list of all reports related to this bug can be found here: iso.qa. ubuntu. com/qatracker/ reports/ bugs/1874494
http://