zoukankan      html  css  js  c++  java
  • 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

  • 相关阅读:
    开发新技术展望系列课程(视频课程讲师:徐晓卓)
    VSTS风暴系列课程(视频课程讲师:王京京/王兴明/王然)
    Mysql索引的数据结构及索引优化
    CAP原则,分布式场景下为何只能取其二
    为什么使用Redission解决高并发场景分布式锁问题
    Java面试题(6)Redis
    外企英语面试常见问题及核心话术
    Nacos&Eureka&Zookeeper
    j2ee中DAO设计模式
    第一个随笔
  • 原文地址:https://www.cnblogs.com/rgqancy/p/5572902.html
Copyright © 2011-2022 走看看