Bug 819172 - SELinux is preventing /usr/bin/totem from 'name_bind' accesses on the udp_socket .
SELinux is preventing /usr/bin/totem from 'name_bind' accesses on the udp_soc...
Product: Fedora
Classification: Fedora
Component: selinux-policy (Show other bugs)
x86_64 Unspecified
unspecified Severity unspecified
: ---
: ---
Assigned To: Miroslav Grepl
Fedora Extras Quality Assurance
Depends On:
  Show dependency treegraph
Reported: 2012-05-05 06:46 EDT by D.S. Ljungmark
Modified: 2012-05-27 21:19 EDT (History)
3 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2012-05-27 21:19:41 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description D.S. Ljungmark 2012-05-05 06:46:16 EDT
libreport version: 2.0.10
executable:     /usr/bin/python2.7
hashmarkername: setroubleshoot
kernel:         3.3.4-3.fc17.x86_64
time:           Sat 05 May 2012 12:45:55 PM CEST

:SELinux is preventing /usr/bin/totem from 'name_bind' accesses on the udp_socket .
:*****  Plugin catchall (100. confidence) suggests  ***************************
:If you believe that totem should be allowed name_bind access on the  udp_socket by default.
:Then you should report this as a bug.
:You can generate a local policy module to allow this access.
:allow this access for now by executing:
:# grep totem /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:ssdp_port_t:s0
:Target Objects                 [ udp_socket ]
:Source                        totem
:Source Path                   /usr/bin/totem
:Port                          1900
:Host                          (removed)
:Source RPM Packages           totem-3.4.0-1.fc17.x86_64
:Target RPM Packages           
:Policy RPM                    selinux-policy-3.10.0-118.fc17.noarch
:Selinux Enabled               True
:Policy Type                   targeted
:Enforcing Mode                Enforcing
:Host Name                     (removed)
:Platform                      Linux Waves.darkmere 3.3.4-3.fc17.x86_64 #1 SMP
:                              Wed May 2 16:16:08 UTC 2012 x86_64 x86_64
:Alert Count                   2
:First Seen                    Sat 05 May 2012 12:35:56 PM CEST
:Last Seen                     Sat 05 May 2012 12:35:56 PM CEST
:Local ID                      99493bd9-e675-4ecf-812b-5d371ba453bc
:Raw Audit Messages
:type=AVC msg=audit(1336214156.839:232): avc:  denied  { name_bind } for  pid=23488 comm="totem" src=1900 scontext=unconfined_u:unconfined_r:mozilla_plugin_t:s0-s0:c0.c1023 tcontext=system_u:object_r:ssdp_port_t:s0 tclass=udp_socket
:type=SYSCALL msg=audit(1336214156.839:232): arch=x86_64 syscall=bind success=no exit=EACCES a0=1a a1=7fff5b2c09e0 a2=10 a3=7fff5b2c09dc items=0 ppid=1 pid=23488 auid=1000 uid=1000 gid=1000 euid=1000 suid=1000 fsuid=1000 egid=1000 sgid=1000 fsgid=1000 tty=(none) ses=5 comm=totem exe=/usr/bin/totem subj=unconfined_u:unconfined_r:mozilla_plugin_t:s0-s0:c0.c1023 key=(null)
:Hash: totem,mozilla_plugin_t,ssdp_port_t,udp_socket,name_bind
:audit2allowunable to open /sys/fs/selinux/policy:  Permission denied
:audit2allow -Runable to open /sys/fs/selinux/policy:  Permission denied
Comment 1 Daniel Walsh 2012-05-07 10:56:59 EDT
I am not sure what to do with this.  Are you seeing anything break because of this?  


Unless you are seeing totem break for some reason, I think we should block this access.
Comment 2 Daniel Walsh 2012-05-07 11:03:36 EDT
Added dontaudit in selinux-policy-3.10.0-122.fc17
Comment 3 Fedora Update System 2012-05-09 11:17:07 EDT
selinux-policy-3.10.0-124.fc17 has been submitted as an update for Fedora 17.
Comment 4 Fedora Update System 2012-05-17 18:57:20 EDT
Package selinux-policy-3.10.0-125.fc17:
* should fix your issue,
* was pushed to the Fedora 17 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.10.0-125.fc17'
as soon as you are able to.
Please go to the following url:
then log in and leave karma (feedback).
Comment 5 Fedora Update System 2012-05-27 21:19:41 EDT
selinux-policy-3.10.0-125.fc17 has been pushed to the Fedora 17 stable repository.  If problems still persist, please make note of it in this bug report.

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