Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cannot find name for group ID 1000 #549

Closed
alexpattyn opened this issue Aug 31, 2020 · 10 comments
Closed

cannot find name for group ID 1000 #549

alexpattyn opened this issue Aug 31, 2020 · 10 comments
Labels
4. Duplicate This issue or pull request already exists

Comments

@alexpattyn
Copy link

Issue

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

Specs

● ostree://fedora:fedora/32/x86_64/silverblue
                   Version: 32.20200829.0 (2020-08-29T16:38:01Z)
                BaseCommit: d7bf68998a9224f18067af35cb3d16508cbf7f66f11426b265968956100f3f4e
              GPGSignature: Valid signature by 97A1AE57C3A2372CCA3A4ABA6C13026D12C944D0
           LayeredPackages: gnome-tweak-tool
$ toolbox --version
toolbox version 0.0.93
@yilkalargaw
Copy link

yilkalargaw commented 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

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


@HarryMichal
Copy link
Member

Hi @alexpattyn! This issue is a duplicate of #523.

@HarryMichal HarryMichal added the 4. Duplicate This issue or pull request already exists label Aug 31, 2020
@HarryMichal
Copy link
Member

@yilkalargaw, the latest release of Toolbox should fix the problem at least partially. https://github.com/containers/toolbox/releases/tag/0.0.95

@alexpattyn
Copy link
Author

@HarryMichal Thanks! My bad on the duplicate :/ I'll keep an eye out for the update in fedoras repos.

@ljrk0
Copy link
Contributor

ljrk0 commented 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:

$ toolbox enter -r f32
/usr/bin/id: cannot find name for group ID 60021

Maybe it's relevant that I'm using systemd-homed on Arch?

@davidmichelfonseca
Copy link

Screenshot from 2020-09-09 02-36-34

I'm experiencing the same issue. Has anyone been able to resolve it?

@HarryMichal
Copy link
Member

It is an upstream bug (containers/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).

@HarryMichal
Copy link
Member

@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.

@HarryMichal
Copy link
Member

This should be fixed in the next release of Podman (current version is v2.0.6): containers/podman#7541.

@wkrea
Copy link

wkrea commented Oct 6, 2020

hey @DataRepository @leonardkoenig

the same issue happens to me, so i solved this just updating my distro

image

best regrads!!!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
4. Duplicate This issue or pull request already exists
Projects
None yet
Development

No branches or pull requests

6 participants