Description of problem: Plugin USB key formated in vfat. (so no selinux label). Additional info: libreport version: 2.0.18 kernel: 3.6.7-4.fc17.x86_64 description: :SELinux is preventing /usr/bin/evince-thumbnailer from 'setattr' accesses on the directory /var/cache/fontconfig. : :***** Plugin catchall (100. confidence) suggests *************************** : :If you believe that evince-thumbnailer should be allowed setattr access on the fontconfig 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 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 system_u:object_r:fonts_cache_t:s0 :Target Objects /var/cache/fontconfig [ dir ] :Source evince-thumbnai :Source Path /usr/bin/evince-thumbnailer :Port <Inconnu> :Host (removed) :Source RPM Packages evince-3.4.0-2.fc17.x86_64 :Target RPM Packages fontconfig-2.8.0-8.fc17.x86_64 : fontconfig-2.8.0-8.fc17.i686 :Policy RPM selinux-policy-3.10.0-161.fc17.noarch :Selinux Enabled True :Policy Type targeted :Enforcing Mode Enforcing :Host Name (removed) :Platform Linux (removed) 3.6.7-4.fc17.x86_64 #1 SMP Tue Nov : 20 19:40:01 UTC 2012 x86_64 x86_64 :Alert Count 1 :First Seen 2012-11-29 19:05:40 CET :Last Seen 2012-11-29 19:05:40 CET :Local ID 693ee111-37e1-4ef3-a636-07c18a6a767c : :Raw Audit Messages :type=AVC msg=audit(1354212340.586:231): avc: denied { setattr } for pid=4314 comm="evince-thumbnai" name="fontconfig" dev="sdb5" ino=5936 scontext=unconfined_u:unconfined_r:thumb_t:s0-s0:c0.c1023 tcontext=system_u:object_r:fonts_cache_t:s0 tclass=dir : : :type=SYSCALL msg=audit(1354212340.586:231): arch=x86_64 syscall=chmod success=no exit=EACCES a0=1e39770 a1=1ed a2=d a3=10 items=0 ppid=2923 pid=4314 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,fonts_cache_t,dir,setattr : :audit2allow : :#============= thumb_t ============== :allow thumb_t fonts_cache_t:dir setattr; : :audit2allow -R : :#============= thumb_t ============== :allow thumb_t fonts_cache_t:dir setattr; :
Created attachment 654433 [details] File: type
Created attachment 654434 [details] File: hashmarkername
I added it to F18 commit 75fac74187ce087ed081883b4c0554e7d230695b Author: Miroslav Grepl <mgrepl> Date: Fri Nov 30 11:08:13 2012 +0100 Dontaudit setattr on fontconfig dir for thumb_t and backported to F17. commit ab6f314ec12313ed3dbfc7564d1a7458b3ddd5c2 Author: Miroslav Grepl <mgrepl> Date: Fri Nov 30 11:11:07 2012 +0100 Backport thumb.te from F18
selinux-policy-3.10.0-165.fc17 has been submitted as an update for Fedora 17. https://admin.fedoraproject.org/updates/selinux-policy-3.10.0-165.fc17
Package selinux-policy-3.10.0-165.fc17: * should fix your issue, * was pushed to the Fedora 17 testing repository, * should be available at your local mirror within two days. Update it with: # su -c 'yum update --enablerepo=updates-testing selinux-policy-3.10.0-165.fc17' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/FEDORA-2012-20544/selinux-policy-3.10.0-165.fc17 then log in and leave karma (feedback).
Package selinux-policy-3.10.0-166.fc17: * should fix your issue, * was pushed to the Fedora 17 testing repository, * should be available at your local mirror within two days. Update it with: # su -c 'yum update --enablerepo=updates-testing selinux-policy-3.10.0-166.fc17' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/FEDORA-2012-20544/selinux-policy-3.10.0-166.fc17 then log in and leave karma (feedback).
selinux-policy-3.10.0-166.fc17 has been pushed to the Fedora 17 stable repository. If problems still persist, please make note of it in this bug report.