CentOS 7 Install Adobe Flash Player
Posted rgqancy
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了CentOS 7 Install Adobe Flash Player相关的知识,希望对你有一定的参考价值。
From Officail Adobe Flash Site don‘t down (YUM )adobe-release-x86_64-1.0-1.noarch.rpm,but to download RPM(flash-plugin-11.2.202.621-release.x86_64.rpm)
If you use SELinux, you will get a warn.Following the warn do the suggestion steps.It‘s OK!
SELinux is preventing /usr/lib64/firefox/plugin-container from create access on the directory #SharedObjects.
***** Plugin mozplugger (99.1 confidence) suggests ************************
If 您要使用 plugin 软件包
Then 您必须关闭 SELinux 对于 FIrefox 插件的控制。
Do
# setsebool -P unconfined_mozilla_plugin_transition 0
***** Plugin catchall (1.81 confidence) suggests **************************
If 您确定应默认允许 plugin-container create 访问 #SharedObjects directory。
Then 您应该将这个情况作为 bug 报告。
您可以生成本地策略模块允许这个访问。
Do
请执行以下命令此时允许这个访问:
# grep plugin-containe /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:admin_home_t:s0
Target Objects #SharedObjects [ dir ]
Source plugin-containe
Source Path /usr/lib64/firefox/plugin-container
Port <Unknown>
Host localhost.localdomain
Source RPM Packages firefox-45.2.0-1.el7.centos.x86_64
Target RPM Packages
Policy RPM selinux-policy-3.13.1-60.el7_2.3.noarch
Selinux Enabled True
Policy Type targeted
Enforcing Mode Enforcing
Host Name localhost.localdomain
Platform Linux localhost.localdomain
3.10.0-327.18.2.el7.x86_64 #1 SMP Thu May 12
11:03:55 UTC 2016 x86_64 x86_64
Alert Count 64
First Seen 2016-06-09 21:49:52 CST
Last Seen 2016-06-09 21:56:17 CST
Local ID 801ce1d8-dcdd-47d6-9fd3-3aa951bfc2c3
Raw Audit Messages
type=AVC msg=audit(1465480577.613:7598): avc: denied { create } for pid=7864 comm="plugin-containe" name="#SharedObjects" scontext=unconfined_u:unconfined_r:mozilla_plugin_t:s0-s0:c0.c1023 tcontext=unconfined_u:object_r:admin_home_t:s0 tclass=dir
type=SYSCALL msg=audit(1465480577.613:7598): arch=x86_64 syscall=mkdir success=no exit=EACCES a0=c8d4e1f8250 a1=1c0 a2=ffffffffffffff50 a3=5f6873616c462f61 items=0 ppid=7797 pid=7864 auid=0 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) ses=5 comm=plugin-containe exe=/usr/lib64/firefox/plugin-container subj=unconfined_u:unconfined_r:mozilla_plugin_t:s0-s0:c0.c1023 key=(null)
Hash: plugin-containe,mozilla_plugin_t,admin_home_t,dir,create
以上是关于CentOS 7 Install Adobe Flash Player的主要内容,如果未能解决你的问题,请参考以下文章
centos 火狐浏览器安装adobe flash player插件