| Summary: | SELinux is preventing /usr/bin/Xephyr from 'search' accesses on the directory /home/amit/.sandbox_ff_home. | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Amit Shah <amit.shah> |
| Component: | selinux-policy | Assignee: | Miroslav Grepl <mgrepl> |
| Status: | CLOSED DUPLICATE | 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:b15435574037e9ba7e628e083bbd235ec5a31847d16b9f6a1fda5cf271b16498 | ||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2011-12-29 18:15:44 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 bug has been marked as a duplicate of bug 770073 *** |
libreport version: 2.0.8 executable: /usr/bin/python hashmarkername: setroubleshoot kernel: 3.1.5-6.fc16.x86_64 reason: SELinux is preventing /usr/bin/Xephyr from 'search' accesses on the directory /home/amit/.sandbox_ff_home. time: Fri 23 Dec 2011 03:12:08 PM IST description: :SELinux is preventing /usr/bin/Xephyr from 'search' accesses on the directory /home/amit/.sandbox_ff_home. : :***** Plugin restorecon (99.5 confidence) suggests ************************* : :If you want to fix the label. :/home/amit/.sandbox_ff_home default label should be user_home_t. :Then you can run restorecon. :Do :# /sbin/restorecon -v /home/amit/.sandbox_ff_home : :***** Plugin catchall (1.49 confidence) suggests *************************** : :If you believe that Xephyr should be allowed search access on the .sandbox_ff_home 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 Xephyr /var/log/audit/audit.log | audit2allow -M mypol :# semodule -i mypol.pp : :Additional Information: :Source Context unconfined_u:unconfined_r:sandbox_xserver_t:s0:c33 : 0,c947 :Target Context unconfined_u:object_r:sandbox_file_t:s0:c338,c964 :Target Objects /home/amit/.sandbox_ff_home [ dir ] :Source Xephyr :Source Path /usr/bin/Xephyr :Port <Unknown> :Host (removed) :Source RPM Packages bash-4.2.20-1.fc16 :Target RPM Packages :Policy RPM selinux-policy-3.10.0-64.fc16 :Selinux Enabled True :Policy Type targeted :Enforcing Mode Enforcing :Host Name (removed) :Platform Linux (removed) 3.1.5-6.fc16.x86_64 #1 SMP : Thu Dec 15 16:14:44 UTC 2011 x86_64 x86_64 :Alert Count 3 :First Seen Fri 23 Dec 2011 01:50:01 PM IST :Last Seen Fri 23 Dec 2011 01:50:01 PM IST :Local ID 398a8ff8-1ff7-4169-a0c2-1e0f4f65300e : :Raw Audit Messages :type=AVC msg=audit(1324628401.551:7676): avc: denied { search } for pid=14137 comm="sh" name=".sandbox_ff_home" dev=dm-2 ino=3804839 scontext=unconfined_u:unconfined_r:sandbox_xserver_t:s0:c330,c947 tcontext=unconfined_u:object_r:sandbox_file_t:s0:c338,c964 tclass=dir : : :type=SYSCALL msg=audit(1324628401.551:7676): arch=x86_64 syscall=stat success=no exit=EACCES a0=4a8f0f a1=7fff24936700 a2=7fff24936700 a3=0 items=0 ppid=14129 pid=14137 auid=1000 uid=1000 gid=1000 euid=1000 suid=1000 fsuid=1000 egid=1000 sgid=1000 fsgid=1000 tty=(none) ses=170 comm=sh exe=/bin/bash subj=unconfined_u:unconfined_r:sandbox_xserver_t:s0:c330,c947 key=(null) : :Hash: Xephyr,sandbox_xserver_t,sandbox_file_t,dir,search : :audit2allow : :#============= sandbox_xserver_t ============== :#!!!! This avc is a constraint violation. You will need to add an attribute to either the source or target type to make it work. :#Constraint rule: :allow sandbox_xserver_t sandbox_file_t:dir search; : :audit2allow -R : :#============= sandbox_xserver_t ============== :#!!!! This avc is a constraint violation. You will need to add an attribute to either the source or target type to make it work. :#Constraint rule: :allow sandbox_xserver_t sandbox_file_t:dir search; :