Red Hat Bugzilla – Bug 105959
pam_console problems with reboots
Last modified: 2007-11-30 17:10:31 EST
Description of problem:
pam_console defaults to not changing a device if it isnt currently root owned.
This causes gradual creeping loss of devices when systems do get hard power
cycled. I've been debugging this problem on several university computer society
Steps to Reproduce:
1. login via gdm
2. hit power switch
3. login as other user
Audio no longer works (mixer permissions wrong)
Audio transferred to new user
I'm not sure if the right fix is to default to the no root option (which it has
but doesnt default to) or to have a script at boot time which reassigns those
devices to root.
This is supposed to get cleaned up at boot... see the call to pam_console_apply
in rc.sysinit. Is the lock for pam_console with the console username not getting
cleaned up right?
I think this really can't be a problem anymore as we are using udev
and so the device nodes are recreated anyway.
Fair comment I think.