Bug 530419
Summary: | SELinux is preventing consoletype (consoletype_t) "write" to /home/julroy67/.xsession-errors (user_home_t). | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Julien Humbert <julroy67> |
Component: | xorg-x11-xinit | Assignee: | X/OpenGL Maintenance List <xgl-maint> |
Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
Severity: | medium | Docs Contact: | |
Priority: | low | ||
Version: | 12 | CC: | dwalsh, mcepl, mcepl, mgrepl, xgl-maint |
Target Milestone: | --- | Keywords: | EasyFix, Reopened |
Target Release: | --- | ||
Hardware: | x86_64 | ||
OS: | Linux | ||
Whiteboard: | setroubleshoot_trace_hash:d91b5be163a7de838671dbf2797dcc90f05e18039c4e9c13fe6db92b7cb6d4f2 | ||
Fixed In Version: | 1.0.9-13.fc12 | Doc Type: | Bug Fix |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2009-11-20 05:26:23 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: |
Description
Julien Humbert
2009-10-22 18:07:40 UTC
The problem here is a mislabled .xsession_errors file Which the tool told you. restorecon -R -v ~/.xsession-errors Will fix. Not sure how you got into this state. Do you use gdm? kdm? startx? To start the session? If it happens again please reopen the bugzilla. I used startx because of testing my video drivers, it had only happened when using startx, when using KDM it is fine. # diff -u `pwd`/Xsession.old `pwd`/Xsession --- /etc/X11/xinit/Xsession.old 2009-10-26 10:28:37.000000000 -0400 +++ /etc/X11/xinit/Xsession 2009-10-26 10:32:18.000000000 -0400 @@ -14,6 +14,7 @@ errfile="$HOME/.xsession-errors" if ( umask 077 && cp /dev/null "$errfile" 2> /dev/null ); then chmod 600 "$errfile" + [ -x /sbin/restorecon ] && restorecon $errfile exec > "$errfile" 2>&1 else errfile=$(mktemp -q /tmp/xses-$USER.XXXXXX) Could you add restorecon to this Xsession script Since this bugzilla report was filed, there have been several major updates in various components of the Xorg system, which may have resolved this issue. Users who have experienced this problem are encouraged to upgrade their system to the latest version of their packages (at least F12Beta, but even better if the very latest versions). Please, if you experience this problem on the up-to-date system, let us now in the comment for this bug, or whether the upgraded system works for you. If you won't be able to reply in one month, I will have to close this bug as INSUFFICIENT_DATA. Thank you. [This is a bulk message for all open Fedora Rawhide Xorg-related bugs. I'm adding myself to the CC list for each bug, so I'll see any comments you make after this and do my best to make sure every issue gets proper attention.] This bug has not been fixed by an update. It should be really easy to fix. xorg-x11-xinit-1.0.9-13.fc12 has been submitted as an update for Fedora 12. http://admin.fedoraproject.org/updates/xorg-x11-xinit-1.0.9-13.fc12 xorg-x11-xinit-1.0.9-13.fc12 has been pushed to the Fedora 12 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 xorg-x11-xinit'. You can provide feedback for this update here: http://admin.fedoraproject.org/updates/F12/FEDORA-2009-11441 This bug appears to have been reported against 'rawhide' during the Fedora 12 development cycle. Changing version to '12'. More information and reason for this action is here: http://fedoraproject.org/wiki/BugZappers/HouseKeeping xorg-x11-xinit-1.0.9-13.fc12 has been pushed to the Fedora 12 stable repository. If problems still persist, please make note of it in this bug report. |