You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Created a new container using the fedora 32 image. Seems to have some issues when using sudo within the container. If I run sudo dnf update it'll ask for a password, and won't accept the host password. Normally this doesn't require a password.
Error
When creating a new container the follow error appears.
$ toolbox enter -c rust-dev
/usr/bin/id: cannot find name for group ID 1000
I can confirm the issue. It is happening on my new install of fedora silverblue32 and in my case it is user 1001 instead of 1000. It also asks for a password whenever I try to use sudo.
spec
ostree://fedora:fedora/32/x86_64/silverblue
Version: 32.20200829.0 (2020-08-29T16:38:01Z)
BaseCommit: d7bf68998a9224f18067af35cb3d16508cbf7f66f11426b265968956100f3f4e
GPGSignature: Valid signature by 97A1AE57C3A2372CCA3A4ABA6C13026D12C944D0
LayeredPackages: awesome conky joe pavucontrol picom tlp udiskie volumeicon
It is an upstream bug (podman-container-tools/podman#7389) that was discussed in the ticket I shared in my previous comment. I'm certain this is a duplicate issue :-)
According to upstream developers the fix should be present in the next release (the current being v2.0.6).
But unless your workflow somehow relies on the presence of the name of the group, there's no real need to use the workaround. I hope the new version of Podman will fix the error message for all affected containers.
Activity
yilkalargaw commentedon Aug 31, 2020
I can confirm the issue. It is happening on my new install of fedora silverblue32 and in my case it is user 1001 instead of 1000. It also asks for a password whenever I try to use sudo.
spec
martymichal commentedon Aug 31, 2020
Hi @alexpattyn! This issue is a duplicate of #523.
martymichal commentedon Aug 31, 2020
@yilkalargaw, the latest release of Toolbox should fix the problem at least partially. https://github.com/containers/toolbox/releases/tag/0.0.95
alexpattyn commentedon Sep 1, 2020
@HarryMichal Thanks! My bad on the duplicate :/ I'll keep an eye out for the update in fedoras repos.
ljrk0 commentedon Sep 2, 2020
@HarryMichal I'm not sure whether this really is a duplicate, I was affected by #523 and while this is fixed in 0.0.95 this bug here still surfaces:
Maybe it's relevant that I'm using systemd-homed on Arch?
davidmichelfonseca commentedon Sep 9, 2020
I'm experiencing the same issue. Has anyone been able to resolve it?
martymichal commentedon Sep 9, 2020
It is an upstream bug (podman-container-tools/podman#7389) that was discussed in the ticket I shared in my previous comment. I'm certain this is a duplicate issue :-)
According to upstream developers the fix should be present in the next release (the current being v2.0.6).
martymichal commentedon Sep 9, 2020
@martinpitt shared a workaround with us that can fix the error message: #523 (comment)
But unless your workflow somehow relies on the presence of the name of the group, there's no real need to use the workaround. I hope the new version of Podman will fix the error message for all affected containers.
martymichal commentedon Sep 22, 2020
This should be fixed in the next release of Podman (current version is v2.0.6): podman-container-tools/podman#7541.
wkrea commentedon Oct 6, 2020
hey @DataRepository @leonardkoenig
the same issue happens to me, so i solved this just updating my distro
best regrads!!!