Bug 1329825 - SELinux is preventing plugin-containe from 'write' accesses on the file 2.jpg.
Summary: SELinux is preventing plugin-containe from 'write' accesses on the file 2.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:0192f8194cb6bea10538bafdb25...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-04-23 14:31 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:22 UTC
Type: ---


Attachments (Terms of Use)

Description skos 2016-04-23 14:31:38 UTC
Description of problem:
SELinux is preventing plugin-containe from 'write' accesses on the file 2.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 следует разрешить доступ write к 2.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                2.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                   1
First Seen                    2016-03-28 22:45:14 EEST
Last Seen                     2016-03-28 22:45:14 EEST
Local ID                      cbd18185-f784-4483-a643-7b4a87f33ee3

Raw Audit Messages
type=AVC msg=audit(1459194314.223:482): avc:  denied  { write } for  pid=30985 comm="plugin-containe" name="2.jpg" dev="sda3" ino=1707491 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,write

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 678136

Comment 1 Lukas Vrabec 2016-04-25 08:49:22 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.