reassign 995225 docker.io
fixed 995225 0.9.1~dfsg1-1
thanks

On Tue, 28 Sept 2021 at 00:45, Andrius Narbutas <abial...@gmail.com> wrote:
> Package: docker
> Version: 1.5-2
> Severity: normal

As seen in my control bits above, you've got the wrong Docker, unfortunately.

I've reassigned the bug appropriately from the wmdocker utility to the
Docker Engine.

> Setup: debian buster upgraded to bullseye using apt dist-upgrade
> In buster i had few docker containers running without issues. Upgraded to 
> bullseye - and docker refuses to start:
>
> dockerd[42547]: Error starting daemon: Devices cgroup isn't mounted
>
> Turns out that i should manually install "cgroupfs-mount" package, then it 
> mounts cgroup and then docker can start.
>
> I think, that docker should suggest this package, if not depend on it (else 
> dockerd won't start and docker will be useless).
> Currently suggested packages by docker:

The docker.io package has included "cgroupfs-mount" in Recommends (or
higher) since version 0.9.1~dfsg1-1 (when I added it, back in 2014
:D).

Frankly though, I'd suggest (hah) that it should be downgraded to
Suggests instead -- on a modern init system (systemd, openrc, etc),
the init system sets up and manages the cgroup hierarchy, which ends
up being a lot more stable/reliable than the "cgroupfs-mount" package
ever was, especially now that we have cgroupsv2 (which that package
doesn't support, and Docker's cgroupsv2 support relies on systemd
anyhow).

I suppose we could use something "clever" like "cgroupfs-mount |
systemd-sysv" but that still seems pretty fragile IMO.

♥,
- Tianon
  4096R / B42F 6819 007F 00F8 8E36  4FD4 036A 9C25 BF35 7DD4

Reply via email to