Description of problem: SELinux is preventing /usr/lib/jvm/java-1.7.0-openjdk-1.7.0.19.x86_64/jre/bin/java from 'create' accesses on the file .appletTrustSettings. ***** Plugin mozplugger (99.1 confidence) suggests ************************* If you want to use the plugin package Then you must turn off SELinux controls on the Firefox plugins. Do # setsebool unconfined_mozilla_plugin_transition 0 ***** Plugin catchall (1.81 confidence) suggests *************************** If you believe that java should be allowed create access on the .appletTrustSettings 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 java /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 .appletTrustSettings [ file ] Source java Source Path /usr/lib/jvm/java-1.7.0-openjdk-1.7.0.19.x86_64/jr e/bin/java Port <Unknown> Host (removed) Source RPM Packages java-1.7.0-openjdk-1.7.0.19-2.3.9.3.fc18.x86_64 Target RPM Packages Policy RPM selinux-policy-3.11.1-92.fc18.noarch Selinux Enabled True Policy Type targeted Enforcing Mode Enforcing Host Name (removed) Platform Linux (removed) 3.9.2-200.fc18.x86_64 #1 SMP Mon May 13 13:59:47 UTC 2013 x86_64 x86_64 Alert Count 1 First Seen 2013-05-17 20:49:07 BST Last Seen 2013-05-17 20:49:07 BST Local ID 10ed687c-b6e0-466f-8885-2460677d24f9 Raw Audit Messages type=AVC msg=audit(1368820147.617:370): avc: denied { create } for pid=8710 comm="java" name=".appletTrustSettings" 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(1368820147.617:370): arch=x86_64 syscall=open success=no exit=EACCES a0=7f689801b670 a1=c2 a2=1b6 a3=7375725474656c70 items=0 ppid=8653 pid=8710 auid=1000 uid=1000 gid=1000 euid=1000 suid=1000 fsuid=1000 egid=1000 sgid=1000 fsgid=1000 ses=1 tty=(none) comm=java exe=/usr/lib/jvm/java-1.7.0-openjdk-1.7.0.19.x86_64/jre/bin/java subj=unconfined_u:unconfined_r:mozilla_plugin_t:s0-s0:c0.c1023 key=(null) Hash: java,mozilla_plugin_t,user_home_t,file,create audit2allow #============= mozilla_plugin_t ============== allow mozilla_plugin_t user_home_t:file create; audit2allow -R require { type mozilla_plugin_t; } #============= mozilla_plugin_t ============== userdom_manage_user_home_content_files(mozilla_plugin_t) Additional info: hashmarkername: setroubleshoot kernel: 3.9.2-200.fc18.x86_64 type: libreport
This looks like java is trying to create .appletTrustSettings in the homedir. Any reason this is not happening in the ~/.java/ directory? restorecon -R -v ~/.java
OK, not sure what was going on but restorecon -R -v ~/.java seems to have fixed it.. Thanks.
*** Bug 981694 has been marked as a duplicate of this bug. ***