Bug 745798

Summary: 'groups' does not report group I am a member of
Product: [Fedora] Fedora Reporter: Ales Kozumplik <akozumpl>
Component: shadow-utilsAssignee: Peter Vrabec <pvrabec>
Status: CLOSED DUPLICATE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 16CC: fabian.deutsch, jzeleny, kdudka, maxamillion, ovasik, pvrabec, tmraz, twaugh
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-10-13 14:22:50 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Ales Kozumplik 2011-10-13 13:14:03 UTC
Description of problem:
This is with the latest F16 beta, fully updated.

Steps to Reproduce:
1. as root: usermod -a -G wheel akozumpl
2. logout, login again as akozumpl
3. $ groups
  
Actual results:
akozumpl

Expected results:
akozumpl wheel

Additional info:
I did the 'usermod' step yesterday before doing 'yum update'. It was after 'yum update' when 'groups' stopped working correctly (I can still see my name with 'wheel' in /etc/groups).

Comment 1 Ondrej Vasik 2011-10-13 13:23:25 UTC
I don't think it has anything to do with groups command - groups (and id -Gn) is just using getgroups(2) from glibc.
So it might be issue with glibc or shadow-utils - let's try shadow-utils first. Peter, feel free to reassign it if you thing that the issue is on different place.

Comment 2 Fabian Deutsch 2011-10-13 14:22:50 UTC

*** This bug has been marked as a duplicate of bug 745675 ***