Fedora Account System
Red Hat Associate
Red Hat Customer
Additional info: libreport version: 2.0.18 kernel: 3.6.7-4.fc17.x86_64 description: :SELinux is preventing /usr/bin/gs from 'open' accesses on the file /usr/share/fonts/msttcorefonts/couri.ttf. : :***** Plugin restorecon (99.5 confidence) suggests ************************* : :If you want to fix the label. :/usr/share/fonts/msttcorefonts/couri.ttf default label should be fonts_t. :Then you can run restorecon. :Do :# /sbin/restorecon -v /usr/share/fonts/msttcorefonts/couri.ttf : :***** Plugin catchall (1.49 confidence) suggests *************************** : :If you believe that gs should be allowed open access on the couri.ttf 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 gs /var/log/audit/audit.log | audit2allow -M mypol :# semodule -i mypol.pp : :Additional Information: :Source Context system_u:system_r:cupsd_t:s0-s0:c0.c1023 :Target Context unconfined_u:object_r:user_tmp_t:s0 :Target Objects /usr/share/fonts/msttcorefonts/couri.ttf [ file ] :Source gs :Source Path /usr/bin/gs :Port <Unknown> :Host (removed) :Source RPM Packages ghostscript-9.05-4.fc17.x86_64 :Target RPM Packages :Policy RPM selinux-policy-3.10.0-161.fc17.noarch :Selinux Enabled True :Policy Type targeted :Enforcing Mode Permissive :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-26 12:47:07 CST :Last Seen 2012-11-26 12:47:07 CST :Local ID 96da0948-d8ba-4e8e-8462-63d6e9ce6918 : :Raw Audit Messages :type=AVC msg=audit(1353955627.644:106133): avc: denied { open } for pid=29088 comm="gs" path="/usr/share/fonts/msttcorefonts/couri.ttf" dev="dm-1" ino=2110157 scontext=system_u:system_r:cupsd_t:s0-s0:c0.c1023 tcontext=unconfined_u:object_r:user_tmp_t:s0 tclass=file : : :type=SYSCALL msg=audit(1353955627.644:106133): arch=x86_64 syscall=open success=yes exit=ENXIO a0=1b1c028 a1=0 a2=1b6 a3=238 items=0 ppid=29085 pid=29088 auid=4294967295 uid=4 gid=7 euid=4 suid=4 fsuid=4 egid=7 sgid=7 fsgid=7 tty=(none) ses=4294967295 comm=gs exe=/usr/bin/gs subj=system_u:system_r:cupsd_t:s0-s0:c0.c1023 key=(null) : :Hash: gs,cupsd_t,user_tmp_t,file,open : :audit2allow : :#============= cupsd_t ============== :allow cupsd_t user_tmp_t:file open; : :audit2allow -R : :#============= cupsd_t ============== :allow cupsd_t user_tmp_t:file open; :
Created attachment 652186 [details] File: type
Created attachment 652187 [details] File: hashmarkername
The alert tells you what to do. restorecon -R -v /usr/share/fonts