Bug 1263704 - SELinux is preventing /usr/lib64/firefox/plugin-container from 'read' accesses on the file /etc/crontab.
SELinux is preventing /usr/lib64/firefox/plugin-container from 'read' accesse...
Status: CLOSED NOTABUG
Product: Fedora
Classification: Fedora
Component: selinux-policy (Show other bugs)
22
x86_64 Unspecified
unspecified Severity unspecified
: ---
: ---
Assigned To: Miroslav Grepl
Fedora Extras Quality Assurance
abrt_hash:c2c137180e23d5d7a83ed32ff3c...
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2015-09-16 09:12 EDT by antonio montagnani
Modified: 2015-09-22 05:14 EDT (History)
5 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2015-09-22 05:14:09 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description antonio montagnani 2015-09-16 09:12:11 EDT
Description of problem:
no idea, playing some radio stream online
SELinux is preventing /usr/lib64/firefox/plugin-container from 'read' accesses on the file /etc/crontab.

*****  Plugin mozplugger (99.1 confidence) suggests   ************************

If si vuole usare il pacchetto plugin
Then disabilitare i controlli SELinux sui plugin di Firefox.
Do
# setsebool -P unconfined_mozilla_plugin_transition 0

*****  Plugin catchall (1.81 confidence) suggests   **************************

If si crede che plugin-container dovrebbe avere possibilità di accesso read sui crontab file in modo predefinito.
Then si dovrebbe riportare il problema come bug.
E' possibile generare un modulo di politica locale per consentire questo accesso.
Do
consentire questo accesso per il momento eseguendo:
# grep pool /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                system_u:object_r:system_cron_spool_t:s0
Target Objects                /etc/crontab [ file ]
Source                        pool
Source Path                   /usr/lib64/firefox/plugin-container
Port                          <Unknown>
Host                          (removed)
Source RPM Packages           firefox-40.0.3-1.fc22.x86_64
Target RPM Packages           crontabs-1.11-9.20130830git.fc22.noarch
Policy RPM                    selinux-policy-3.13.1-128.12.fc22.noarch
Selinux Enabled               True
Policy Type                   targeted
Enforcing Mode                Enforcing
Host Name                     (removed)
Platform                      Linux (removed) 4.1.6-201.fc22.x86_64 #1 SMP Fri
                              Sep 4 17:49:24 UTC 2015 x86_64 x86_64
Alert Count                   1
First Seen                    2015-09-16 15:10:35 CEST
Last Seen                     2015-09-16 15:10:35 CEST
Local ID                      d10a7c30-a215-497a-ad95-bb7a8b6f82e0

Raw Audit Messages
type=AVC msg=audit(1442409035.34:601): avc:  denied  { read } for  pid=6476 comm="pool" name="crontab" dev="dm-1" ino=1704499 scontext=unconfined_u:unconfined_r:mozilla_plugin_t:s0-s0:c0.c1023 tcontext=system_u:object_r:system_cron_spool_t:s0 tclass=file permissive=0


type=SYSCALL msg=audit(1442409035.34:601): arch=x86_64 syscall=open success=no exit=EACCES a0=7fd6f8691cf0 a1=40000 a2=0 a3=0 items=0 ppid=5189 pid=6476 auid=1000 uid=1000 gid=1000 euid=1000 suid=1000 fsuid=1000 egid=1000 sgid=1000 fsgid=1000 tty=(none) ses=1 comm=pool exe=/usr/lib64/firefox/plugin-container subj=unconfined_u:unconfined_r:mozilla_plugin_t:s0-s0:c0.c1023 key=(null)

Hash: pool,mozilla_plugin_t,system_cron_spool_t,file,read

Version-Release number of selected component:
selinux-policy-3.13.1-128.12.fc22.noarch

Additional info:
reporter:       libreport-2.6.2
hashmarkername: setroubleshoot
kernel:         4.1.6-201.fc22.x86_64
type:           libreport
Comment 1 Miroslav Grepl 2015-09-22 05:14:09 EDT
Either execute

*****  Plugin mozplugger (99.1 confidence) suggests   ************************

If si vuole usare il pacchetto plugin
Then disabilitare i controlli SELinux sui plugin di Firefox.
Do
# setsebool -P unconfined_mozilla_plugin_transition 0


or you can dontaudit it using 


# grep pool /var/log/audit/audit.log | audit2allow -D -M mypol
# semodule -i mypol.pp

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