Bug 903047 - SELinux is preventing /usr/bin/python2.7 from 'search' accesses on the directory 9627.
Summary: SELinux is preventing /usr/bin/python2.7 from 'search' accesses on the direct...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: selinux-policy
Version: 18
Hardware: x86_64
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Miroslav Grepl
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: abrt_hash:b8f4f20e061c2afdb36c5d05ee8...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-01-23 01:37 UTC by Dale Turner
Modified: 2013-02-08 02:22 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2013-02-08 02:22:37 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Dale Turner 2013-01-23 01:37:06 UTC
Description of problem:
SELinux is preventing /usr/bin/python2.7 from 'search' accesses on the directory 9627.

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

If you believe that python2.7 should be allowed search access on the 9627 directory 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 blueman-mechani /var/log/audit/audit.log | audit2allow -M mypol
# semodule -i mypol.pp

Additional Information:
Source Context                system_u:system_r:blueman_t:s0-s0:c0.c1023
Target Context                system_u:system_r:system_dbusd_t:s0-s0:c0.c1023
Target Objects                9627 [ dir ]
Source                        blueman-mechani
Source Path                   /usr/bin/python2.7
Port                          <Unknown>
Host                          (removed)
Source RPM Packages           python-2.7.3-13.fc18.x86_64
Target RPM Packages           
Policy RPM                    selinux-policy-3.11.1-71.fc18.noarch
Selinux Enabled               True
Policy Type                   targeted
Enforcing Mode                Enforcing
Host Name                     (removed)
Platform                      Linux (removed) 3.7.2-204.fc18.x86_64 #1 SMP Wed
                              Jan 16 16:22:52 UTC 2013 x86_64 x86_64
Alert Count                   10
First Seen                    2013-01-17 12:35:40 AST
Last Seen                     2013-01-22 21:35:46 AST
Local ID                      4f0d153d-712a-48d1-8c28-e4468dd56c4b

Raw Audit Messages
type=AVC msg=audit(1358904946.468:384): avc:  denied  { search } for  pid=9628 comm="blueman-mechani" name="9627" dev="proc" ino=220934 scontext=system_u:system_r:blueman_t:s0-s0:c0.c1023 tcontext=system_u:system_r:system_dbusd_t:s0-s0:c0.c1023 tclass=dir


type=SYSCALL msg=audit(1358904946.468:384): arch=x86_64 syscall=open success=no exit=EACCES a0=7ffff3b76230 a1=0 a2=1b6 a3=238 items=0 ppid=9627 pid=9628 auid=4294967295 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 ses=4294967295 tty=(none) comm=blueman-mechani exe=/usr/bin/python2.7 subj=system_u:system_r:blueman_t:s0-s0:c0.c1023 key=(null)

Hash: blueman-mechani,blueman_t,system_dbusd_t,dir,search

audit2allow

#============= blueman_t ==============
allow blueman_t system_dbusd_t:dir search;

audit2allow -R

#============= blueman_t ==============
allow blueman_t system_dbusd_t:dir search;


Additional info:
hashmarkername: setroubleshoot
kernel:         3.7.2-204.fc18.x86_64
type:           libreport

Comment 1 Miroslav Grepl 2013-01-23 08:37:42 UTC
Fixed in selinux-policy-3.11.1-74.fc18.noarch

Comment 2 Fedora Update System 2013-01-31 13:17:38 UTC
selinux-policy-3.11.1-74.fc18 has been submitted as an update for Fedora 18.
https://admin.fedoraproject.org/updates/selinux-policy-3.11.1-74.fc18

Comment 3 Fedora Update System 2013-02-01 16:38:09 UTC
Package selinux-policy-3.11.1-74.fc18:
* should fix your issue,
* was pushed to the Fedora 18 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.11.1-74.fc18'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2013-1693/selinux-policy-3.11.1-74.fc18
then log in and leave karma (feedback).

Comment 4 Fedora Update System 2013-02-08 02:22:38 UTC
selinux-policy-3.11.1-74.fc18 has been pushed to the Fedora 18 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.