Bug 836986
| Summary: | SELinux is preventing /usr/bin/xauth from 'add_name' accesses on the directory slim.auth-c. | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Hideyuki Tabata <seeker5084> |
| 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: | 17 | CC: | dominick.grift, dwalsh, mgrepl |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | x86_64 | ||
| OS: | Unspecified | ||
| Whiteboard: | abrt_hash:576e9b13cfb1247e388859e4c79ec860dec99a6c9c342a8babc38dca34457949 | ||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2012-10-17 08:35:49 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: | |||
This looks like a lableing issue in /var/run directory. restorecon -R -v /run |
libreport version: 2.0.10 executable: /usr/bin/python2.7 hashmarkername: setroubleshoot kernel: 3.4.4-3.fc17.x86_64 time: Mon 02 Jul 2012 09:30:51 PM JST description: :SELinux is preventing /usr/bin/xauth from 'add_name' accesses on the directory slim.auth-c. : :***** Plugin catchall (100. confidence) suggests *************************** : :If you believe that xauth should be allowed add_name access on the slim.auth-c directory 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 xauth /var/log/audit/audit.log | audit2allow -M mypol :# semodule -i mypol.pp : :Additional Information: :Source Context unconfined_u:unconfined_r:xauth_t:s0-s0:c0.c1023 :Target Context unconfined_u:object_r:var_run_t:s0 :Target Objects slim.auth-c [ dir ] :Source xauth :Source Path /usr/bin/xauth :Port <Unknown> :Host (removed) :Source RPM Packages xorg-x11-xauth-1.0.7-1.fc17.x86_64 :Target RPM Packages :Policy RPM selinux-policy-3.10.0-134.fc17.noarch :Selinux Enabled True :Policy Type targeted :Enforcing Mode Enforcing :Host Name (removed) :Platform Linux (removed) 3.4.4-3.fc17.x86_64 #1 SMP Tue : Jun 26 20:54:56 UTC 2012 x86_64 x86_64 :Alert Count 20 :First Seen Mon 02 Jul 2012 09:28:47 PM JST :Last Seen Mon 02 Jul 2012 09:30:34 PM JST :Local ID 07ef6db6-9840-4325-a91f-451b85c7dacf : :Raw Audit Messages :type=AVC msg=audit(1341232234.844:201): avc: denied { add_name } for pid=3448 comm="xauth" name="slim.auth-c" scontext=unconfined_u:unconfined_r:xauth_t:s0-s0:c0.c1023 tcontext=unconfined_u:object_r:var_run_t:s0 tclass=dir : : :type=SYSCALL msg=audit(1341232234.844:201): arch=x86_64 syscall=open success=no exit=EACCES a0=7fffba991830 a1=c1 a2=180 a3=8 items=0 ppid=3447 pid=3448 auid=1000 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=pts0 ses=2 comm=xauth exe=/usr/bin/xauth subj=unconfined_u:unconfined_r:xauth_t:s0-s0:c0.c1023 key=(null) : :Hash: xauth,xauth_t,var_run_t,dir,add_name : :audit2allowunable to open /sys/fs/selinux/policy: Permission denied : : :audit2allow -Runable to open /sys/fs/selinux/policy: Permission denied : :