Skip to content

Commit

Permalink
Add After=dbus.service to containerd.service
Browse files Browse the repository at this point in the history
containerd launches runc, which communicates via dbus with systemd to start transient units. Thus, containerd should have an `After` dependency on `dbus.service` to prevent dbus from being shut down concurrently with containerd.

Signed-off-by: Benjamin Peterson <benjamin@engflow.com>
  • Loading branch information
benjaminp committed Oct 17, 2024
1 parent baf4a98 commit 18e4ea9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion containerd.service
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
[Unit]
Description=containerd container runtime
Documentation=https://containerd.io
After=network.target local-fs.target
After=network.target local-fs.target dbus.service

[Service]
ExecStartPre=-/sbin/modprobe overlay
Expand Down

0 comments on commit 18e4ea9

Please sign in to comment.