Hide Forgot
SELinux is preventing /usr/lib64/chromium-browser/chrome-sandbox from 'getattr' accesses on the directory /proc/<pid>. ***** Plugin catchall_labels (83.8 confidence) suggests ******************** If you want to allow chrome-sandbox to have getattr access on the <pid> directory Then you need to change the label on /proc/<pid> Do # semanage fcontext -a -t FILE_TYPE '/proc/<pid>' where FILE_TYPE is one of the following: sysctl_t, abrt_t, bin_t, sysctl_kernel_t, home_root_t, lib_t, mnt_t, root_t, nscd_var_run_t, tmp_t, usr_t, var_t, unconfined_execmem_t, device_t, user_usertype, etc_t, proc_t, cgroup_t, textrel_shlib_t, sysctl_t, staff_usertype, bin_t, cert_t, lib_t, rpm_script_tmp_t, tmp_t, user_home_dir_t, usr_t, var_t, security_t, xguest_usertype, device_t, locale_t, etc_t, fonts_t, default_t, user_fonts_t, user_tmpfs_t, proc_t, sosreport_tmp_t, sysfs_t, tmpfs_t, config_home_t, rpm_tmp_t, var_run_t, fonts_cache_t, chrome_sandbox_tmpfs_t, user_fonts_cache_t, user_fonts_config_t, rpm_log_t, var_log_t, var_run_t, xdm_tmp_t, abrt_var_run_t, chrome_sandbox_tmp_t, sysadm_usertype, unconfined_usertype, sysctl_crypto_t, avahi_var_run_t, xdm_var_run_t, setrans_var_run_t, net_conf_t, chrome_sandbox_t, staff_execmem_t, user_execmem_t, device_t. Then execute: restorecon -v '/proc/<pid>' ***** Plugin catchall (17.1 confidence) suggests *************************** If you believe that chrome-sandbox should be allowed getattr access on the <pid> 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 chrome-sandbox /var/log/audit/audit.log | audit2allow -M mypol # semodule -i mypol.pp Additional Information: Source Context unconfined_u:unconfined_r:chrome_sandbox_t:s0-s0:c 0.c1023 Target Context system_u:object_r:unlabeled_t:s0 Target Objects /proc/<pid> [ dir ] Source chrome-sandbox Source Path /usr/lib64/chromium-browser/chrome-sandbox Port <Unknown> Host (removed) Source RPM Packages chromium-12.0.718.0-1.fc15 Target RPM Packages Policy RPM selinux-policy-3.9.16-16.fc15 Selinux Enabled True Policy Type targeted Enforcing Mode Enforcing Host Name (removed) Platform Linux (removed) 2.6.38.2-9.fc15.x86_64 #1 SMP Wed Mar 30 16:55:57 UTC 2011 x86_64 x86_64 Alert Count 5 First Seen Sun 24 Apr 2011 17:44:18 IST Last Seen Sun 24 Apr 2011 17:46:31 IST Local ID 0643528e-db21-4ed6-b5ac-8b721f2ae610 Raw Audit Messages type=AVC msg=audit(1303647391.212:386): avc: denied { getattr } for pid=8091 comm="chrome-sandbox" path="/proc/24500" dev=proc ino=237599 scontext=unconfined_u:unconfined_r:chrome_sandbox_t:s0-s0:c0.c1023 tcontext=system_u:object_r:unlabeled_t:s0 tclass=dir type=SYSCALL msg=audit(1303647391.212:386): arch=x86_64 syscall=stat success=no exit=EACCES a0=7fff2ef788f0 a1=7fff2ef78850 a2=7fff2ef78850 a3=0 items=0 ppid=28215 pid=8091 auid=500 uid=500 gid=500 euid=0 suid=0 fsuid=0 egid=500 sgid=500 fsgid=500 tty=(none) ses=1 comm=chrome-sandbox exe=/usr/lib64/chromium-browser/chrome-sandbox subj=unconfined_u:unconfined_r:chrome_sandbox_t:s0-s0:c0.c1023 key=(null) Hash: chrome-sandbox,chrome_sandbox_t,unlabeled_t,dir,getattr audit2allow #============= chrome_sandbox_t ============== allow chrome_sandbox_t unlabeled_t:dir getattr; audit2allow -R #============= chrome_sandbox_t ============== allow chrome_sandbox_t unlabeled_t:dir getattr;
*** This bug has been marked as a duplicate of bug 702071 ***