Package: containerd
Severity: normal

Dear Maintainer,

containerd launches runc, which calls systemd via dbus to set up transient 
units. If dbus is not available, for example because it is shut down before 
containerd, runc will fail. Therefore, containerd should have at least an 
"After" systemd dependency on dbus.service.

It's interesting to note that Ubuntu has had a patch to dbus [1] for nearly a 
decade that simply makes dbus a dependency of almost everything. However, it's 
probably better to annotate the services (like containerd) that need dbus as 
suggested by the systemd maintainers [2].

[1] 
https://git.launchpad.net/ubuntu/+source/dbus/tree/debian/patches/ubuntu/dont-stop-dbus.patch
[2] https://bugs.freedesktop.org/show_bug.cgi?id=89847#c14

-- System Information:
Debian Release: 12.7
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable-security'), (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 6.1.0-25-cloud-amd64 (SMP w/8 CPU threads; PREEMPT)
Locale: LANG=C.UTF-8, LC_CTYPE=C.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages containerd depends on:
ii  libc6  2.36-9+deb12u8
pn  runc   <none>

containerd recommends no packages.

Versions of packages containerd suggests:
pn  containernetworking-plugins  <none>

Reply via email to