安装chrome浏览器后出现SELinux报错现象
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
解决方法:
- # grep chrome /var/log/audit/audit.log | audit2allow -M mypol
- # semodule -i mypol.pp
ok,这样就解决了
转载于:https://blog.51cto.com/zhengchangbai/824252