Skip to content

Commit 18e4ea9

Browse files
committed
Add After=dbus.service to containerd.service
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 <[email protected]>
1 parent baf4a98 commit 18e4ea9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

containerd.service

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
[Unit]
1616
Description=containerd container runtime
1717
Documentation=https://containerd.io
18-
After=network.target local-fs.target
18+
After=network.target local-fs.target dbus.service
1919

2020
[Service]
2121
ExecStartPre=-/sbin/modprobe overlay

0 commit comments

Comments
 (0)