Bug 573180 - SELinux is preventing /usr/bin/python "sys_tty_config" access .
Summary: SELinux is preventing /usr/bin/python "sys_tty_config" access .
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: selinux-policy
Version: 12
Hardware: i386
OS: Linux
low
medium
Target Milestone: ---
Assignee: Daniel Walsh
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: setroubleshoot_trace_hash:aedffcf9726...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2010-03-13 07:59 UTC by Mircea Sava
Modified: 2010-08-19 11:01 UTC (History)
17 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2010-08-19 11:01:01 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Mircea Sava 2010-03-13 07:59:21 UTC
Summary:

SELinux is preventing /usr/bin/python "sys_tty_config" access .

Detailed Description:

[cobblerd has a permissive type (cobblerd_t). This access was not denied.]

SELinux denied access requested by cobblerd. It is not expected that this access
is required by cobblerd and this access may signal an intrusion attempt. It is
also possible that the specific version or configuration of the application is
causing it to require additional access.

Allowing Access:

You can generate a local policy module to allow this access - see FAQ
(http://docs.fedoraproject.org/selinux-faq-fc5/#id2961385) Please file a bug
report.

Additional Information:

Source Context                system_u:system_r:cobblerd_t:s0
Target Context                system_u:system_r:cobblerd_t:s0
Target Objects                None [ capability ]
Source                        cobblerd
Source Path                   /usr/bin/python
Port                          <Unknown>
Host                          (removed)
Source RPM Packages           python-2.6.2-4.fc12
Target RPM Packages           
Policy RPM                    selinux-policy-3.6.32-99.fc12
Selinux Enabled               True
Policy Type                   targeted
Enforcing Mode                Enforcing
Plugin Name                   catchall
Host Name                     (removed)
Platform                      Linux (removed)
                              2.6.32.9-70.fc12.i686.PAE #1 SMP Wed Mar 3
                              04:57:21 UTC 2010 i686 athlon
Alert Count                   2
First Seen                    Sat 13 Mar 2010 09:49:58 AM EET
Last Seen                     Sat 13 Mar 2010 09:49:58 AM EET
Local ID                      8aa57244-6750-4c7c-94a5-ee3e0056ddc8
Line Numbers                  

Raw Audit Messages            

node=(removed) type=AVC msg=audit(1268466598.521:13): avc:  denied  { sys_tty_config } for  pid=1558 comm="cobblerd" capability=26  scontext=system_u:system_r:cobblerd_t:s0 tcontext=system_u:system_r:cobblerd_t:s0 tclass=capability

node=(removed) type=SYSCALL msg=audit(1268466598.521:13): arch=40000003 syscall=54 success=yes exit=0 a0=0 a1=5401 a2=bff7cab8 a3=bff7caf8 items=0 ppid=1556 pid=1558 auid=4294967295 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) ses=4294967295 comm="cobblerd" exe="/usr/bin/python" subj=system_u:system_r:cobblerd_t:s0 key=(null)



Hash String generated from  catchall,cobblerd,cobblerd_t,cobblerd_t,capability,sys_tty_config
audit2allow suggests:

#============= cobblerd_t ==============
allow cobblerd_t self:capability sys_tty_config;


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