Uploaded image for project: 'RHEL'
  1. RHEL
  2. RHEL-112458

glibc: Duplicate user entries when using `getent group` with nsswitch.conf 'group: ... [SUCCESS=merge]'

Linking RHIVOS CVEs to...Migration: Automation ...SWIFT: POC ConversionSync from "Extern...XMLWordPrintable

    • No
    • Low
    • 1
    • rhel-pt-c-libs
    • None
    • False
    • False
    • Hide

      None

      Show
      None
    • None
    • PT C Libraries Refinement
    • None
    • None
    • Unspecified
    • Unspecified
    • Unspecified
    • None

      What were you trying to do that didn't work?

      Run `getent group` and see the correct groups in the output.

      ~~~

      1. getent group wheel
        wheel:x:10:testuser02,testuser02

      ~~~

       

      What is the impact of this issue to you?

      Makes querying groups more confusing and less reliable for automation.

      Please provide the package NVR for which the bug is seen:

      • glibc-2.34-168.el9_6.20.x86_64

      How reproducible is this bug?: Always 

      Steps to reproduce

      1. `authselect select sssd`
      2. In sssd.conf `id_provider = files` or with `id_provider = proxy   proxy_lib_name = files`
      1. Add a user to a group
      2. Run `getent group` command

      Expected results

      One entry of each user in the group

      Actual results

      Two entries of each user in the group

      ~~~

      1. getent group testgroup02
        testgroup02:x:1013:testuser04,ryan,testuser04,ryan

      ~~~

              fweimer@redhat.com Florian Weimer
              rhn-support-rburres Ryan Burres
              Platform Tools - Libraries Bot Platform Tools - Libraries Bot
              Sergey Kolosov Sergey Kolosov
              Votes:
              0 Vote for this issue
              Watchers:
              10 Start watching this issue

                Created:
                Updated: