Description of problem: while opening calc Additional info: libreport version: 2.0.18 kernel: 3.7.3-101.fc17.i686.PAE description: :SELinux is preventing /usr/lib/libreoffice/program/soffice.bin from 'write' accesses on the file /home/michele/.recently-used. : :***** Plugin catchall (100. confidence) suggests *************************** : :If si crede che soffice.bin dovrebbe avere possibilità di accesso write sui .recently-used file in modo predefinito. :Then si dovrebbe riportare il problema come bug. :E' possibile generare un modulo di politica locale per consentire questo accesso. :Do :consentire questo accesso per il momento eseguendo: :# grep binaryurpReader /var/log/audit/audit.log | audit2allow -M mypol :# semodule -i mypol.pp : :Additional Information: :Source Context unconfined_u:unconfined_r:mozilla_plugin_t:s0-s0:c : 0.c1023 :Target Context unconfined_u:object_r:user_home_t:s0 :Target Objects /home/michele/.recently-used [ file ] :Source binaryurpReader :Source Path /usr/lib/libreoffice/program/soffice.bin :Port <Sconosciuto> :Host (removed) :Source RPM Packages libreoffice-core-3.5.7.2-7.fc17.i686 :Target RPM Packages :Policy RPM selinux-policy-3.10.0-166.fc17.noarch :Selinux Enabled True :Policy Type targeted :Enforcing Mode Enforcing :Host Name (removed) :Platform Linux (removed) 3.7.3-101.fc17.i686.PAE #1 SMP Fri : Jan 18 17:47:17 UTC 2013 i686 i686 :Alert Count 4 :First Seen 2013-01-24 22:25:01 CET :Last Seen 2013-02-03 14:21:06 CET :Local ID 19e03d46-62ec-4a09-8c29-d7d8d321f1d6 : :Raw Audit Messages :type=AVC msg=audit(1359897666.926:135): avc: denied { write } for pid=9752 comm="soffice.bin" name=".recently-used" dev="sda4" ino=24906876 scontext=unconfined_u:unconfined_r:mozilla_plugin_t:s0-s0:c0.c1023 tcontext=unconfined_u:object_r:user_home_t:s0 tclass=file : : :type=SYSCALL msg=audit(1359897666.926:135): arch=i386 syscall=open success=no exit=EACCES a0=ab6e794c a1=242 a2=1b6 a3=a9a78b0 items=0 ppid=9740 pid=9752 auid=1000 uid=1000 gid=1000 euid=1000 suid=1000 fsuid=1000 egid=1000 sgid=1000 fsgid=1000 ses=2 tty=(none) comm=soffice.bin exe=/usr/lib/libreoffice/program/soffice.bin subj=unconfined_u:unconfined_r:mozilla_plugin_t:s0-s0:c0.c1023 key=(null) : :Hash: binaryurpReader,mozilla_plugin_t,user_home_t,file,write : :audit2allow : :#============= mozilla_plugin_t ============== :allow mozilla_plugin_t user_home_t:file write; : :audit2allow -R : :#============= mozilla_plugin_t ============== :allow mozilla_plugin_t user_home_t:file write; :
Created attachment 692305 [details] File: type
Created attachment 692306 [details] File: hashmarkername
You will need to execute # setsebool -P unconfined_mozilla_plugin_transition 0 to run soffice plugin as unconfined.