Bug 359361
| Summary: | ConsoleKit tries to find the console using keyboard ioctls that don't always work | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Peter Jones <pjones> | ||||
| Component: | ConsoleKit | Assignee: | David Zeuthen <davidz> | ||||
| Status: | CLOSED CURRENTRELEASE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||
| Severity: | high | Docs Contact: | |||||
| Priority: | high | ||||||
| Version: | rawhide | CC: | jmccann, koala, lkundrak, mclasen | ||||
| Target Milestone: | --- | Keywords: | EasyFix, Patch | ||||
| Target Release: | --- | ||||||
| Hardware: | All | ||||||
| OS: | Linux | ||||||
| Whiteboard: | |||||||
| Fixed In Version: | 0.2.3-3.fc8.1 | Doc Type: | Bug Fix | ||||
| Doc Text: | Story Points: | --- | |||||
| Clone Of: | Environment: | ||||||
| Last Closed: | 2008-03-01 09:28:11 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: | 235704 | ||||||
| Attachments: |
|
||||||
|
Description
Peter Jones
2007-10-30 22:45:58 UTC
Created attachment 243861 [details]
patch to use VT_ETSTATE and tty0
(Comment #1 should say VT_GETSTATE, of course) Raising priority to high, keeping track of active sessions is fairly important. Furthermore the fix is attached to this problem. I found this issue while determining why was my desktop user unable to hibernate a machine. This fix fixes the problem for me. The workaround was to run the consolekit daemon with --no-daemon option which caused it to find the active tty correctly. Sorry this bug got lost for me. Jon, what do you think? Thanks. Hi, sorry for the lag. I think this looks reasonable. I'll test and commit this as soon as I get my development machine back up (hopefully in the next few days). Thanks. In git now. Thanks for the patch Peter. I'm wondering if there's a chance that ConsoleKit update will occur for Fedora 8. In case yes, this fix is a good candidate to be included :) *** Bug 429157 has been marked as a duplicate of this bug. *** ConsoleKit-0.2.3-3.fc8.1 has been pushed to the Fedora 8 stable repository. If problems still persist, please make note of it in this bug report. *** Bug 366981 has been marked as a duplicate of this bug. *** |