Bug 845530 - SELinux is preventing /usr/bin/totem-video-thumbnailer from 'name_connect' accesses on the tcp_socket .
Summary: SELinux is preventing /usr/bin/totem-video-thumbnailer from 'name_connect' ac...
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Fedora
Classification: Fedora
Component: selinux-policy
Version: 17
Hardware: x86_64
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Miroslav Grepl
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: abrt_hash:263c73ad00f0bae9ea93eda27cb...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-08-03 10:51 UTC by Mark Knoop
Modified: 2012-08-06 09:09 UTC (History)
3 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2012-08-06 09:09:32 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Mark Knoop 2012-08-03 10:51:57 UTC
libreport version: 2.0.10
executable:     /usr/bin/python2.7
hashmarkername: setroubleshoot
kernel:         3.5.0-2.fc17.x86_64
time:           Fri 03 Aug 2012 11:51:18 BST

description:
:SELinux is preventing /usr/bin/totem-video-thumbnailer from 'name_connect' accesses on the tcp_socket .
:
:*****  Plugin catchall (100. confidence) suggests  ***************************
:
:If you believe that totem-video-thumbnailer should be allowed name_connect access on the  tcp_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 totem-video-thu /var/log/audit/audit.log | audit2allow -M mypol
:# semodule -i mypol.pp
:
:Additional Information:
:Source Context                unconfined_u:unconfined_r:thumb_t:s0-s0:c0.c1023
:Target Context                system_u:object_r:xserver_port_t:s0
:Target Objects                 [ tcp_socket ]
:Source                        totem-video-thu
:Source Path                   /usr/bin/totem-video-thumbnailer
:Port                          6010
:Host                          (removed)
:Source RPM Packages           totem-3.4.3-1.fc17.x86_64
:Target RPM Packages           
:Policy RPM                    selinux-policy-3.10.0-142.fc17.noarch
:Selinux Enabled               True
:Policy Type                   targeted
:Enforcing Mode                Enforcing
:Host Name                     (removed)
:Platform                      Linux (removed) 3.5.0-2.fc17.x86_64 #1 SMP
:                              Mon Jul 30 14:48:59 UTC 2012 x86_64 x86_64
:Alert Count                   12
:First Seen                    Fri 03 Aug 2012 08:52:12 BST
:Last Seen                     Fri 03 Aug 2012 08:52:16 BST
:Local ID                      d37feff5-13fd-47d6-ac8d-ea79ab8f831a
:
:Raw Audit Messages
:type=AVC msg=audit(1343980336.417:967): avc:  denied  { name_connect } for  pid=7945 comm="totem-video-thu" dest=6010 scontext=unconfined_u:unconfined_r:thumb_t:s0-s0:c0.c1023 tcontext=system_u:object_r:xserver_port_t:s0 tclass=tcp_socket
:
:
:type=SYSCALL msg=audit(1343980336.417:967): arch=x86_64 syscall=connect success=no exit=EACCES a0=3 a1=2260c20 a2=10 a3=7fffd9e326f4 items=0 ppid=7804 pid=7945 auid=500 uid=500 gid=500 euid=500 suid=500 fsuid=500 egid=500 sgid=500 fsgid=500 tty=pts0 ses=53 comm=totem-video-thu exe=/usr/bin/totem-video-thumbnailer subj=unconfined_u:unconfined_r:thumb_t:s0-s0:c0.c1023 key=(null)
:
:Hash: totem-video-thu,thumb_t,xserver_port_t,tcp_socket,name_connect
:
:audit2allow
:
:#============= thumb_t ==============
:allow thumb_t xserver_port_t:tcp_socket name_connect;
:
:audit2allow -R
:
:#============= thumb_t ==============
:allow thumb_t xserver_port_t:tcp_socket name_connect;
:

Comment 1 Daniel Walsh 2012-08-03 11:42:14 UTC
Did the video play?

Comment 2 Mark Knoop 2012-08-06 08:40:25 UTC
I think so, yes. Although I only noticed the setroubleshoot alert later so I'm not really sure which video it relates to.

Comment 3 Miroslav Grepl 2012-08-06 08:56:07 UTC
And did it work?

Comment 4 Mark Knoop 2012-08-06 09:07:40 UTC
repeat Comment 2.

Comment 5 Miroslav Grepl 2012-08-06 09:09:32 UTC
Ok, let's close it for now and re-open if this happens again. Thank you.


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