Skip to content

cannot find name for group ID 1000 #549

Closed

Description

@alexpattyn

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

Activity

  1. yilkalargaw commented on Aug 31, 2020

    @yilkalargaw

    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
    
    
    
  2. martymichal commented on Aug 31, 2020

    @martymichal
    Member

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

  3. added
    4. Duplicate
    on Aug 31, 2020
  4. martymichal commented on Aug 31, 2020

    @martymichal
    Member
  5. alexpattyn commented on Sep 1, 2020

    @alexpattyn
    Author

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

  6. ljrk0 commented on Sep 2, 2020

    @ljrk0

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

  7. davidmichelfonseca commented on Sep 9, 2020

    @davidmichelfonseca

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

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

  8. martymichal commented on Sep 9, 2020

    @martymichal
    Member

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

  9. martymichal commented on Sep 9, 2020

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

  10. martymichal commented on Sep 22, 2020

    @martymichal
    Member

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

  11. wkrea commented on Oct 6, 2020

    @wkrea

    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

Metadata

Metadata

Assignees

No one assigned

    Labels

    4. Duplicate

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions