I just updated endless and now I can’t enter toolbox anymore
Any help would be appreciated
Can you please run:
toolbox --verbose enter --release 33
And post the output here
this is the output :
toolbox: resolved absolute path for /usr/bin/toolbox to /usr/bin/toolbox
toolbox: checking if /etc/subgid and /etc/subuid have entries for user nazanin
toolbox: TOOLBOX_PATH is /usr/bin/toolbox
toolbox: checking if ‘podman system migrate’ exists
toolbox: migration not needed: 1.5.1 is unchanged
toolbox: Fedora generational core is f33
toolbox: base image is fedora-toolbox:33
toolbox: container is fedora-toolbox-33
toolbox: checking if container fedora-toolbox-33 exists
toolbox: calling org.freedesktop.Flatpak.SessionHelper.RequestSession
toolbox: starting container fedora-toolbox-33
toolbox: /etc/profile.d/toolbox.sh already mounted in container fedora-toolbox-33
Error: unable to start container “fedora-toolbox-33”: error reading container (probably exited) json message: EOF
toolbox: failed to start container fedora-toolbox-33
OK, please now run the following command and upload the logfile generated:
podman stop fedora-toolbox-33
echo PODMAN START >> ~/podman-log.txt
podman start --log-level=debug fedora-toolbox-33 2>&1 | tee -a ~/podman-log.txt
echo PODMAN EXEC >> ~/podman-log.txt
podman exec --interactive --tty fedora-toolbox-33 /bin/true 2>&1 | tee -a ~/podman-log.txt
echo PODMAN CONTAINER INSPECT >> ~/podman-log.txt
podman container inspect fedora-toolbox-33 2>&1 | tee -a ~/podman-log.txt
The file is named podman-log.txt
in your home directory and contains very detailled information which should help us finding the root cause of the issue.
this is the result , which i don’t i understand a thing btw
podman-log.txt (29.2 KB)
OK, please now:
journalctl -f -t conmon
podman start --log-level=debug fedora-toolbox-33
I really appreciate you helping me with this
– Logs begin at Sat 2021-04-17 19:54:00 +0430. –
Apr 19 21:54:34 endless conmon[37211]: conmon 81f9cc22be4270c89d2b : failed to write to /proc/self/oom_score_adj: Permission denied
Apr 19 21:54:34 endless conmon[37212]: conmon 81f9cc22be4270c89d2b : attach sock path: /run/user/1000/libpod/tmp/socket/81f9cc22be4270c89d2bc92e038682f3d8691da0a3af8d3cd029a1aa68e58f0f/attach
Apr 19 21:54:34 endless conmon[37212]: conmon 81f9cc22be4270c89d2b : addr{sun_family=AF_UNIX, sun_path=/run/user/1000/libpod/tmp/socket/81f9cc22be4270c89d2bc92e038682f3d8691da0a3af8d3cd029a1aa68e58f0f/attach}
Apr 19 21:54:34 endless conmon[37212]: conmon 81f9cc22be4270c89d2b : ctl fifo path: /sysroot/home/nazanin/.local/share/containers/storage/overlay-containers/81f9cc22be4270c89d2bc92e038682f3d8691da0a3af8d3cd029a1aa68e58f0f/userdata/ctl
Apr 19 21:54:34 endless conmon[37212]: conmon 81f9cc22be4270c89d2b : Failed to mkfifo at /sysroot/home/nazanin/.local/share/containers/storage/overlay-containers/81f9cc22be4270c89d2bc92e038682f3d8691da0a3af8d3cd029a1aa68e58f0f/userdata/ctl: File exists
Apr 19 21:56:50 endless conmon[37375]: conmon 81f9cc22be4270c89d2b : failed to write to /proc/self/oom_score_adj: Permission denied
Apr 19 21:56:50 endless conmon[37376]: conmon 81f9cc22be4270c89d2b : attach sock path: /run/user/1000/libpod/tmp/socket/81f9cc22be4270c89d2bc92e038682f3d8691da0a3af8d3cd029a1aa68e58f0f/attach
Apr 19 21:56:50 endless conmon[37376]: conmon 81f9cc22be4270c89d2b : addr{sun_family=AF_UNIX, sun_path=/run/user/1000/libpod/tmp/socket/81f9cc22be4270c89d2bc92e038682f3d8691da0a3af8d3cd029a1aa68e58f0f/attach}
Apr 19 21:56:50 endless conmon[37376]: conmon 81f9cc22be4270c89d2b : ctl fifo path: /sysroot/home/nazanin/.local/share/containers/storage/overlay-containers/81f9cc22be4270c89d2bc92e038682f3d8691da0a3af8d3cd029a1aa68e58f0f/userdata/ctl
Apr 19 21:56:50 endless conmon[37376]: conmon 81f9cc22be4270c89d2b : Failed to mkfifo at /sysroot/home/nazanin/.local/share/containers/storage/overlay-containers/81f9cc22be4270c89d2bc92e038682f3d8691da0a3af8d3cd029a1aa68e58f0f/userdata/ctl: File exists
– Reboot –
Apr 20 18:48:37 endless conmon[2341]: conmon 81f9cc22be4270c89d2b : failed to write to /proc/self/oom_score_adj: Permission denied
Apr 20 18:48:37 endless conmon[2342]: conmon 81f9cc22be4270c89d2b : attach sock path: /run/user/1000/libpod/tmp/socket/81f9cc22be4270c89d2bc92e038682f3d8691da0a3af8d3cd029a1aa68e58f0f/attach
Apr 20 18:48:37 endless conmon[2342]: conmon 81f9cc22be4270c89d2b : addr{sun_family=AF_UNIX, sun_path=/run/user/1000/libpod/tmp/socket/81f9cc22be4270c89d2bc92e038682f3d8691da0a3af8d3cd029a1aa68e58f0f/attach}
Apr 20 18:48:37 endless conmon[2342]: conmon 81f9cc22be4270c89d2b : ctl fifo path: /sysroot/home/nazanin/.local/share/containers/storage/overlay-containers/81f9cc22be4270c89d2bc92e038682f3d8691da0a3af8d3cd029a1aa68e58f0f/userdata/ctl
Apr 20 18:48:37 endless conmon[2342]: conmon 81f9cc22be4270c89d2b : terminal_ctrl_fd: 13
Apr 20 18:48:37 endless conmon[2342]: conmon 81f9cc22be4270c89d2b : Failed to create container: exit status 1
DEBU[0001] Received: -1
DEBU[0001] Cleaning up container 81f9cc22be4270c89d2bc92e038682f3d8691da0a3af8d3cd029a1aa68e58f0f
DEBU[0001] Network is already cleaned up, skipping…
DEBU[0001] unmounted container “81f9cc22be4270c89d2bc92e038682f3d8691da0a3af8d3cd029a1aa68e58f0f”
ERRO[0001] unable to start container “fedora-toolbox-33”: time=“2021-04-20T18:48:37+04:30” level=warning msg=“exit status 1”
time=“2021-04-20T18:48:37+04:30” level=warning msg=“no such directory for freezer.state”
time=“2021-04-20T18:48:37+04:30” level=warning msg=“no such directory for freezer.state”
time=“2021-04-20T18:48:37+04:30” level=error msg=“container_linux.go:346: starting container process caused “process_linux.go:449: container init caused \“rootfs_linux.go:58: mounting \\\”/dev\\\” to rootfs \\\”/sysroot/home/nazanin/.local/share/containers/storage/overlay/72bdf0b09a81e63900cf1abe6564c0a58a44f19fe91cd24054dc4576556962f3/merged\\\" at \\\"/sysroot/home/nazanin/.local/share/containers/storage/overlay/72bdf0b09a81e63900cf1abe6564c0a58a44f19fe91cd24054dc4576556962f3/merged/dev\\\" caused \\\“operation not permitted\\\”\""\n"
container_linux.go:346: starting container process caused “process_linux.go:449: container init caused “rootfs_linux.go:58: mounting \”/dev\” to rootfs \"/sysroot/home/nazanin/.local/share/containers/storage/overlay/72bdf0b09a81e63900cf1abe6564c0a58a44f19fe91cd24054dc4576556962f3/merged\" at \"/sysroot/home/nazanin/.local/share/containers/storage/overlay/72bdf0b09a81e63900cf1abe6564c0a58a44f19fe91cd24054dc4576556962f3/merged/dev\" caused \“operation not permitted\”"": OCI runtime error
Can you please run the following commands:
podman stop fedora-toolbox-33
sudo rm /sysroot/home/nazanin/.local/share/containers/storage/overlay-containers/81f9cc22be4270c89d2bc92e038682f3d8691da0a3af8d3cd029a1aa68e58f0f/userdata/ctl
Now, try to enter the Toolbox:
toolbox enter --release 33
Does it work now?
sadly it didn’t work
when I run the first command I get this :
Error: can only stop created, running, or stopped containers. 81f9cc22be4270c89d2bc92e038682f3d8691da0a3af8d3cd029a1aa68e58f0f is in state configured: container state improper
OK, the first error is expected - the command is just there to make sure that the container is stopped before executing the second command.
Sadly i’m running out of ideas … if you don’t have any special reasons for keeping this toolbox, i would go the route of removing it and simply creating it from scratch.
toolbox rm -f -a
will remove all currently configured toolboxes (which is normally only one).
I was just about to ask if I can remove it
I should have just done this from the beginning
hopefully I won’t run into any problem while reinstalling my stuff
Thank you for all of your help Egarth
You’re welcome. We both learned from this one
This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.