Bug 1005545 - SELinux is preventing /usr/bin/flare-grab from 'create' accesses on the packet_socket .
Summary: SELinux is preventing /usr/bin/flare-grab from 'create' accesses on the packe...
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Fedora
Classification: Fedora
Component: selinux-policy
Version: 19
Hardware: x86_64
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Miroslav Grepl
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: abrt_hash:9a07011313567a6a924d47a6db0...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-09-08 08:27 UTC by mamii
Modified: 2023-09-14 01:50 UTC (History)
5 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2013-09-09 17:14:27 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description mamii 2013-09-08 08:27:51 UTC
Description of problem:
SELinux is preventing /usr/bin/flare-grab from 'create' accesses on the packet_socket .

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

If you want to use the plugin package
Then you must turn off SELinux controls on the Firefox plugins.
Do
# setsebool -P unconfined_mozilla_plugin_transition 0

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

If you believe that flare-grab should be allowed create access on the  packet_socket by default.
Then you should report this as a bug.
You can generate a local policy module to allow this access.
Do
allow this access for now by executing:
# grep flare-grab /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:unconfined_r:mozilla_plugin_t:s0-s0:c
                              0.c1023
Target Objects                 [ packet_socket ]
Source                        flare-grab
Source Path                   /usr/bin/flare-grab
Port                          <Unknown>
Host                          (removed)
Source RPM Packages           flareget-1.5-12.x86_64
Target RPM Packages           
Policy RPM                    selinux-policy-3.12.1-74.1.fc19.noarch
Selinux Enabled               True
Policy Type                   targeted
Enforcing Mode                Enforcing
Host Name                     (removed)
Platform                      Linux (removed) 3.10.10-200.fc19.x86_64 #1 SMP Thu
                              Aug 29 19:05:45 UTC 2013 x86_64 x86_64
Alert Count                   52
First Seen                    2013-07-25 11:57:16 CET
Last Seen                     2013-09-08 09:23:26 CET
Local ID                      57a7603e-1ef1-4270-8980-eaa8cf7e0107

Raw Audit Messages
type=AVC msg=audit(1378628606.215:467): avc:  denied  { create } for  pid=3478 comm="flare-grab" scontext=unconfined_u:unconfined_r:mozilla_plugin_t:s0-s0:c0.c1023 tcontext=unconfined_u:unconfined_r:mozilla_plugin_t:s0-s0:c0.c1023 tclass=packet_socket


type=SYSCALL msg=audit(1378628606.215:467): arch=x86_64 syscall=socket success=no exit=EACCES a0=11 a1=3 a2=300 a3=0 items=0 ppid=3307 pid=3478 auid=1000 uid=1000 gid=1000 euid=1000 suid=1000 fsuid=1000 egid=1000 sgid=1000 fsgid=1000 ses=1 tty=(none) comm=flare-grab exe=/usr/bin/flare-grab subj=unconfined_u:unconfined_r:mozilla_plugin_t:s0-s0:c0.c1023 key=(null)

Hash: flare-grab,mozilla_plugin_t,mozilla_plugin_t,packet_socket,create

Additional info:
reporter:       libreport-2.1.6
hashmarkername: setroubleshoot
kernel:         3.10.10-200.fc19.x86_64
type:           libreport

Comment 1 Miroslav Grepl 2013-09-09 17:14:27 UTC
Do you know which plugin it causes?

# setsebool -P unconfined_mozilla_plugin_transition 0

will make it working.

Comment 2 Red Hat Bugzilla 2023-09-14 01:50:17 UTC
The needinfo request[s] on this closed bug have been removed as they have been unresolved for 1000 days


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