/bin/groups (sys-apps/shadow-4.5) returns list of supplementary groups doubled. but /usr/bin/id works as expected. Reproducible: Always Steps to Reproduce: 1.run /bin/groups user Actual Results: wheel uucp cdrom video cdrw usb users mail plugdev vboxusers wireshark wheel uucp cdrom video cdrw usb users mail plugdev vboxusers wireshark user Expected Results: wheel uucp cdrom video cdrw usb users mail plugdev vboxusers wireshark user This also breaks app-admin/puppet-agent which relies on groups for is "user" resource. I can reproduce this on three machines.
Created attachment 504506 [details] emerge --info sys-apps/shadow emerge --info sys-apps/shadow as attachment
https://github.com/shadow-maint/shadow/issues/87
Please show us your /etc/nsswitch.conf.
Created attachment 504962 [details] /etc/nsswitch.conf
(In reply to Francesco Turco from comment #4) Mine /etc/nsswitch.conf is same as is in attachment
I now have sys-apps/shadow-4.5-r1 and I cannot reproduce this bug anymore.
(In reply to Francesco Turco from comment #6) I do still have this problem even with sys-apps/shadow-4.5-r1
It does not happen with sys-apps/shadow-4.6
It's strange but I can now reproduce this bug again with shadow-4.6.
With sys-apps/shadow-4.8.1-r1 everything seems OK. Can anyone else confirm?
(In reply to Francesco Turco from comment #10) > With sys-apps/shadow-4.8.1-r1 everything seems OK. Can anyone else confirm? With sys-apps/shadow-4.6, I got the following : user@user ~ $ /bin/groups user wheel audio cdrom video usb vboxguest user
Reopen if still a problem.