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>
(cherry picked from commit 18e4ea9)
Signed-off-by: Austin Vazquez <macedonv@amazon.com>
  • Loading branch information
benjaminp authored and austinvazquez committed Oct 19, 2024
1 parent 7d2d0c6 commit cb82e52
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]
#uncomment to enable the experimental sbservice (sandboxed) version of containerd/cri integration
Expand Down

0 comments on commit cb82e52

Please sign in to comment.