I have been without Google Chrome for a few days now since an update. Got another update but it didn't solve the problem and I miss my Google Chrome! Anyway SELinux is blocking it and I can't figure out what I need to do to make it work. Sorry but I need a very, hold my hand and step me through it. Here is the SELinux alert. Thanks in advance for the help.
SELinux is preventing /opt/google/chrome/chrome from execmod access on the file /opt/google/chrome/chrome.
***** Plugin allow_execmod (91.4 confidence) suggests **********************
If you want to allow chrome to have execmod access on the chrome file
Then you need to change the label on '/opt/google/chrome/chrome'
Do
# semanage fcontext -a -t textrel_shlib_t '/opt/google/chrome/chrome'
# restorecon -v '/opt/google/chrome/chrome'
***** Plugin catchall (9.59 confidence) suggests ***************************
If you believe that chrome should be allowed execmod access on the chrome 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 chrome /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:execmem_exec_t:s0
Target Objects /opt/google/chrome/chrome [ file ]
Source chrome
Source Path /opt/google/chrome/chrome
Port <Unknown>
Host localhost.localdomain
Source RPM Packages google-chrome-stable-14.0.835.186-101821
Target RPM Packages google-chrome-stable-14.0.835.186-101821
Policy RPM selinux-policy-3.9.7-44.fc14
Selinux Enabled True
Policy Type targeted
Enforcing Mode Enforcing
Host Name localhost.localdomain
Platform Linux localhost.localdomain 2.6.35.14-96.fc14.i686
#1 SMP Thu Sep 1 12:49:38 UTC 2011 i686 i686
Alert Count 2
First Seen Thu 22 Sep 2011 10:48:43 AM PDT
Last Seen Thu 22 Sep 2011 01:20:27 PM PDT
Local ID af7cea1a-8065-4d23-bb98-816dac7e3c31
Raw Audit Messages
type=AVC msg=audit(1316722827.997:23562): avc: denied { execmod } for pid=3941 comm="chrome" path="/opt/google/chrome/chrome" dev=dm-0 ino=1456521 scontext=unconfined_u:unconfined_r:chrome_sandbox_ t:s0-s0:c0.c1023 tcontext=system_u:object_r:execmem_exec_t:s0 tclass=file
type=SYSCALL msg=audit(1316722827.997:23562): arch=i386 syscall=mprotect success=no exit=EACCES a0=b463b000 a1=31fd000 a2=5 a3=bfbccad0 items=0 ppid=0 pid=3941 auid=500 uid=500 gid=500 euid=500 suid=500 fsuid=500 egid=500 sgid=500 fsgid=500 tty=(none) ses=1 comm=chrome exe=/opt/google/chrome/chrome subj=unconfined_u:unconfined_r:chrome_sandbox_t:s0-s0:c0.c1023 key=(null)
Hash: chrome,chrome_sandbox_t,execmem_exec_t,file,execmo d
audit2allow
#============= chrome_sandbox_t ==============
allow chrome_sandbox_t execmem_exec_t:file execmod;
audit2allow -R
#============= chrome_sandbox_t ==============
allow chrome_sandbox_t execmem_exec_t:file execmod;