Bug 224263 - When killed kdm does not properly cleanup PAM state
When killed kdm does not properly cleanup PAM state
Product: Fedora
Classification: Fedora
Component: kdebase (Show other bugs)
i386 Linux
medium Severity medium
: ---
: ---
Assigned To: Ngo Than
Ben Levenson
Depends On:
  Show dependency treegraph
Reported: 2007-01-24 16:48 EST by Davide Bolcioni
Modified: 2008-04-04 17:41 EDT (History)
1 user (show)

See Also:
Fixed In Version: f8
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2008-04-04 17:41:24 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 Davide Bolcioni 2007-01-24 16:48:43 EST
Description of problem: When killing kdm to work around bug #224260, resources 
managed by pam_console such as /dev/dsp still belong to the previously logged 
in console user.

Version-Release number of selected component (if applicable):
kdebase 3.5.4-12.fc6

How reproducible:
Sporadically, see bug #224260.

Steps to Reproduce:
1. Log off
2. Experience X server crash per bug #224260
3. Login via ssh and kill kdm
4. kdm restarts
5. Log in
Actual results: A message complains about the ownership on /dev/dsp, which
is still owned by the user who logged off in step #1 and not by the user who 
logged in at the console in step #5.

Expected results: Correct ownership on /dev/dsp.

Additional info: In /var/log/messages I am seeing

Jan 23 10:51:07 camelot kdm[2924]: X server for display :0 terminated 
Jan 23 10:51:07 camelot kdm: :0[2941]: pam_setcred(DELETE_CRED) for eisenturm 
failed: System error

and I guess PID 2924 got killed and PID 2941 was respawned and encountered 
problems with PAM.
Comment 1 Mike Cohler 2007-01-30 15:47:42 EST
I may have a related problem - added a comment to 
Comment 2 Bug Zapper 2008-04-04 01:44:05 EDT
Fedora apologizes that these issues have not been resolved yet. We're
sorry it's taken so long for your bug to be properly triaged and acted
on. We appreciate the time you took to report this issue and want to
make sure no important bugs slip through the cracks.

If you're currently running a version of Fedora Core between 1 and 6,
please note that Fedora no longer maintains these releases. We strongly
encourage you to upgrade to a current Fedora release. In order to
refocus our efforts as a project we are flagging all of the open bugs
for releases which are no longer maintained and closing them.

If this bug is still open against Fedora Core 1 through 6, thirty days
from now, it will be closed 'WONTFIX'. If you can reporduce this bug in
the latest Fedora version, please change to the respective version. If
you are unable to do this, please add a comment to this bug requesting
the change.

Thanks for your help, and we apologize again that we haven't handled
these issues to this point.

The process we are following is outlined here:

We will be following the process here:
http://fedoraproject.org/wiki/BugZappers/HouseKeeping to ensure this
doesn't happen again.

And if you'd like to join the bug triage team to help make things
better, check out http://fedoraproject.org/wiki/BugZappers
Comment 3 Davide Bolcioni 2008-04-04 16:31:55 EDT
This does not happen with Fedora 8 on x86_64.
Comment 4 John Poelstra 2008-04-04 17:41:24 EDT
thanks for the update. CLOSING

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