Bug 1329824 - SELinux is preventing plugin-containe from 'create' accesses on the file 4.jpg.
Summary: SELinux is preventing plugin-containe from 'create' accesses on the file 4.jpg.
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Fedora
Classification: Fedora
Component: selinux-policy
Version: 23
Hardware: i686
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Miroslav Grepl
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: abrt_hash:c28c4115360cf3f41c7d784182a...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-04-23 14:30 UTC by skos
Modified: 2016-04-25 08:49 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-04-25 08:49:07 UTC
Type: ---


Attachments (Terms of Use)

Description skos 2016-04-23 14:30:27 UTC
Description of problem:
SELinux is preventing plugin-containe from 'create' accesses on the file 4.jpg.

*****  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-containe следует разрешить доступ create к 4.jpg file по умолчанию.
Then рекомендуется создать отчет об ошибке.
Чтобы разрешить доступ, можно создать локальный модуль политики.
Do
allow this access for now by executing:
# ausearch -c plugin-containe --raw | 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:user_home_t:s0
Target Objects                4.jpg [ file ]
Source                        plugin-containe
Source Path                   plugin-containe
Port                          <Unknown>
Host                          (removed)
Source RPM Packages           
Target RPM Packages           
Policy RPM                    selinux-policy-3.13.1-158.11.fc23.noarch
Selinux Enabled               True
Policy Type                   targeted
Enforcing Mode                Enforcing
Host Name                     (removed)
Platform                      Linux (removed) 4.4.6-300.fc23.i686 #1 SMP Wed Mar
                              16 22:48:22 UTC 2016 i686 i686
Alert Count                   6
First Seen                    2016-03-28 22:18:12 EEST
Last Seen                     2016-03-28 22:57:37 EEST
Local ID                      081a29e6-dc90-46a0-acdf-a377ccd96026

Raw Audit Messages
type=AVC msg=audit(1459195057.756:514): avc:  denied  { create } for  pid=31257 comm="plugin-containe" name="4.jpg" scontext=unconfined_u:unconfined_r:mozilla_plugin_t:s0-s0:c0.c1023 tcontext=unconfined_u:object_r:user_home_t:s0 tclass=file permissive=0


Hash: plugin-containe,mozilla_plugin_t,user_home_t,file,create

Version-Release number of selected component:
selinux-policy-3.13.1-158.11.fc23.noarch

Additional info:
reporter:       libreport-2.6.4
hashmarkername: setroubleshoot
kernel:         4.4.7-300.fc23.i686
type:           libreport

Potential duplicate: bug 806606

Comment 1 Lukas Vrabec 2016-04-25 08:49:07 UTC
*****  Plugin mozplugger (99.1 confidence) suggests   ************************

If нужно использовать пакет plugin
Then необходимо отключить контроль SELinux для дополнительных модулей Firefox.
Do
# setsebool -P unconfined_mozilla_plugin_transition 0


Note You need to log in before you can comment on or make changes to this bug.