I have successfully upgraded my Debian buster to latest version (Bullseye) and after that, whenever I want to reboot or shut it down, it takes several minutes to complete while waiting for some process to finish with these messages:
watchdog: watchdog0: watchdog did not stop! systemd-shutdown: Syncing filesystem and block devices. systemd-shutdown: Sending SIGTERM to remaining process... systemd-journald: Received SIGTERM from PID 1 (systemd-shutdown). systemd-shutdown: waiting for process: containerd-shim.
I've got docker installed on my system which seems to be the cause of problem.
$ ps aux | grep containerd-shim root 3420 0.0 0.1 1451744 21876 ? Sl 11:07 0:00 /usr/bin/containerd-shim-runc-v2 -namespace moby -id 0dd6b89a62d...66cc5c0a44b6f01d77c -address /run/containerd/containerd.sock $ dpkg -S /usr/bin/containerd-shim-runc-v2 containerd: /usr/bin/containerd-shim-runc-v2 $ aptitude why containerd i docker.io Depends containerd
I've tried stopping dockers' service/socket before rebooting the system. Nothing changed.
Any idea how to resolve this?
$ docker version Client: Version: 20.10.5+dfsg1 API version: 1.41 Go version: go1.15.9 Git commit: 55c4c88 Built: Wed Aug 4 19:55:57 2021 OS/Arch: linux/amd64 Context: default Experimental: true Server: Engine: Version: 20.10.5+dfsg1 API version: 1.41 (minimum version 1.12) Go version: go1.15.9 Git commit: 363e9a8 Built: Wed Aug 4 19:55:57 2021 OS/Arch: linux/amd64 Experimental: false containerd: Version: 1.4.5~ds1 GitCommit: 1.4.5~ds1-2 runc: Version: 1.0.0~rc93+ds1 GitCommit: 1.0.0~rc93+ds1-5+b2 docker-init: Version: 0.19.0 GitCommit: