this post was submitted on 19 Jan 2022
4 points (100.0% liked)

Linux

48145 readers
922 users here now

From Wikipedia, the free encyclopedia

Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).

Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.

Rules

Related Communities

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

founded 5 years ago
MODERATORS
 

After updating my Fedora Linux machine it is no longer able to start the Docker container engine. Any ideas how to fix this?

Please find the journalctl -xe output afterwards:

░░ Support: https://lists.freedesktop.org/mailman/listinfo/systemd-devel
░░
░░ A start job for unit containerd.service has begun execution.
░░
░░ The job identifier is 6359.
Jan 19 08:19:35 server audit[3812]: AVC avc:  denied  { execute } for  pid=3812 comm="(ntainerd)" name="containerd" dev="dm-0" ino=>
Jan 19 08:19:35 server systemd[3812]: containerd.service: Failed to locate executable /usr/bin/containerd: Permission denied
░░ Subject: Process /usr/bin/containerd could not be executed
░░ Defined-By: systemd
░░ Support: https://lists.freedesktop.org/mailman/listinfo/systemd-devel
░░
░░ The process /usr/bin/containerd could not be executed and failed.
░░
░░ The error number returned by this process is ERRNO.
Jan 19 08:19:35 server systemd[3812]: containerd.service: Failed at step EXEC spawning /usr/bin/containerd: Permission denied
░░ Subject: Process /usr/bin/containerd could not be executed
░░ Defined-By: systemd
░░ Support: https://lists.freedesktop.org/mailman/listinfo/systemd-devel
░░
░░ The process /usr/bin/containerd could not be executed and failed.
░░
░░ The error number returned by this process is ERRNO.
Jan 19 08:19:35 server systemd[1]: containerd.service: Main process exited, code=exited, status=203/EXEC
░░ Subject: Unit process exited
░░ Defined-By: systemd
░░ Support: https://lists.freedesktop.org/mailman/listinfo/systemd-devel
░░
░░ An ExecStart= process belonging to unit containerd.service has exited.
░░
░░ The process' exit code is 'exited' and its exit status is 203.
Jan 19 08:19:35 server systemd[1]: containerd.service: Failed with result 'exit-code'.
░░ Subject: Unit failed
░░ Defined-By: systemd
░░ Support: https://lists.freedesktop.org/mailman/listinfo/systemd-devel
░░
░░ The unit containerd.service has entered the 'failed' state with result 'exit-code'.
Jan 19 08:19:35 server systemd[1]: Failed to start containerd container runtime.
░░ Subject: A start job for unit containerd.service has failed
░░ Defined-By: systemd
░░ Support: https://lists.freedesktop.org/mailman/listinfo/systemd-devel
░░
░░ A start job for unit containerd.service has finished with a failure.
░░
░░ The job identifier is 6359 and the job result is failed.
Jan 19 08:19:35 server audit[1]: SERVICE_START pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0 msg='uni>
lines 2153-2197/2197 (END)
░░ The unit docker.socket has entered the 'failed' state with result 'resources'.
Jan 19 08:19:32 server systemd[1]: Failed to listen on Docker Socket for the API.
░░ Subject: A start job for unit docker.socket has failed
░░ Defined-By: systemd
░░ Support: https://lists.freedesktop.org/mailman/listinfo/systemd-devel
░░
░░ A start job for unit docker.socket has finished with a failure.
░░
░░ The job identifier is 6358 and the job result is failed.
Jan 19 08:19:32 server systemd[1]: Dependency failed for Docker Application Container Engine.
░░ Subject: A start job for unit docker.service has failed
░░ Defined-By: systemd
░░ Support: https://lists.freedesktop.org/mailman/listinfo/systemd-devel
░░
░░ A start job for unit docker.service has finished with a failure.
░░
░░ The job identifier is 6221 and the job result is dependency.
Jan 19 08:19:32 server systemd[1]: docker.service: Job docker.service/start failed with result 'dependency'.
Jan 19 08:19:32 server sudo[3808]: pam_unix(sudo:session): session closed for user root
Jan 19 08:19:32 server audit[3808]: USER_END pid=3808 uid=1000 auid=1000 ses=2 subj=unconfined_u:unconfined_r:unconfined_t:s0-s0:c0.c1023 msg='op=PAM:ses>
Jan 19 08:19:32 server audit[3808]: CRED_DISP pid=3808 uid=1000 auid=1000 ses=2 subj=unconfined_u:unconfined_r:unconfined_t:s0-s0:c0.c1023 msg='op=PAM:se>
Jan 19 08:19:35 server systemd[1]: containerd.service: Scheduled restart job, restart counter is at 17.
░░ Subject: Automatic restarting of a unit has been scheduled
░░ Defined-By: systemd
░░ Support: https://lists.freedesktop.org/mailman/listinfo/systemd-devel
░░
░░ Automatic restarting of the unit containerd.service has been scheduled, as the result for
░░ the configured Restart= setting for the unit.
Jan 19 08:19:35 server audit[1]: SERVICE_START pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0 msg='unit=containerd comm="sys>
Jan 19 08:19:35 server audit[1]: SERVICE_STOP pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0 msg='unit=containerd comm="syst>
Jan 19 08:19:35 server systemd[1]: Stopped containerd container runtime.
░░ Subject: A stop job for unit containerd.service has finished
░░ Defined-By: systemd
░░ Support: https://lists.freedesktop.org/mailman/listinfo/systemd-devel
░░
░░ A stop job for unit containerd.service has finished.
░░
░░ The job identifier is 6359 and the job result is done.
Jan 19 08:19:35 server systemd[1]: Starting containerd container runtime...
░░ Subject: A start job for unit containerd.service has begun execution
░░ Defined-By: systemd
░░ Support: https://lists.freedesktop.org/mailman/listinfo/systemd-devel
░░
░░ A start job for unit containerd.service has begun execution.
░░
░░ The job identifier is 6359.
Jan 19 08:19:35 server audit[3812]: AVC avc:  denied  { execute } for  pid=3812 comm="(ntainerd)" name="containerd" dev="dm-0" ino=1970611 scontext=syste>
Jan 19 08:19:35 server systemd[3812]: containerd.service: Failed to locate executable /usr/bin/containerd: Permission denied
░░ Subject: Process /usr/bin/containerd could not be executed
░░ Defined-By: systemd
░░ Support: https://lists.freedesktop.org/mailman/listinfo/systemd-devel
░░
░░ The process /usr/bin/containerd could not be executed and failed.
░░
░░ The error number returned by this process is ERRNO.
Jan 19 08:19:35 server systemd[3812]: containerd.service: Failed at step EXEC spawning /usr/bin/containerd: Permission denied
░░ Subject: Process /usr/bin/containerd could not be executed
░░ Defined-By: systemd
░░ Support: https://lists.freedesktop.org/mailman/listinfo/systemd-devel
░░
░░ The process /usr/bin/containerd could not be executed and failed.
░░
░░ The error number returned by this process is ERRNO.
Jan 19 08:19:35 server systemd[1]: containerd.service: Main process exited, code=exited, status=203/EXEC
░░ Subject: Unit process exited
░░ Defined-By: systemd
░░ Support: https://lists.freedesktop.org/mailman/listinfo/systemd-devel
░░
lines 2112-2179/2197 99%
░░ The unit docker.socket has entered the 'failed' state with result 'resources'.
Jan 19 08:19:32 server systemd[1]: Failed to listen on Docker Socket for the API.
░░ Subject: A start job for unit docker.socket has failed
░░ Defined-By: systemd
░░ Support: https://lists.freedesktop.org/mailman/listinfo/systemd-devel
░░
░░ A start job for unit docker.socket has finished with a failure.
░░
░░ The job identifier is 6358 and the job result is failed.
Jan 19 08:19:32 server systemd[1]: Dependency failed for Docker Application Container Engine.
░░ Subject: A start job for unit docker.service has failed
░░ Defined-By: systemd
░░ Support: https://lists.freedesktop.org/mailman/listinfo/systemd-devel
░░
░░ A start job for unit docker.service has finished with a failure.
░░
░░ The job identifier is 6221 and the job result is dependency.
Jan 19 08:19:32 server systemd[1]: docker.service: Job docker.service/start failed with result 'dependency'.
Jan 19 08:19:32 server sudo[3808]: pam_unix(sudo:session): session closed for user root
Jan 19 08:19:32 server audit[3808]: USER_END pid=3808 uid=1000 auid=1000 ses=2 subj=unconfined_u:unconfined_r:unconfined_t:s0-s0:c0.c1023 msg='op=PAM:session_close grantors=pam_keyinit,pam_limits,pam_keyinit,pam_limits,pam_systemd,pam_unix acct="root" exe="/usr/bin/sudo" hostname=? addr=? terminal=/dev/pts/>
Jan 19 08:19:32 server audit[3808]: CRED_DISP pid=3808 uid=1000 auid=1000 ses=2 subj=unconfined_u:unconfined_r:unconfined_t:s0-s0:c0.c1023 msg='op=PAM:setcred grantors=pam_env,pam_fprintd acct="root" exe="/usr/bin/sudo" hostname=? addr=? terminal=/dev/pts/0 res=success'
Jan 19 08:19:35 server systemd[1]: containerd.service: Scheduled restart job, restart counter is at 17.
░░ Subject: Automatic restarting of a unit has been scheduled
░░ Defined-By: systemd
░░ Support: https://lists.freedesktop.org/mailman/listinfo/systemd-devel
░░
░░ Automatic restarting of the unit containerd.service has been scheduled, as the result for
░░ the configured Restart= setting for the unit.
Jan 19 08:19:35 server audit[1]: SERVICE_START pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0 msg='unit=containerd comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
Jan 19 08:19:35 server audit[1]: SERVICE_STOP pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0 msg='unit=containerd comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
Jan 19 08:19:35 server systemd[1]: Stopped containerd container runtime.
░░ Subject: A stop job for unit containerd.service has finished
░░ Defined-By: systemd
░░ Support: https://lists.freedesktop.org/mailman/listinfo/systemd-devel
░░
░░ A stop job for unit containerd.service has finished.
░░
░░ The job identifier is 6359 and the job result is done.
Jan 19 08:19:35 server systemd[1]: Starting containerd container runtime...
░░ Subject: A start job for unit containerd.service has begun execution
░░ Defined-By: systemd
░░ Support: https://lists.freedesktop.org/mailman/listinfo/systemd-devel
░░
░░ A start job for unit containerd.service has begun execution.
░░
░░ The job identifier is 6359.
Jan 19 08:19:35 server audit[3812]: AVC avc:  denied  { execute } for  pid=3812 comm="(ntainerd)" name="containerd" dev="dm-0" ino=1970611 scontext=system_u:system_r:init_t:s```
you are viewing a single comment's thread
view the rest of the comments
[–] matl@lemmy.ml 1 points 2 years ago

It is working again after uninstalling and reinstalling docker again. Don't know what the problem is, but luckily it works again...

sudo dnf remove docker \
                  docker-client \
                  docker-client-latest \
                  docker-common \
                  docker-latest \
                  docker-latest-logrotate \
                  docker-logrotate \
                  docker-selinux \
                  docker-engine-selinux \
                  docker-engine
sudo dnf -y install dnf-plugins-core

 sudo dnf config-manager \
    --add-repo \
    https://download.docker.com/linux/fedora/docker-ce.repo
sudo dnf install docker-ce docker-ce-cli containerd.io