Skip to content

Commit

Permalink
containerd: add After=dbus.service (#11783)
Browse files Browse the repository at this point in the history
This is needed for shutdown ordering: while at startup, it's not a
problem that containerd start before dbus (the dbus socket already
exists) it needs to shutdown before dbus to do its cleanup (asking
systemd via dbus to cleanup cgroups).

Co-authored-by: Max Gautier <[email protected]>
  • Loading branch information
k8s-infra-cherrypick-robot and VannTen authored Dec 11, 2024
1 parent 586ba66 commit 6c5bff6
Showing 1 changed file with 1 addition and 1 deletion.
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 6c5bff6

Please sign in to comment.