Bug 745661 - login sets only one group ignoring /etc/group /etc/gshadow
login sets only one group ignoring /etc/group /etc/gshadow
Status: CLOSED DUPLICATE of bug 745675
Product: Fedora
Classification: Fedora
Component: distribution (Show other bugs)
All Linux
urgent Severity high
: ---
: ---
Assigned To: Bill Nottingham
Bill Nottingham
Depends On:
  Show dependency treegraph
Reported: 2011-10-12 19:14 EDT by Barry Fishman
Modified: 2014-03-16 23:29 EDT (History)
3 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: 745675
Last Closed: 2011-10-12 22:18:37 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Barry Fishman 2011-10-12 19:14:18 EDT
Description of problem:
After upgrade on 2011-10-12, I found that when I log in I am only a
member of the group specified in /etc/password and not the other groups
specified in /etc/group /etc/gshadow

Version-Release number of selected component (if applicable):
Fedora 15

How reproducible:
True for all gdm and console login's I have tried

Steps to Reproduce:
1. Login on console or through gdm
2. Perform a 'id' or 'groups' command
   Or try changing group ownership of file to another group of which you are
   a member.

Actual results:

% grep barry /etc/group

% grep barry /etc/passwd
barry:x:500:500:Barry Fishman:/home2/barry:/bin/bash
% id
uid=500(barry) gid=500(barry) groups=500(barry)

% groups

% ls -dl .
drwxr-sr-x 2 barry barry 4096 Oct 12 19:04 .

% touch foo
% chgrp util foo
chgrp: changing group of `foo': Operation not permitted

Expected results:

% groups
wheel util ftp barry

Additional info:

% uname -a
Linux ecube.site 3.1.0-0.rc9.git0.0.fc16.x86_64 #1 SMP Wed Oct 5 15:30:54 UTC 2011 x86_64 x86_64 x86_64 GNU/Linux
Comment 1 Michal Ambroz 2011-10-12 20:49:28 EDT
Same symptoms - Fedora 16 Beta i686
I just updated packaged using "yum -y update" and found that groups are not processed:

[root@mixer ~]# grep root /etc/group
[root@mixer ~]# id root
uid=0(root) gid=0(root) groups=0(root)

Linux mixer.localdomain 3.1.0-0.rc9.git0.0.fc16.i686.PAE #1 SMP Wed Oct 5 15:51:55 UTC 2011 i686 i686 i386 GNU/Linux
Comment 2 Michal Ambroz 2011-10-12 22:18:37 EDT
Rebooting to old kernel didn't help so issue is most probably about glibc
upgraded from glibc-2.14.90-10 to glibc-2.14.90-11

This bug is most probably duplicate of bug #745675

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

Note You need to log in before you can comment on or make changes to this bug.