Bug 823306 - SELinux is preventing /usr/bin/gnome-mplayer from 'execute' accesses on the file /usr/bin/mencoder.
SELinux is preventing /usr/bin/gnome-mplayer from 'execute' accesses on the f...
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-20 15:13 EDT by Colin J Thomson
Modified: 2012-06-03 19:31 EDT (History)
3 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2012-06-03 19:31:18 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 Colin J Thomson 2012-05-20 15:13:01 EDT
libreport version: 2.0.10
executable:     /usr/bin/python2.7
hashmarkername: setroubleshoot
kernel:         3.3.6-3.fc17.x86_64
time:           Sun 20 May 2012 20:12:30 BST

:SELinux is preventing /usr/bin/gnome-mplayer from 'execute' accesses on the file /usr/bin/mencoder.
:*****  Plugin leaks (86.2 confidence) suggests  ******************************
:If you want to ignore gnome-mplayer trying to execute access the mencoder file, because you believe it should not need this access.
:Then you should report this as a bug.  
:You can generate a local policy module to dontaudit this access.
:# grep /usr/bin/gnome-mplayer /var/log/audit/audit.log | audit2allow -D -M mypol
:# semodule -i mypol.pp
:*****  Plugin catchall (14.7 confidence) suggests  ***************************
:If you believe that gnome-mplayer should be allowed execute access on the mencoder file 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 gnome-mplayer /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:mencoder_exec_t:s0
:Target Objects                /usr/bin/mencoder [ file ]
:Source                        gnome-mplayer
:Source Path                   /usr/bin/gnome-mplayer
:Port                          <Unknown>
:Host                          (removed)
:Source RPM Packages           gnome-mplayer-1.0.6-2.fc17.x86_64
:Target RPM Packages           mencoder-1.0-0.138.20120205svn.fc17.x86_64
:Policy RPM                    selinux-policy-3.10.0-125.fc17.noarch
:Selinux Enabled               True
:Policy Type                   targeted
:Enforcing Mode                Enforcing
:Host Name                     (removed)
:Platform                      Linux (removed) 3.3.6-3.fc17.x86_64 #1 SMP
:                              Wed May 16 21:21:18 UTC 2012 x86_64 x86_64
:Alert Count                   4
:First Seen                    Sun 20 May 2012 19:59:12 BST
:Last Seen                     Sun 20 May 2012 19:59:13 BST
:Local ID                      e5130fab-b465-416c-8aa9-4a3e947a833c
:Raw Audit Messages
:type=AVC msg=audit(1337540353.47:72): avc:  denied  { execute } for  pid=2279 comm="gnome-mplayer" name="mencoder" dev="dm-2" ino=61106 scontext=unconfined_u:unconfined_r:mozilla_plugin_t:s0-s0:c0.c1023 tcontext=system_u:object_r:mencoder_exec_t:s0 tclass=file
:type=SYSCALL msg=audit(1337540353.47:72): arch=x86_64 syscall=execve success=no exit=EACCES a0=123c5bd a1=7ffffaaec3d0 a2=7ffffaaed198 a3=5b items=0 ppid=2258 pid=2279 auid=1000 uid=1000 gid=1000 euid=1000 suid=1000 fsuid=1000 egid=1000 sgid=1000 fsgid=1000 tty=(none) ses=1 comm=gnome-mplayer exe=/usr/bin/gnome-mplayer subj=unconfined_u:unconfined_r:mozilla_plugin_t:s0-s0:c0.c1023 key=(null)
:Hash: gnome-mplayer,mozilla_plugin_t,mencoder_exec_t,file,execute
:audit2allowunable to open /sys/fs/selinux/policy:  Permission denied
:audit2allow -Runable to open /sys/fs/selinux/policy:  Permission denied
Comment 1 Miroslav Grepl 2012-05-22 05:09:02 EDT
Fixed in selinux-policy-3.10.0-126.fc17
Comment 2 Colin J Thomson 2012-05-24 14:40:15 EDT
Confirmed fixed in selinux-policy-3.10.0-126.fc17 - Thankyou
Comment 3 Fedora Update System 2012-05-31 02:26:38 EDT
selinux-policy-3.10.0-128.fc17 has been submitted as an update for Fedora 17.
Comment 4 Fedora Update System 2012-06-01 13:08:48 EDT
Package selinux-policy-3.10.0-128.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-128.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-06-03 19:31:18 EDT
selinux-policy-3.10.0-128.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.