Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at bugzilla.redhat.com.

Bug 86481

Summary: After ctrl+alt-bs user exit, other users cannot use sound
Product: [Retired] Red Hat Linux Reporter: Paul Broadhead <rhbugzilla>
Component: gdmAssignee: Ray Strode [halfline] <rstrode>
Status: CLOSED DUPLICATE QA Contact: Mike McLean <mikem>
Severity: medium Docs Contact:
Priority: medium    
Version: 8.0CC: jirka, nalin
Target Milestone: ---Keywords: Triaged
Target Release: ---   
Hardware: i686   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2006-02-21 18:52:17 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:
Bug Depends On:    
Bug Blocks: 100644    

Description Paul Broadhead 2003-03-23 22:13:35 UTC
From Bugzilla Helper:
User-Agent: Mozilla/5.0 Galeon/1.2.6 (X11; Linux i686; U;) Gecko/20020830

Description of problem:
If a user exits the gnome desktop using ctrl-alt-backspace (may be because an
application has locked), when another user tries to login, permissions on
devices are still held by the previous user.  In particular, the sound devices.
 If you have a mixer applet on your panel, you get an error dialogue box with
the message "Couldn't open mixer device /dev/sound/mixer".  Killing any hung
processes from the previous user does not help.  The only solution I have found
is to reboot.  Is there some /etc/init.d/ typer service I can restart to reset
the permissions?

Using Redhat 8.0, fully patched via redhat network.


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


How reproducible:
Always

Steps to Reproduce:
1.login to gnome desktop as user A
2.exit desktop using ctrl-alt-backspace
3.login to gnome desktop as user B
    

Actual Results:  user B, who has a mixer applet, gets "Couldn't open mixer
device /dev/sound/mixer" error and has no access to sound.

Expected Results:  user B should have access to sound as normal

Additional info:

Comment 1 Havoc Pennington 2003-07-30 20:58:40 UTC
Nalin, George - is the problem here consolehelper or gdm?

Comment 2 George Lebl 2003-07-30 21:29:43 UTC
Most likely gdm.  The problem is that there are many races and it's possible
that the pam_close_session was not called in that case.  This should be fixed in
the newest devel version, but not in the stable version.

Comment 3 George Lebl 2003-07-31 23:43:18 UTC
This should be now fixed in upstream gdm 2.4.1.5 (stable) which I released today.  

Comment 4 Alexander Larsson 2003-09-04 11:43:46 UTC
We've upgraded, so this is likely fixed in RAWHIDE. 
Does it work for you?

Comment 5 Paul Broadhead 2003-09-06 11:33:53 UTC
I've been using Redhat 9.0 for several months with gdm-2.4.1.3-5.1.  This
version does not behave in the same way; a simple ctrl+alt-bs user exit will not
leave the sound device (an others) in an unusable state.  However, if the user X
session crashes the same problems can still occur, sometimes. e.g. the
commercial demo version of Tux racers is particularly prone to causing the problem.

Can I use gdm 2.4.1.5 on RH 9?  If so I'll try and that and see what happens
with Tux racers....

Comment 6 Ray Strode [halfline] 2004-11-05 03:03:20 UTC

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

Comment 7 Red Hat Bugzilla 2006-02-21 18:52:17 UTC
Changed to 'CLOSED' state since 'RESOLVED' has been deprecated.