[Bug 1876884] Re: netplan using incorrect renderer
Lukas Märdian
lukas.maerdian at canonical.com
Tue May 12 06:48:29 UTC 2020
Hi Yannik,
I think you have two options:
1) Workaround by adding /etc/netplan/xxx.yaml (or any other name which lexically sorts after "enp1s0.yaml"):
network:
version: 2
renderer: NetworkManager
ethernets:
enp1s0:
dhcp4: true
2) Cleanup dropbear-initramfs interfaces (as described at "Ask Ubuntu"):
/etc/initramfs-tools/scripts/init-bottom/deconfigure-interfaces:
rm -f /run/netplan/enp1s0.yaml && ip -f inet address flush dev enp1s0
You probably need to run 'update-initramfs -u' afterwards again...
IMO option (2) is actually a proper solution, this is why I am assigning
this bug to 'dropbear', as I think it should automatically cleanup the
interfaces/configs it created, once they are not needed anymore.
** Changed in: netplan.io (Ubuntu Focal)
Status: New => Invalid
** Changed in: netplan.io (Ubuntu Groovy)
Status: New => Invalid
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to netplan.io in Ubuntu.
Matching subscriptions: foundations-bugs
https://bugs.launchpad.net/bugs/1876884
Title:
netplan using incorrect renderer
Status in dropbear package in Ubuntu:
New
Status in netplan.io package in Ubuntu:
Invalid
Status in dropbear source package in Focal:
New
Status in netplan.io source package in Focal:
Invalid
Status in dropbear source package in Groovy:
New
Status in netplan.io source package in Groovy:
Invalid
Bug description:
After upgrading ubuntu desktop from 19.10 to 20.04, it's impossible to enable screen sharing.
It used to work fine on 19.10.
When clicking the enable/disable toggle, the following message is
logged in journalctl:
Failed to enable service vino-server:
GDBus.Error:org.freedesktop.DBus.Error.InvalidArgs: Sharing cannot be
enabled on this network, status is '0'
This is reproducible on both computers I've upgraded. They're both on
the latest 20.04 package updates as of today.
I've done some research to rule out common faults:
$ cat /etc/netplan/01-network-manager-all.yaml
# Let NetworkManager manage all devices on this system
network:
version: 2
renderer: NetworkManager
(Yes, I've ofc ran netplan apply, but the file already had this
content anyway.)
$ cat /etc/NetworkManager/NetworkManager.conf
[main]
plugins=ifupdown,keyfile
[ifupdown]
managed=false
[device]
wifi.scan-rand-mac-address=no
Also, this seems unrelated to #1871787:
$ dpkg -l |grep gnome-settings-daemon
ii gnome-settings-daemon 3.36.0-1ubuntu2
ii gnome-settings-daemon-common 3.36.0-1ubuntu2
---
ProblemType: Bug
ApportVersion: 2.20.11-0ubuntu27
Architecture: amd64
CasperMD5CheckResult: skip
DistroRelease: Ubuntu 20.04
InstallationDate: Installed on 2020-01-17 (108 days ago)
InstallationMedia: Ubuntu 19.10 "Eoan Ermine" - Release amd64 (20191017)
Package: gnome-control-center 1:3.36.1-1ubuntu5
PackageArchitecture: amd64
ProcVersionSignature: Ubuntu 5.4.0-28.32-generic 5.4.30
Tags: focal
Uname: Linux 5.4.0-28-generic x86_64
UpgradeStatus: Upgraded to focal on 2020-04-28 (6 days ago)
UserGroups:
_MarkForUpload: True
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/dropbear/+bug/1876884/+subscriptions
More information about the foundations-bugs
mailing list