Bug 913374 - SELinux is preventing /usr/bin/python2.7 from 'open' accesses on the file /proc/<pid>/cmdline.
Summary: SELinux is preventing /usr/bin/python2.7 from 'open' accesses on the file /pr...
Keywords:
Status: CLOSED DUPLICATE of bug 913368
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:2e9f8b40c71142bc60e41ab0d68...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-02-21 05:43 UTC by ali
Modified: 2013-02-21 16:21 UTC (History)
3 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2013-02-21 16:21:15 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description ali 2013-02-21 05:43:33 UTC
Description of problem:
error in start up of Fedora 18
SELinux is preventing /usr/bin/python2.7 from 'open' accesses on the file /proc/<pid>/cmdline.

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

If you believe that python2.7 should be allowed open access on the cmdline 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 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                /proc/<pid>/cmdline [ file ]
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-79.fc18.noarch
Selinux Enabled               True
Policy Type                   targeted
Enforcing Mode                Enforcing
Host Name                     (removed)
Platform                      Linux (removed) 3.7.8-202.fc18.x86_64 #1 SMP Fri
                              Feb 15 17:33:07 UTC 2013 x86_64 x86_64
Alert Count                   1
First Seen                    2013-02-21 09:12:27 IRST
Last Seen                     2013-02-21 09:12:27 IRST
Local ID                      d0f5b4e1-d6ed-4658-baa0-9c354a73491c

Raw Audit Messages
type=AVC msg=audit(1361425347.811:340): avc:  denied  { open } for  pid=2715 comm="blueman-mechani" path="/proc/2714/cmdline" dev="proc" ino=26572 scontext=system_u:system_r:blueman_t:s0-s0:c0.c1023 tcontext=system_u:system_r:system_dbusd_t:s0-s0:c0.c1023 tclass=file


type=SYSCALL msg=audit(1361425347.811:340): arch=x86_64 syscall=open success=no exit=EACCES a0=7ffff00d6b70 a1=0 a2=1b6 a3=238 items=0 ppid=2714 pid=2715 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,file,open

audit2allow

#============= blueman_t ==============
allow blueman_t system_dbusd_t:file open;

audit2allow -R

#============= blueman_t ==============
allow blueman_t system_dbusd_t:file open;


Additional info:
hashmarkername: setroubleshoot
kernel:         3.7.8-202.fc18.x86_64
type:           libreport

Comment 1 Miroslav Grepl 2013-02-21 16:21:15 UTC

*** This bug has been marked as a duplicate of bug 913368 ***


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