RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 611143 - cannot write to .xsession-errors
Summary: cannot write to .xsession-errors
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: selinux-policy
Version: 6.0
Hardware: All
OS: Linux
medium
medium
Target Milestone: rc
: ---
Assignee: Daniel Walsh
QA Contact: BaseOS QE Security Team
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2010-07-03 22:37 UTC by David Kovalsky
Modified: 2014-03-31 23:45 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2010-07-07 12:05:02 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description David Kovalsky 2010-07-03 22:37:58 UTC
Snippet from /var/log/audit/audit.log

type=AVC msg=audit(1278195906.508:33476): avc:  denied  { write } for  pid=2515 comm="gdm-session-wor" name=".xsession-errors" dev=dm-7 ino=2621546 scontext=system_u:system_r:xdm_t:s0-s0:c0.c1023 tcontext=unconfined_u:object_r:user_home_t:s0 tclass=file
type=SYSCALL msg=audit(1278195906.508:33476): arch=c000003e syscall=21 success=no exit=-13 a0=1f655d0 a1=6 a2=20 a3=7fff76325040 items=0 ppid=2499 pid=2515 auid=10625 uid=10625 gid=10625 euid=10625 suid=10625 fsuid=10625 egid=10625 sgid=10625 fsgid=10625 tty=(none) ses=1 comm="gdm-session-wor" exe="/usr/libexec/gdm-session-worker" subj=system_u:system_r:xdm_t:s0-s0:c0.c1023 key=(null)
type=AVC msg=audit(1278195906.508:33477): avc:  denied  { write } for  pid=2515 comm="gdm-session-wor" name=".xsession-errors" dev=dm-7 ino=2621546 scontext=system_u:system_r:xdm_t:s0-s0:c0.c1023 tcontext=unconfined_u:object_r:user_home_t:s0 tclass=file
type=SYSCALL msg=audit(1278195906.508:33477): arch=c000003e syscall=77 success=no exit=-13 a0=a a1=0 a2=7fff76325330 a3=7fff76325040 items=0 ppid=2499 pid=2515 auid=10625 uid=10625 gid=10625 euid=10625 suid=10625 fsuid=10625 egid=10625 sgid=10625 fsgid=10625 tty=(none) ses=1 comm="gdm-session-wor" exe="/usr/libexec/gdm-session-worker" subj=system_u:system_r:xdm_t:s0-s0:c0.c1023 key=(null)


selinux-policy-targeted-3.7.19-30.el6.noarch

Comment 1 Miroslav Grepl 2010-07-07 12:05:02 UTC
.xsession-errors is mislabelled. 

restorecon -R -v /home

Will fix.


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