Closed kavishgr closed 5 months ago
level=debug msg="Removing password for user root" Error: failed to remove password for root: passwd(1) not found
It's failing because the container doesn't have passwd(1)
.
Create toolbox containter with: toolbox create --image registry.fedoraproject.org/fedora:39 fedora
This isn't supported, because registry.fedoraproject.org/fedora:39
isn't a Toolbx image, which means that in this case passwd(1)
is missing from it.
We should probably at least add a warning when users try to use non-Toolbx images.
Is there any reason you didn't want to use the default registry.fedoraproject.org/fedora-toolbox
images for Fedora?
Is there any reason you didn't want to use the default
registry.fedoraproject.org/fedora-toolbox
images for Fedora?
How did I miss this! It should have been a toolbox image. There was a bug on Google Cloud
. It was configured to fetch a base Fedora image
instead of the toolbox in /etc/default/toolbox
. Sorry for wasting your time.
Is there any reason you didn't want to use the default
registry.fedoraproject.org/fedora-toolbox
images for Fedora?How did I miss this! It should have been a toolbox image. There was a bug on
Google Cloud
. It was configured to fetch abase Fedora image
instead of the toolbox in/etc/default/toolbox
. Sorry for wasting your time.
I see, cool. Thanks for stopping by.
Describe the bug
Getting the following error when entering a toolbox container with
toolbox enter
:Podman logs says (
Error: failed to remove password for root: passwd(1) not found
) :Toolbox with
--log-devel debug
says (Error: invalid entry point PID of container fedora
):The output of
podman start --attach
:Steps how to reproduce the behaviour
toolbox create --image registry.fedoraproject.org/fedora:39 fedora
toolbox enter fedora
Expected behaviour Get a shell inside the container
Toolbox Version
Toolbox package info (
rpm -q toolbox
)Output of
podman version
Podman package info (
rpm -q podman
)Info about your OS