Bug 1135788
| Summary: | SELinux is preventing /usr/lib64/firefox/plugin-container from 'getattr' accesses on the fifo_file . | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Frank Büttner <bugzilla> |
| Component: | selinux-policy | Assignee: | Miroslav Grepl <mgrepl> |
| Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 20 | CC: | dominick.grift, dwalsh, lvrabec, mgrepl |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | x86_64 | ||
| OS: | Unspecified | ||
| Whiteboard: | abrt_hash:f0047c37d8d2fc369f707b296365ebb9b0be42c25cec3fb3fa9af660b9990e2b | ||
| Fixed In Version: | selinux-policy-3.12.1-197.fc20 | Doc Type: | Bug Fix |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2015-03-10 00:55:40 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
Description of problem: Upload files via flash Additional info: reporter: libreport-2.2.3 hashmarkername: setroubleshoot kernel: 3.15.10-201.fc20.x86_64 type: libreport Were you using a bluetooth device when this happened? Yes an BT device(cellular phone) was connect, but only to receive an file. a247f493c3723e1f0b6f5e3d5746707ca56b4c50 fixes this in git. commit 86d8de4b1f3e0028607285363cea5abd5dcc449d
Author: Dan Walsh <dwalsh>
Date: Sat Jan 3 11:19:19 2015 -0500
allow mozilla plugins to connect to bluetooth devices
selinux-policy-3.12.1-197.fc20 has been submitted as an update for Fedora 20. https://admin.fedoraproject.org/updates/selinux-policy-3.12.1-197.fc20 Package selinux-policy-3.12.1-197.fc20: * should fix your issue, * was pushed to the Fedora 20 testing repository, * should be available at your local mirror within two days. Update it with: # su -c 'yum update --enablerepo=updates-testing selinux-policy-3.12.1-197.fc20' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/FEDORA-2015-1398/selinux-policy-3.12.1-197.fc20 then log in and leave karma (feedback). selinux-policy-3.12.1-197.fc20 has been pushed to the Fedora 20 stable repository. If problems still persist, please make note of it in this bug report. |
Description of problem: Upload file via flash plugin SELinux is preventing /usr/lib64/firefox/plugin-container from 'getattr' accesses on the fifo_file . ***** Plugin mozplugger (99.1 confidence) suggests ************************ If sie das plugin-Paket benutzen möchten Then sie müssen die SELinux-Überwachung der Firefox-Plugins ausschalten. Do # setsebool -P unconfined_mozilla_plugin_transition 0 ***** Plugin catchall (1.81 confidence) suggests ************************** If sie denken, dass es plugin-container standardmässig erlaubt sein sollte, getattr Zugriff auf fifo_file zu erhalten. Then sie sollten dies als Fehler melden. Um diesen Zugriff zu erlauben, können Sie ein lokales Richtlinien-Modul erstellen. Do zugriff jetzt erlauben, indem Sie die nachfolgenden Befehle ausführen: # 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:bluetooth_tmp_t:s0 Target Objects [ fifo_file ] Source pool Source Path /usr/lib64/firefox/plugin-container Port <Unknown> Host (removed) Source RPM Packages firefox-31.0-2.fc20.x86_64 Target RPM Packages Policy RPM selinux-policy-3.12.1-182.fc20.noarch Selinux Enabled True Policy Type targeted Enforcing Mode Enforcing Host Name (removed) Platform Linux (removed) 3.15.10-201.fc20.x86_64 #1 SMP Wed Aug 27 21:10:06 UTC 2014 x86_64 x86_64 Alert Count 1 First Seen 2014-08-31 17:11:13 CEST Last Seen 2014-08-31 17:11:13 CEST Local ID e9480278-e921-4263-ad0d-69b0cee07b6f Raw Audit Messages type=AVC msg=audit(1409497873.267:1395): avc: denied { getattr } for pid=12037 comm="pool" path="/tmp/hogsuspend" dev="tmpfs" ino=43671 scontext=unconfined_u:unconfined_r:mozilla_plugin_t:s0-s0:c0.c1023 tcontext=system_u:object_r:bluetooth_tmp_t:s0 tclass=fifo_file type=SYSCALL msg=audit(1409497873.267:1395): arch=x86_64 syscall=lstat success=yes exit=0 a0=7f94407c05f0 a1=7f941098d990 a2=7f941098d990 a3=7f94407c0040 items=0 ppid=15474 pid=12037 auid=1000 uid=1000 gid=1000 euid=1000 suid=1000 fsuid=1000 egid=1000 sgid=1000 fsgid=1000 tty=(none) ses=4 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,bluetooth_tmp_t,fifo_file,getattr Additional info: reporter: libreport-2.2.3 hashmarkername: setroubleshoot kernel: 3.15.10-201.fc20.x86_64 type: libreport