Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 66268

Summary: Invalid permissons on /dev/sound/* on reboot, and start of X using PAM-0.77
Product: Gentoo Linux Reporter: Kenneth Lakin <kennethlakin>
Component: [OLD] UnspecifiedAssignee: PAM Gentoo Team (OBSOLETE) <pam-bugs+disabled>
Status: RESOLVED FIXED    
Severity: normal CC: adam.c.stephens, airbaggins, avuton, shank
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on: 28407    
Bug Blocks:    
Attachments: Patch to /etc/security/console.perms

Description Kenneth Lakin 2004-10-03 18:19:29 UTC
Upon system boot, the permissons for /dev/sound/* are set to root:audio 600. The permissions are re-set to root:audio each time X is started, or re-started.


Reproducible: Always
Steps to Reproduce:
1.Reboot or start X.
2.
3.

Actual Results:  
The permissions for /dev/sound/* were changed from whatever they had been to
root:audio 600.

Expected Results:  
The permissons for /dev/sound/* should have been set at root:audio 660.

I have tracked down the problem to an incorrectly configured console.perms file,
and am submitting a patch that resolves this issue.
Comment 1 Kenneth Lakin 2004-10-03 18:20:31 UTC
Created attachment 41035 [details, diff]
Patch to /etc/security/console.perms
Comment 2 Avuton Olrich 2004-11-02 07:28:08 UTC
I could be wrong but I believe this to be a duplicate (or far relative ;p) of http://bugs.gentoo.org/show_bug.cgi?id=55305 . I've been tracking this bug forever because it's a real pain in my @$$.
Comment 3 Kenneth Lakin 2004-11-02 08:34:54 UTC
This bug and the one you linked to: http://bugs.gentoo.org/show_bug.cgi?id=55305 seem to be the same problem. Has anyone else had success with the patch attached to this report?
Comment 4 Avuton Olrich 2004-11-02 08:55:04 UTC
Actually I just noticed that patch hit pam(ver here)-r2 which is ~x86. So time to test eh? :)
Comment 5 Kenneth Lakin 2004-11-08 19:53:50 UTC
Pam 0.77-r1 still contains the broken console.perms.
Comment 6 Warren Dukes 2004-11-20 08:28:08 UTC
Its been over a month since this bug was originally posted.  Has this bug been acknowledged by the gentoo dev's? Been fixed? Anything?
Comment 7 Quentin Hartman 2004-12-05 19:43:47 UTC
Please address this bug! I manage a bunch of desktop systems and this one is a recurring pain in the butt!
Comment 8 Avuton Olrich 2004-12-21 13:32:39 UTC
Yeah, I removed PAM from my USE due to this bug and now I can't su :/
Comment 9 Reporter 2004-12-29 18:02:44 UTC
PORBLEM
    Actually, this exact problem was reported as far back as April 10, 2002, bug #1658.

BUT
    Since this is a community distribution; and according to Bug #28407 comment #36
    gentoo's pam man is only reviewing+testing instead of writing fixes himself, I
    think you're supposed to fix it yourself and attach patches here! Just describing
    it is not enough! Everithing else is getting nowhere, even if it's security related
    and the proposed solution couldn't be more clear. Since the way pam is currently
    going on gentoo will cause more trouble than it solves, I myself have given up all
    hope a long time ago.

SEE ALSO
    Bug #1658
    Bug #27857
    Bug #29463
    Bug #46524
    Bug #59085
    Bug #73660
Comment 10 Martin Schlemmer (RETIRED) gentoo-dev 2005-02-25 11:40:54 UTC
Should be fixed in pam-0.78.