-
Notifications
You must be signed in to change notification settings - Fork 241
Description
Describe the bug
Somehow, suddenly, I can't enter any toolbox containers, which is a big problem as I sort of can't do any work. I think this started when I was fiddling with my Fedora 44 container. I entered it, and several tabs which were open in Fedora 43 containers immediately exited (that was weird). Then I tried a dnf update in it, but it hung on the ca-certificates %post. So I decided to delete and re-create it. After a few toolbox rm fedora-toolbox-44, toolbox create fedora-toolbox-44, toolbox enter fedora-toolbox-44 cycles still gave me an old image, I realized I had to do toolbox rmi fedora-toolbox:44 too. Fine. Now I had an up-to-date fedora-toolbox-44. But somewhere along the way I did toolbox enter fedora-toolbox-43 on a different tab and it failed:
Error: usermod: UID '1000' already exists
failed to modify user adamw with UID 1000: failed to invoke usermod(1)
That was worrying, but I figured a reboot would clear it (it usually seems to clear up weird toolbox/podman things). But now I've rebooted, I can't get into fedora-toolbox-43 or fedora-toolbox-44. Verbose logs look basically the same for both:
[adamw@omnibook ~]$ toolbox -v enter fedora-toolbox-44
DEBU Running as real user ID 1000
DEBU Resolved absolute path to the executable as /usr/bin/toolbox
DEBU Running on a cgroups v2 host
DEBU Looking up sub-GID and sub-UID ranges for user adamw
DEBU TOOLBX_DELAY_ENTRY_POINT is
DEBU TOOLBX_FAIL_ENTRY_POINT is
DEBU TOOLBOX_PATH is /usr/bin/toolbox
DEBU Migrating to newer Podman
DEBU Toolbx config directory is /var/home/adamw/.config/toolbox
DEBU Current Podman version is 5.7.1
DEBU Creating runtime directory /run/user/1000/toolbox
DEBU Old Podman version is 5.7.1
DEBU Migration not needed: Podman version 5.7.1 is unchanged
DEBU Setting up configuration
DEBU Setting up configuration: file /var/home/adamw/.config/containers/toolbox.conf not found
DEBU Resolving container and image names
DEBU Container: ''
DEBU Distribution (CLI): ''
DEBU Image (CLI): ''
DEBU Release (CLI): ''
DEBU Resolved container and image names
DEBU Container: 'fedora-toolbox-44'
DEBU Image: 'fedora-toolbox:44'
DEBU Release: '44'
DEBU Resolving container and image names
DEBU Container: 'fedora-toolbox-44'
DEBU Distribution (CLI): ''
DEBU Image (CLI): ''
DEBU Release (CLI): ''
DEBU Resolved container and image names
DEBU Container: 'fedora-toolbox-44'
DEBU Image: 'fedora-toolbox:44'
DEBU Release: '44'
DEBU Checking if container fedora-toolbox-44 exists
DEBU Inspecting container fedora-toolbox-44
DEBU Entry point of container fedora-toolbox-44 is toolbox (PID=0)
DEBU Inspecting mounts of container fedora-toolbox-44
DEBU Generating Container Device Interface for NVIDIA
DEBU Generating Container Device Interface for NVIDIA: Management Library not found: could not load NVML library: libnvidia-ml.so.1: cannot open shared object file: No such file or directory
DEBU Generating Container Device Interface for NVIDIA: not a Tegra system: /sys/devices/soc0/family file not found
DEBU Generating Container Device Interface for NVIDIA: skipping
DEBU Starting 'p11-kit server' with socket /run/user/1000/toolbox/pkcs11
DEBU Starting 'p11-kit server': socket /run/user/1000/toolbox/pkcs11 already exists
DEBU Starting 'p11-kit server': skipping
DEBU Starting container fedora-toolbox-44
DEBU Inspecting container fedora-toolbox-44
DEBU Entry point of container fedora-toolbox-44 is toolbox (PID=0)
DEBU > Running as real user ID 0
DEBU > Resolved absolute path to the executable as /usr/bin/toolbox
DEBU > TOOLBX_DELAY_ENTRY_POINT is
DEBU > TOOLBX_FAIL_ENTRY_POINT is
DEBU > TOOLBOX_PATH is /usr/bin/toolbox
DEBU > Migrating to newer Podman
DEBU > Migration not needed: running inside a container
DEBU > Setting up configuration
DEBU > Setting up configuration: file /etc/containers/toolbox.conf not found
DEBU > Setting up configuration: file /root/.config/containers/toolbox.conf not found
DEBU > Resolving container and image names
DEBU > Container: ''
DEBU > Distribution (CLI): ''
DEBU > Image (CLI): ''
DEBU > Release (CLI): ''
DEBU > Resolved container and image names
DEBU > Container: 'fedora-toolbox-44'
DEBU > Image: 'fedora-toolbox:44'
DEBU > Release: '44'
DEBU > Creating /run/.toolboxenv
DEBU > Path /run/host/etc exists
DEBU > Resolved /etc/localtime to /run/host/usr/share/zoneinfo/America/Vancouver
DEBU > Creating regular file /etc/machine-id
DEBU > Binding /etc/machine-id to /run/host/etc/machine-id
DEBU > Creating directory /run/systemd/journal
DEBU > Binding /run/systemd/journal to /run/host/run/systemd/journal
DEBU > Creating directory /run/systemd/resolve
DEBU > Binding /run/systemd/resolve to /run/host/run/systemd/resolve
DEBU > Creating directory /run/systemd/sessions
DEBU > Binding /run/systemd/sessions to /run/host/run/systemd/sessions
DEBU > Creating directory /run/systemd/system
DEBU > Binding /run/systemd/system to /run/host/run/systemd/system
DEBU > Creating directory /run/systemd/users
DEBU > Binding /run/systemd/users to /run/host/run/systemd/users
DEBU > Creating directory /run/udev/data
DEBU > Binding /run/udev/data to /run/host/run/udev/data
DEBU > Creating directory /run/udev/tags
DEBU > Binding /run/udev/tags to /run/host/run/udev/tags
DEBU > Creating directory /tmp
DEBU > Binding /tmp to /run/host/tmp
DEBU > Creating directory /var/lib/flatpak
DEBU > Binding /var/lib/flatpak to /run/host/var/lib/flatpak
DEBU > Creating directory /var/lib/systemd/coredump
DEBU > Binding /var/lib/systemd/coredump to /run/host/var/lib/systemd/coredump
DEBU > Creating directory /var/log/journal
DEBU > Binding /var/log/journal to /run/host/var/log/journal
DEBU > Creating directory /var/mnt
DEBU > Binding /var/mnt to /run/host/var/mnt
DEBU > Creating directory /sys/fs/selinux
DEBU > Binding /sys/fs/selinux to /usr/share/empty
DEBU > Preparing to redirect /home to /var/home
DEBU > /var/home isn't a symbolic link
DEBU > Redirecting /home to /var/home
DEBU > Looking up group for sudo
DEBU > Group for sudo is wheel
DEBU > Modifying user adamw with UID 1000:
DEBU > usermod
DEBU > --append
DEBU > --groups
DEBU > wheel
DEBU > --home
DEBU > /var/home/adamw
DEBU > --password
DEBU >
DEBU > --shell
DEBU > /bin/bash
DEBU > --uid
DEBU > 1000
DEBU > adamw
Error: usermod: UID '1000' already exists
failed to modify user adamw with UID 1000: failed to invoke usermod(1)
Steps how to reproduce the behaviour
Run toolbox enter fedora-toolbox-43 or toolbox enter fedora-toolbox-44
Expected behaviour
A working toolbox
Actual behaviour
An error
Screenshots
Not needed, see output about
Output of toolbox --version (v0.0.90+)
toolbox version 0.3
Toolbx package info (rpm -q toolbox)
toolbox-0.3-2.fc44.x86_64
Output of podman version
Client: Podman Engine
Version: 5.7.1
API Version: 5.7.1
Go Version: go1.25.5 X:nodwarf5
Git Commit: f845d14e941889ba4c071f35233d09b29d363c75
Built: Tue Dec 9 16:00:00 2025
Build Origin: Fedora Project
OS/Arch: linux/amd64
Podman package info (rpm -q podman)
podman-5.7.1-1.fc44.x86_64
Info about your OS
Fedora Silverblue Rawhide
Additional context
N/A (see above)