Networking broken after systemd update
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
systemd (Debian) |
Fix Released
|
Unknown
|
|||
systemd (Ubuntu) |
Fix Released
|
High
|
Balint Reczey |
Bug Description
# Description:
After this upgrade in groovy, networking stopped working:
Start-Date: 2020-08-14 17:02:50
Commandline: apt-get dist-upgrade --assume-yes
Requested-By: ubuntu (1000)
Install: motd-news-
Upgrade: libaudit-
End-Date: 2020-08-14 17:03:10
# Reproduction steps:
$ multipass launch --name groovy-update-test daily:groovy
$ multipass connect groovy-update-test
# connected to VM
$ sudo apt-get update && sudo apt-get dist-upgrade --assume-yes
# works fine
$ sudo apt-get update
Err:1 http://
Temporary failure resolving 'security.
Err:2 http://
Temporary failure resolving 'archive.
Err:3 http://
Temporary failure resolving 'archive.
Err:4 http://
Temporary failure resolving 'archive.
Reading package lists... Done
W: Failed to fetch http://
W: Failed to fetch http://
W: Failed to fetch http://
W: Failed to fetch http://
W: Some index files failed to download. They have been ignored, or old ones used instead.
$ sudo systemctl list-units --failed
UNIT LOAD ACTIVE SUB DESCRIPTION
● systemd-
● systemd-
LOAD = Reflects whether the unit definition was properly loaded.
ACTIVE = The high-level unit activation state, i.e. generalization of SUB.
SUB = The low-level unit activation state, values depend on unit type.
2 loaded units listed.
$ systemctl status systemd-
● systemd-
Loaded: loaded (/lib/systemd/
Active: failed (Result: exit-code) since Fri 2020-08-14 17:03:01 EDT; 12min ago
TriggeredBy: ● systemd-
Docs: man:systemd-
Main PID: 2745 (code=exited, status=1/FAILURE)
Aug 14 17:03:01 fulfilling-hornet systemd[1]: systemd-
Aug 14 17:03:01 fulfilling-hornet systemd[1]: systemd-
Aug 14 17:03:01 fulfilling-hornet systemd[1]: Failed to start Network Service.
Aug 14 17:03:01 fulfilling-hornet systemd[1]: systemd-
Aug 14 17:03:01 fulfilling-hornet systemd[1]: Stopped Network Service.
Aug 14 17:03:01 fulfilling-hornet systemd[1]: systemd-
Aug 14 17:03:01 fulfilling-hornet systemd[1]: systemd-
Aug 14 17:03:01 fulfilling-hornet systemd[1]: Failed to start Network Service.
description: | updated |
description: | updated |
Changed in systemd (Ubuntu): | |
importance: | Undecided → Critical |
assignee: | nobody → Balint Reczey (rbalint) |
Changed in systemd (Ubuntu): | |
status: | New → In Progress |
tags: | added: id-5f3afdc64e09838ff1afe222 |
tags: | added: fr-188 |
Changed in systemd (Debian): | |
status: | Unknown → Fix Released |
Here are my notes from using a Groovy LXD container:
Expected Results
---
$ resolvectl status | grep "DNS Server"
Current DNS Server: 192.168.100.1
DNS Servers: 192.168.100.1
Actual Results
---
$ resolvectl status
Global
LLMNR setting: no
MulticastDNS setting: no
DNSOverTLS setting: no
DNSSEC setting: no
DNSSEC supported: no
Link 24 (eth0)
Current Scopes: none
DefaultRoute setting: no
LLMNR setting: yes
MulticastDNS setting: no
DNSOverTLS setting: no
DNSSEC setting: no
DNSSEC supported: no
Steps to reproduce build.info archive. ubuntu. com/ubuntu groovy/main amd64 Packages dpkg/status networkd. service failed because the control process exited with error code. networkd. service" and "journalctl -xe" for details. dhclient- enter-hooks. d/resolved ...
---
$ lxc launch ubuntu-daily:g g
$ lxc exec g bash
# cat /etc/cloud/
build_name: server
serial: 20200813
# sudo apt update -qq
# apt-cache policy systemd
systemd:
Installed: 245.7-1ubuntu1
Candidate: 246-2ubuntu1
Version table:
246-2ubuntu1 500
500 http://
*** 245.7-1ubuntu1 100
100 /var/lib/
# resolvectl status | grep "DNS Server"
Current DNS Server: 192.168.100.1
DNS Servers: 192.168.100.1
# sudo apt install --yes systemd
...
Job for systemd-
See "systemctl status systemd-
Removing obsolete conffile /etc/dhcp/
...
# resolvectl status
Global
LLMNR setting: no
MulticastDNS setting: no
DNSOverTLS setting: no
DNSSEC setting: no
DNSSEC supported: no
Link 24 (eth0)
Current Scopes: none
DefaultRoute setting: no
LLMNR setting: yes
MulticastDNS setting: no
DNSOverTLS setting: no
DNSSEC setting: no
DNSSEC supported: no