Bug 134941
| Summary: | gdm fails to reset console user if Xserver is killed with Ctrl-Alt-Backspace | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Thomas Woerner <twoerner> | ||||
| Component: | pam | Assignee: | Tomas Mraz <tmraz> | ||||
| Status: | CLOSED RAWHIDE | QA Contact: | Mike McLean <mikem> | ||||
| Severity: | medium | Docs Contact: | |||||
| Priority: | medium | ||||||
| Version: | rawhide | CC: | nalin, rhbugzilla, rstrode | ||||
| Target Milestone: | --- | ||||||
| Target Release: | --- | ||||||
| Hardware: | All | ||||||
| OS: | Linux | ||||||
| Whiteboard: | |||||||
| Fixed In Version: | Doc Type: | Bug Fix | |||||
| Doc Text: | Story Points: | --- | |||||
| Clone Of: | Environment: | ||||||
| Last Closed: | 2004-10-20 18:20:34 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: | 130887 | ||||||
| Attachments: |
|
||||||
|
Description
Thomas Woerner
2004-10-07 13:32:21 UTC
Hi so this actually looks like it may be a problem with pam_console.so and not GDM. Basically pam_console checks to make sure the display socket is around before unref'n console priveleges. Of course, if the user ctrl-alt-backspaces then the display socket will be wiped. Created attachment 105500 [details]
Don't check existance of TTY when dropping console perms
Here's a patch that inhibits the checks when dropping console perms. It needs
to be reviewed by someone who knows pam better than me.
I think the patch should be harmless however I'll modify it to skip the check only on X logins not console logins. patch in rawhide seems to work fine, closing... |