Bug 641608
Summary: | gpm support in mc doesn't work | ||||||
---|---|---|---|---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Michael Schwendt <bugs.michael> | ||||
Component: | selinux-policy-targeted | Assignee: | Miroslav Grepl <mgrepl> | ||||
Status: | CLOSED ERRATA | QA Contact: | Ben Levenson <benl> | ||||
Severity: | medium | Docs Contact: | |||||
Priority: | low | ||||||
Version: | 13 | CC: | cheery314, mishu | ||||
Target Milestone: | --- | ||||||
Target Release: | --- | ||||||
Hardware: | All | ||||||
OS: | Linux | ||||||
Whiteboard: | |||||||
Fixed In Version: | selinux-policy-3.7.19-69.fc13 | Doc Type: | Bug Fix | ||||
Doc Text: | Story Points: | --- | |||||
Clone Of: | Environment: | ||||||
Last Closed: | 2010-11-11 22:22:57 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: | |||||||
Attachments: |
|
Description
Michael Schwendt
2010-10-09 15:30:38 UTC
With setenforce 1 when starting mc: Oct 9 20:38:27 localhost /usr/sbin/gpm[2560]: *** err [daemon/processconn.c(121)]: Oct 9 20:38:27 localhost /usr/sbin/gpm[2560]: stat on /dev/tty3 fails in processConn With setenforce 0 when starting mc: Oct 9 20:40:24 localhost /usr/sbin/gpm[2560]: *** info [daemon/processrequest.c(42)]: Oct 9 20:40:24 localhost /usr/sbin/gpm[2560]: Request on 6 (console 2) Is there a way to create a local exception/policy for this? Could you see if there are any avc messages in /var/log/audit/audit.log? Or dmesg? Nothing (and no sealert either). The quoted entries from /var/log/messages is the only evidence of something going wrong. Try turning off dontaudit rules by executing. semodule -DB Then execute your commnads, you will see the AVC messages then. semodule -B Will turn the dontaudit rules back on . Created attachment 453006 [details]
audit.log excerpt
These are the messages in audit.log when starting "mc" on virtual console 2 and double-clicking a directory.
Miroslav can you add userdom_use_user_terminals(gpm_t) Fixed in selinux-policy-3.7.19-66.fc13 (In reply to comment #8) > Fixed in selinux-policy-3.7.19-66.fc13 Thank you very much! When will the repo receive the update? Packages are available from koji for now http://koji.fedoraproject.org/koji/buildinfo?buildID=200289 selinux-policy-3.7.19-69.fc13 has been submitted as an update for Fedora 13. https://admin.fedoraproject.org/updates/selinux-policy-3.7.19-69.fc13 selinux-policy-3.7.19-69.fc13 has been pushed to the Fedora 13 testing repository. If problems still persist, please make note of it in this bug report. If you want to test the update, you can install it with su -c 'yum --enablerepo=updates-testing update selinux-policy'. You can provide feedback for this update here: https://admin.fedoraproject.org/updates/selinux-policy-3.7.19-69.fc13 selinux-policy-3.7.19-69.fc13 has been pushed to the Fedora 13 stable repository. If problems still persist, please make note of it in this bug report. |