| Summary: | SELinux is preventing /usr/libexec/gdm-session-worker from 'open' accesses on the None /home/kcameron/.xsession-errors. | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Kevin Cameron <kc-bugzilla> |
| Component: | selinux-policy | Assignee: | Miroslav Grepl <mgrepl> |
| Status: | CLOSED NOTABUG | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 16 | CC: | dominick.grift, dwalsh, mgrepl |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | x86_64 | ||
| OS: | Unspecified | ||
| Whiteboard: | abrt_hash:74f455fb1222d07b40395b0a989cc842bf226be453cfdcff742e1a8e3c840860 | ||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2012-02-22 20:01:47 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
This started 1-2 weeks ago. I update my Fedora packages pretty much every day. restorecon -R -v /home It looks like the labels in your home dir are all wrong, did you remove the directory and restore from a backup? I ran the restorecon command. Since it seems to have fixed the problem, I won't worry about it any more. Please note, however, that I haven't done any restores or other such monkeying-around with my system since I built it in early November '11. Thanks for the help. Kev |
libreport version: 2.0.8 executable: /usr/bin/python hashmarkername: setroubleshoot kernel: 3.2.6-3.fc16.x86_64 reason: SELinux is preventing /usr/libexec/gdm-session-worker from 'open' accesses on the None /home/kcameron/.xsession-errors. time: Wed 22 Feb 2012 10:36:12 AM PST description: :SELinux is preventing /usr/libexec/gdm-session-worker from 'open' accesses on the None /home/kcameron/.xsession-errors. : :***** Plugin catchall (100. confidence) suggests *************************** : :If you believe that gdm-session-worker should be allowed open access on the .xsession-errors <Unknown> by default. :Then you should report this as a bug. :You can generate a local policy module to allow this access. :Do :allow this access for now by executing: :# grep gdm-session-wor /var/log/audit/audit.log | audit2allow -M mypol :# semodule -i mypol.pp : :Additional Information: :Source Context system_u:system_r:xdm_t:s0-s0:c0.c1023 :Target Context unconfined_u:object_r:home_root_t:s0 :Target Objects /home/kcameron/.xsession-errors [ None ] :Source gdm-session-wor :Source Path /usr/libexec/gdm-session-worker :Port <Unknown> :Host (removed) :Source RPM Packages gdm-3.2.1.1-8.fc16.x86_64 :Target RPM Packages :Policy RPM selinux-policy-3.10.0-75.fc16.noarch :Selinux Enabled True :Policy Type targeted :Enforcing Mode Enforcing :Host Name (removed) :Platform Linux (removed) 3.2.6-3.fc16.x86_64 #1 SMP Mon Feb 13 : 20:35:42 UTC 2012 x86_64 x86_64 :Alert Count 1 :First Seen Wed 22 Feb 2012 10:26:48 AM PST :Last Seen Wed 22 Feb 2012 10:26:48 AM PST :Local ID b38abff7-7d45-460e-859f-a945b5ef218d : :Raw Audit Messages :type=AVC msg=audit(1329935208.122:78): avc: denied { open } for pid=2051 comm="gdm-session-wor" name=".xsession-errors" dev=sdb2 ino=2098693 scontext=system_u:system_r:xdm_t:s0-s0:c0.c1023 tcontext=unconfined_u:object_r:home_root_t:s0 tclass=filenode=(removed) type=SYSCALL msg=audit(1329935208.122:78): arch=c000003e syscall=2 success=no exit=-13 a0=263de40 a1=442 a2=180 a3=4 items=0 ppid=1994 pid=2051 auid=1000 uid=1000 gid=1000 euid=1000 suid=1000 fsuid=1000 egid=1000 sgid=1000 fsgid=1000 tty=(none) ses=2 comm="gdm-session-wor" exe="/usr/libexec/gdm-session-worker" subj=system_u:system_r:xdm_t:s0-s0:c0.c1023 key=(null) : : :Hash: gdm-session-wor,xdm_t,home_root_t,None,open : :audit2allowunable to open /etc/selinux/targeted/policy/policy.26: Permission denied : : :audit2allow -Runable to open /etc/selinux/targeted/policy/policy.26: Permission denied : :