This service will be undergoing maintenance at 00:00 UTC, 2017-10-23 It is expected to last about 30 minutes
Bug 809661 - SELinux is preventing /usr/bin/evince-thumbnailer from 'create' accesses on the file missfont.log.
SELinux is preventing /usr/bin/evince-thumbnailer from 'create' accesses on t...
Product: Fedora
Classification: Fedora
Component: selinux-policy (Show other bugs)
x86_64 Unspecified
unspecified Severity unspecified
: ---
: ---
Assigned To: Miroslav Grepl
Fedora Extras Quality Assurance
Depends On:
  Show dependency treegraph
Reported: 2012-04-03 20:33 EDT by Amir Hedayaty
Modified: 2012-05-16 11:12 EDT (History)
3 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2012-05-16 11:12:19 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Amir Hedayaty 2012-04-03 20:33:46 EDT
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

: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.
: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
Comment 1 Miroslav Grepl 2012-04-04 04:25:29 EDT
Where is missfont.log located? I think your home dir is mislabeled?

ls -Z PATHO/missfont.log
Comment 2 Amir Hedayaty 2012-04-04 11:07:46 EDT
-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.
Comment 3 Miroslav Grepl 2012-04-04 13:11:42 EDT
What is a path to missfont.log?
Comment 4 Amir Hedayaty 2012-04-04 13:30:53 EDT
in the home, evince puts it over ther
Comment 5 Amir Hedayaty 2012-04-04 13:31:08 EDT
in the home, evince puts it over there
Comment 6 Miroslav Grepl 2012-04-05 09:26:28 EDT
So you are saying 


Comment 7 Amir Hedayaty 2012-04-05 11:48:40 EDT
Comment 8 Daniel Walsh 2012-04-09 16:01:01 EDT
Any idea where this file came from?  I do not see missfont.log in evince package.

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