Bug 1079236 - SELinux is preventing /usr/bin/python3.3 from 'execute' accesses on the file .
Summary: SELinux is preventing /usr/bin/python3.3 from 'execute' accesses on the file .
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: selinux-policy
Version: 20
Hardware: i686
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Lukas Vrabec
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: abrt_hash:899daffe738b8fcb04307255f54...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-03-21 09:22 UTC by Wilhelm.Buchmueller
Modified: 2015-02-02 13:22 UTC (History)
4 users (show)

Fixed In Version: selinux-policy-3.12.1-153.fc20
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2014-04-20 01:24:48 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Wilhelm.Buchmueller 2014-03-21 09:22:21 UTC
Description of problem:
SELinux is preventing /usr/bin/python3.3 from 'execute' accesses on the file .

*****  Plugin catchall (100. confidence) suggests   **************************

If you believe that python3.3 should be allowed execute access on the  file 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 orca /var/log/audit/audit.log | audit2allow -M mypol
# semodule -i mypol.pp

Additional Information:
Source Context                system_u:system_r:xdm_t:s0-s0:c0.c1023
Target Context                system_u:object_r:speech-dispatcher_exec_t:s0
Target Objects                 [ file ]
Source                        orca
Source Path                   /usr/bin/python3.3
Port                          <Unknown>
Host                          (removed)
Source RPM Packages           python3-3.3.2-11.fc20.i686
Target RPM Packages           
Policy RPM                    selinux-policy-3.12.1-127.fc20.noarch
Selinux Enabled               True
Policy Type                   targeted
Enforcing Mode                Enforcing
Host Name                     (removed)
Platform                      Linux (removed) 3.13.6-200.fc20.i686+PAE #1 SMP
                              Fri Mar 7 17:17:53 UTC 2014 i686 i686
Alert Count                   43
First Seen                    2014-02-10 14:09:40 CET
Last Seen                     2014-03-20 16:49:50 CET
Local ID                      f7678c3e-0f37-4aec-9b08-dcfe152bde84

Raw Audit Messages
type=AVC msg=audit(1395330590.531:366): avc:  denied  { execute } for  pid=1239 comm="orca" name="speech-dispatcher" dev="sdb3" ino=1712576 scontext=system_u:system_r:xdm_t:s0-s0:c0.c1023 tcontext=system_u:object_r:speech-dispatcher_exec_t:s0 tclass=file


type=SYSCALL msg=audit(1395330590.531:366): arch=i386 syscall=execve success=no exit=EACCES a0=951a028 a1=9519fe8 a2=bfaa8b10 a3=0 items=0 ppid=1127 pid=1239 auid=4294967295 uid=42 gid=42 euid=42 suid=42 fsuid=42 egid=42 sgid=42 fsgid=42 ses=4294967295 tty=(none) comm=orca exe=/usr/bin/python3.3 subj=system_u:system_r:xdm_t:s0-s0:c0.c1023 key=(null)

Hash: orca,xdm_t,speech-dispatcher_exec_t,file,execute

Additional info:
reporter:       libreport-2.2.0
hashmarkername: setroubleshoot
kernel:         3.13.6-200.fc20.i686+PAE
type:           libreport

Comment 1 Miroslav Grepl 2014-03-24 11:14:51 UTC
Lukas,
do you know what's going on here.

Comment 2 Daniel Walsh 2014-03-25 13:25:14 UTC
commit fb5f2e989801ffb21b1b2e0c43b4957c26010ec0

fixes this in git.

Comment 3 Fedora Update System 2014-04-08 04:48:36 UTC
selinux-policy-3.12.1-152.fc20 has been submitted as an update for Fedora 20.
https://admin.fedoraproject.org/updates/selinux-policy-3.12.1-152.fc20

Comment 4 Fedora Update System 2014-04-09 13:16:17 UTC
Package selinux-policy-3.12.1-152.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-152.fc20'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2014-4933/selinux-policy-3.12.1-152.fc20
then log in and leave karma (feedback).

Comment 5 Fedora Update System 2014-04-14 22:42:02 UTC
Package selinux-policy-3.12.1-153.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-153.fc20'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2014-4933/selinux-policy-3.12.1-153.fc20
then log in and leave karma (feedback).

Comment 6 Fedora Update System 2014-04-20 01:24:48 UTC
selinux-policy-3.12.1-153.fc20 has been pushed to the Fedora 20 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.