Bug 809661
| Summary: | SELinux is preventing /usr/bin/evince-thumbnailer from 'create' accesses on the file missfont.log. | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Amir Hedayaty <hedayaty> |
| Component: | selinux-policy | Assignee: | Miroslav Grepl <mgrepl> |
| Status: | CLOSED ERRATA | 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:baf975dba35f811b784ebf0bd7f180dc33f212f4e7013c11f083589ca71de4c2 | ||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2012-05-16 15:12:19 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: | |||
Where is missfont.log located? I think your home dir is mislabeled? ls -Z PATHO/missfont.log -rw-rw-r--. amir amir unconfined_u:object_r:user_home_t:s0 missfont.log resotrecon does not help either! I am getting a lot of SELINUX errors, have tried recently but in the early alpha days could not even log in with selinux enforcing. What is a path to missfont.log? in the home, evince puts it over ther in the home, evince puts it over there So you are saying /home/<user>/missfont.log ? yes Any idea where this file came from? I do not see missfont.log in evince package. |
libreport version: 2.0.10 executable: /usr/bin/python hashmarkername: setroubleshoot kernel: 3.3.0-1.fc17.x86_64 time: Tue 03 Apr 2012 05:33:34 PM PDT description: :SELinux is preventing /usr/bin/evince-thumbnailer from 'create' accesses on the file missfont.log. : :***** Plugin catchall (100. confidence) suggests *************************** : :If you believe that evince-thumbnailer should be allowed create access on the missfont.log file 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 evince-thumbnai /var/log/audit/audit.log | audit2allow -M mypol :# semodule -i mypol.pp : :Additional Information: :Source Context unconfined_u:unconfined_r:thumb_t:s0-s0:c0.c1023 :Target Context unconfined_u:object_r:user_home_dir_t:s0 :Target Objects missfont.log [ file ] :Source evince-thumbnai :Source Path /usr/bin/evince-thumbnailer :Port <Unknown> :Host (removed) :Source RPM Packages evince-3.4.0-1.fc17.x86_64 :Target RPM Packages :Policy RPM selinux-policy-3.10.0-106.fc17.noarch :Selinux Enabled True :Policy Type targeted :Enforcing Mode Permissive :Host Name (removed) :Platform Linux (removed) 3.3.0-1.fc17.x86_64 #1 SMP Mon : Mar 19 03:03:39 UTC 2012 x86_64 x86_64 :Alert Count 1 :First Seen Mon 02 Apr 2012 02:28:20 PM PDT :Last Seen Mon 02 Apr 2012 02:28:20 PM PDT :Local ID 1d693434-d481-41b9-b812-fb521ce26853 : :Raw Audit Messages :type=AVC msg=audit(1333402100.256:384): avc: denied { create } for pid=7944 comm="evince-thumbnai" name="missfont.log" scontext=unconfined_u:unconfined_r:thumb_t:s0-s0:c0.c1023 tcontext=unconfined_u:object_r:user_home_dir_t:s0 tclass=file : : :type=AVC msg=audit(1333402100.256:384): avc: denied { append open } for pid=7944 comm="evince-thumbnai" name="missfont.log" dev="sda3" ino=265929 scontext=unconfined_u:unconfined_r:thumb_t:s0-s0:c0.c1023 tcontext=unconfined_u:object_r:user_home_dir_t:s0 tclass=file : : :type=SYSCALL msg=audit(1333402100.256:384): arch=x86_64 syscall=open success=yes exit=ENXIO a0=7f0bbc0b68e6 a1=441 a2=1b6 a3=238 items=0 ppid=1796 pid=7944 auid=1000 uid=1000 gid=1000 euid=1000 suid=1000 fsuid=1000 egid=1000 sgid=1000 fsgid=1000 tty=(none) ses=2 comm=evince-thumbnai exe=/usr/bin/evince-thumbnailer subj=unconfined_u:unconfined_r:thumb_t:s0-s0:c0.c1023 key=(null) : :Hash: evince-thumbnai,thumb_t,user_home_dir_t,file,create : :audit2allowunable to open /sys/fs/selinux/policy: Permission denied : : :audit2allow -Runable to open /sys/fs/selinux/policy: Permission denied : :