Description of problem: SELinux is preventing /usr/lib64/xulrunner/plugin-container from 'getattr' accesses on the file /core.2129. ***** Plugin restorecon (99.5 confidence) suggests ************************* If you want to fix the label. /core.2129 default label should be etc_runtime_t. Then you can run restorecon. Do # /sbin/restorecon -v /core.2129 ***** Plugin catchall (1.49 confidence) suggests *************************** If you believe that plugin-container should be allowed getattr access on the core.2129 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 pool /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 system_u:object_r:root_t:s0 Target Objects /core.2129 [ file ] Source pool Source Path /usr/lib64/xulrunner/plugin-container Port <Unknown> Host (removed) Source RPM Packages xulrunner-18.0.2-1.fc18.x86_64 Target RPM Packages Policy RPM selinux-policy-3.11.1-76.fc18.noarch Selinux Enabled True Policy Type targeted Enforcing Mode Enforcing Host Name (removed) Platform Linux (removed) 3.7.6-201.fc18.x86_64 #1 SMP Mon Feb 4 15:54:08 UTC 2013 x86_64 x86_64 Alert Count 2 First Seen 2013-02-15 08:38:20 CET Last Seen 2013-02-15 08:38:20 CET Local ID 447ecb28-fcb6-4598-b968-7580291aec44 Raw Audit Messages type=AVC msg=audit(1360913900.536:347): avc: denied { getattr } for pid=3055 comm="pool" path="/core.2129" dev="dm-1" ino=2257 scontext=unconfined_u:unconfined_r:mozilla_plugin_t:s0-s0:c0.c1023 tcontext=system_u:object_r:root_t:s0 tclass=file type=SYSCALL msg=audit(1360913900.536:347): arch=x86_64 syscall=lstat success=no exit=EACCES a0=7f0d00049430 a1=7f0cfdffa9b0 a2=7f0cfdffa9b0 a3=100007 items=0 ppid=2464 pid=3055 auid=1000 uid=1000 gid=1000 euid=1000 suid=1000 fsuid=1000 egid=1000 sgid=1000 fsgid=1000 ses=2 tty=(none) comm=pool exe=/usr/lib64/xulrunner/plugin-container subj=unconfined_u:unconfined_r:mozilla_plugin_t:s0-s0:c0.c1023 key=(null) Hash: pool,mozilla_plugin_t,root_t,file,getattr audit2allow #============= mozilla_plugin_t ============== allow mozilla_plugin_t root_t:file getattr; audit2allow -R #============= mozilla_plugin_t ============== allow mozilla_plugin_t root_t:file getattr; Additional info: hashmarkername: setroubleshoot kernel: 3.7.6-201.fc18.x86_64 type: libreport
Did this happen while firefox was crashing?
Yes, it happened while firefox was crashing.
Well probably not something we want to allow. The /core file was created by the kernel, and we do not want to allow plugins to touch the core file.
Cheers!
Miroslav lets add a dontaudit.
3054d7bedbd52af28c7adfdd8ceba9872b5720b9 fixes this in Rawhide.
Has been backported.
selinux-policy-3.11.1-81.fc18 has been submitted as an update for Fedora 18. https://admin.fedoraproject.org/updates/selinux-policy-3.11.1-81.fc18
selinux-policy-3.11.1-81.fc18 has been pushed to the Fedora 18 stable repository. If problems still persist, please make note of it in this bug report.