Bug 1591002

Summary: User lost all groups?
Product: [Fedora] Fedora Reporter: Marcin Juszkiewicz <mjuszkie>
Component: coreutilsAssignee: Kamil Dudka <kdudka>
Status: CLOSED DUPLICATE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 28CC: admiller, jamartis, jarodwilson, kdudka, kzak, ooprala, ovasik, p, skisela, twaugh
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2018-06-13 21:45:53 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Marcin Juszkiewicz 2018-06-13 21:33:42 UTC
Description of problem:

I had to logout from X11 session. After login I noticed lack of sound - pulseaudio gave me dummy output only. Other apps also behaved like I would be no one.

Checked group access and got nothing:

23:28 (3s) hrw@puchatek:~$ whoami; id
hrw
uid=1000(hrw) gid=1000(hrw) grupy=1000(hrw) kontekst=unconfined_u:unconfined_r:unconfined_t:s0-s0:c0.c1023
23:28 (0s) hrw@puchatek:~$ 

But when asked for exact user I got full list:

23:28 (3s) hrw@puchatek:~$ id hrw; sudo id hrw
uid=1000(hrw) gid=1000(hrw) grupy=1000(hrw),10(wheel),11(cdrom),18(dialout),63(audio),100(users),135(mock),1001(vboxusers),986(wireshark),960(libvirt),1003(docker)
uid=1000(hrw) gid=1000(hrw) grupy=1000(hrw),10(wheel),11(cdrom),18(dialout),63(audio),100(users),135(mock),1001(vboxusers),986(wireshark),960(libvirt),1003(docker)
23:28 (0s) hrw@puchatek:~$ 

Not that helped...

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

coreutils-8.29-7.fc28.x86_64

How reproducible:

always - each relogin I get no groups

Actual results:

23:28 (3s) hrw@puchatek:~$ whoami; id; id hrw; sudo id hrw
hrw
uid=1000(hrw) gid=1000(hrw) grupy=1000(hrw) kontekst=unconfined_u:unconfined_r:unconfined_t:s0-s0:c0.c1023
uid=1000(hrw) gid=1000(hrw) grupy=1000(hrw),10(wheel),11(cdrom),18(dialout),63(audio),100(users),135(mock),1001(vboxusers),986(wireshark),960(libvirt),1003(docker)
uid=1000(hrw) gid=1000(hrw) grupy=1000(hrw),10(wheel),11(cdrom),18(dialout),63(audio),100(users),135(mock),1001(vboxusers),986(wireshark),960(libvirt),1003(docker)
23:28 (0s) hrw@puchatek:~$ 

Expected results:

23:28 (3s) hrw@puchatek:~$ whoami; id
hrw
uid=1000(hrw) gid=1000(hrw) grupy=1000(hrw),10(wheel),11(cdrom),18(dialout),63(audio),100(users),135(mock),1001(vboxusers),986(wireshark),960(libvirt),1003(docker)
23:28 (0s) hrw@puchatek:~$ 

Additional info:

coreutils may be wrong package but had no idea where to report it and 'id' is there...

Comment 1 Marcin Juszkiewicz 2018-06-13 21:38:21 UTC
23:37 (0s) hrw@puchatek:~$ su hrw
Hasło: 
23:37 (0s) hrw@puchatek:~$ id
uid=1000(hrw) gid=1000(hrw) grupy=1000(hrw),10(wheel),11(cdrom),18(dialout),63(audio),100(users),135(mock),960(libvirt),986(wireshark),1001(vboxusers),1003(docker) kontekst=unconfined_u:unconfined_r:unconfined_t:s0-s0:c0.c1023

Comment 2 Marcin Juszkiewicz 2018-06-13 21:45:53 UTC

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