2021-09-01 02:03:49 |
Sergio Durigan Junior |
bug |
|
|
added bug |
2021-09-01 02:04:04 |
Sergio Durigan Junior |
bug |
|
|
added subscriber Lucas Kanashiro |
2021-09-01 20:27:57 |
Sergio Durigan Junior |
bug task added |
|
glibc (Ubuntu) |
|
2021-09-01 20:28:04 |
Sergio Durigan Junior |
glibc (Ubuntu): importance |
Undecided |
High |
|
2021-09-01 20:28:16 |
Sergio Durigan Junior |
tags |
update-excuse |
block-proposed update-excuse |
|
2021-09-01 20:30:25 |
Sergio Durigan Junior |
summary |
docker 20.10.7-0ubuntu2 fails to start when installed inside Impish LXD container |
glibc 2.34 upgrade will break some essential services |
|
2021-09-01 20:42:56 |
Sergio Durigan Junior |
description |
This bug is blocking docker.io on update-excuses.
I noticed that docker.io version 20.10.7-0ubuntu2 (currently in impish-proposed) is failing to start when installed inside an Impish LXD container. You can reproduce the bug by doing:
$ lxc launch ubuntu-daily:impish test-docker -c security.nesting=true
$ lxc shell test-docker
# cat <<EOF >/etc/apt/sources.list.d/ubuntu-$(lsb_release -cs)-proposed.list
deb http://archive.ubuntu.com/ubuntu/ $(lsb_release -cs)-proposed restricted main multiverse universe
EOF
# apt update
# apt install docker.io -y
...
Setting up docker.io (20.10.7-0ubuntu2) ...
Adding group `docker' (GID 120) ...
Done.
Created symlink /etc/systemd/system/multi-user.target.wants/docker.service → /lib/systemd/system/docker.service.
Created symlink /etc/systemd/system/sockets.target.wants/docker.socket → /lib/systemd/system/docker.socket.
A dependency job for docker.service failed. See 'journalctl -xe' for details.
invoke-rc.d: initscript docker, action "start" failed.
○ docker.service - Docker Application Container Engine
Loaded: loaded (/lib/systemd/system/docker.service; enabled; vendor preset: enabled)
Active: inactive (dead)
TriggeredBy: × docker.socket
Docs: https://docs.docker.com
Sep 01 01:52:47 test-docker systemd[1]: Dependency failed for Docker Application Container Engine.
Sep 01 01:52:47 test-docker systemd[1]: docker.service: Job docker.service/start failed with result 'dependency'.
... |
Try this:
$ lxc launch ubuntu-daily:impish test-docker
$ lxc shell test-docker
# cat <<EOF >/etc/apt/sources.list.d/ubuntu-$(lsb_release -cs)-proposed.list
deb http://archive.ubuntu.com/ubuntu/ $(lsb_release -cs)-proposed restricted main multiverse universe
EOF
# apt update
# apt install libc-bin -y
...
(debconf query asking which services should be restarted. Just select Ok)
...
Restarting services...
systemctl restart accounts-daemon.service console-getty.service cron.service packagekit.service polkit.service rsyslog.service snapd.service ssh.service systemd-journald.service systemd-networkd.service systemd-resolved.service systemd-udevd.service udisks2.service
Job for systemd-networkd.service failed.
See "systemctl status systemd-networkd.service" and "journalctl -xeu systemd-networkd.service" for details.
Job for systemd-resolved.service failed because the control process exited with error code.
See "systemctl status systemd-resolved.service" and "journalctl -xeu systemd-resolved.service" for details.
Service restarts being deferred:
/etc/needrestart/restart.d/dbus.service
systemctl restart networkd-dispatcher.service
systemctl restart systemd-logind.service
systemctl restart unattended-upgrades.service
# ping ubuntu.com
ping: ubuntu.com: Temporary failure in name resolution
# systemctl status systemd-networkd
× systemd-networkd.service - Network Service
Loaded: loaded (/lib/systemd/system/systemd-networkd.service; enabled; vendor preset: enabled)
Active: failed (Result: exit-code) since Wed 2021-09-01 20:41:03 UTC; 36s ago
TriggeredBy: × systemd-networkd.socket
Docs: man:systemd-networkd.service(8)
Process: 2411 ExecStart=/lib/systemd/systemd-networkd (code=exited, status=217/USER)
Main PID: 2411 (code=exited, status=217/USER)
Sep 01 20:41:03 test-docker systemd[1]: systemd-networkd.service: Scheduled restart job, restart counter is at 5.
Sep 01 20:41:03 test-docker systemd[1]: Stopped Network Service.
Sep 01 20:41:03 test-docker systemd[1]: systemd-networkd.service: Start request repeated too quickly.
Sep 01 20:41:03 test-docker systemd[1]: systemd-networkd.service: Failed with result 'exit-code'.
Sep 01 20:41:03 test-docker systemd[1]: Failed to start Network Service.
The same can be reproduced inside a VM. If the user reboots the system, it becomes usable again.
[ Original Description ]
This bug is blocking docker.io on update-excuses.
I noticed that docker.io version 20.10.7-0ubuntu2 (currently in impish-proposed) is failing to start when installed inside an Impish LXD container. You can reproduce the bug by doing:
$ lxc launch ubuntu-daily:impish test-docker -c security.nesting=true
$ lxc shell test-docker
# cat <<EOF >/etc/apt/sources.list.d/ubuntu-$(lsb_release -cs)-proposed.list
deb http://archive.ubuntu.com/ubuntu/ $(lsb_release -cs)-proposed restricted main multiverse universe
EOF
# apt update
# apt install docker.io -y
...
Setting up docker.io (20.10.7-0ubuntu2) ...
Adding group `docker' (GID 120) ...
Done.
Created symlink /etc/systemd/system/multi-user.target.wants/docker.service → /lib/systemd/system/docker.service.
Created symlink /etc/systemd/system/sockets.target.wants/docker.socket → /lib/systemd/system/docker.socket.
A dependency job for docker.service failed. See 'journalctl -xe' for details.
invoke-rc.d: initscript docker, action "start" failed.
○ docker.service - Docker Application Container Engine
Loaded: loaded (/lib/systemd/system/docker.service; enabled; vendor preset: enabled)
Active: inactive (dead)
TriggeredBy: × docker.socket
Docs: https://docs.docker.com
Sep 01 01:52:47 test-docker systemd[1]: Dependency failed for Docker Application Container Engine.
Sep 01 01:52:47 test-docker systemd[1]: docker.service: Job docker.service/start failed with result 'dependency'.
... |
|
2021-09-02 08:09:30 |
Michael Hudson-Doyle |
bug watch added |
|
https://sourceware.org/bugzilla/show_bug.cgi?id=28300 |
|
2021-09-02 08:09:30 |
Michael Hudson-Doyle |
bug watch added |
|
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=753725 |
|
2021-09-02 12:58:58 |
Matthieu Clemenceau |
tags |
block-proposed update-excuse |
block-proposed rls-ii-incoming update-excuse |
|
2021-09-03 00:11:27 |
Launchpad Janitor |
docker.io (Ubuntu): status |
New |
Confirmed |
|
2021-09-03 00:11:27 |
Launchpad Janitor |
glibc (Ubuntu): status |
New |
Confirmed |
|
2021-09-03 00:11:52 |
Jose Manuel Santamaria Lema |
bug |
|
|
added subscriber Jose Manuel Santamaria Lema |
2021-09-03 01:31:58 |
Michael Hudson-Doyle |
glibc (Ubuntu): status |
Confirmed |
Fix Committed |
|
2021-09-03 01:33:00 |
Michael Hudson-Doyle |
tags |
block-proposed rls-ii-incoming update-excuse |
rls-ii-incoming update-excuse |
|
2021-09-04 02:18:55 |
Launchpad Janitor |
glibc (Ubuntu): status |
Fix Committed |
Fix Released |
|
2021-09-07 21:02:48 |
Launchpad Janitor |
docker.io (Ubuntu): status |
Confirmed |
Fix Released |
|