Bug 565377

Summary: SELinux is preventing /usr/bin/python "sigchld" access .
Product: [Fedora] Fedora Reporter: Jan Alonzo <jmalonzo>
Component: selinux-policyAssignee: Miroslav Grepl <mgrepl>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: low    
Version: rawhideCC: dwalsh, mgrepl
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard: setroubleshoot_trace_hash:530a641f8e5581638bde75b32dae396d5bba75e6830ef8f9bd1c799c330dd62d
Fixed In Version: selinux-policy-3.6.32-92.fc12 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2010-03-04 00:15:45 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Jan Alonzo 2010-02-15 05:26:06 UTC
Summary:

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

Detailed Description:

[SELinux is in permissive mode. This access was not denied.]

SELinux denied access requested by yum. It is not expected that this access is
required by yum 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                unconfined_u:system_r:tzdata_t:s0-s0:c0.c1023
Target Context                unconfined_u:system_r:unconfined_execmem_t:s0-s0:c
                              0.c1023
Target Objects                None [ process ]
Source                        yum
Source Path                   /usr/bin/python
Port                          <Unknown>
Host                          (removed)
Source RPM Packages           python-2.6.4-13.fc13
Target RPM Packages           
Policy RPM                    selinux-policy-3.7.8-7.fc13
Selinux Enabled               True
Policy Type                   targeted
Enforcing Mode                Permissive
Plugin Name                   catchall
Host Name                     (removed)
Platform                      Linux (removed)
                              2.6.33-0.27.rc6.git1.fc13.x86_64 #1 SMP Wed Feb 3
                              19:13:37 UTC 2010 x86_64 x86_64
Alert Count                   1
First Seen                    Mon 15 Feb 2010 12:30:36 AM EST
Last Seen                     Mon 15 Feb 2010 12:30:36 AM EST
Local ID                      7571c6e9-3194-450b-8222-79ca2e872cc8
Line Numbers                  

Raw Audit Messages            

node=(removed) type=AVC msg=audit(1266154236.747:459): avc:  denied  { sigchld } for  pid=1438 comm="yum" scontext=unconfined_u:system_r:tzdata_t:s0-s0:c0.c1023 tcontext=unconfined_u:system_r:unconfined_execmem_t:s0-s0:c0.c1023 tclass=process

node=(removed) type=SYSCALL msg=audit(1266154236.747:459): arch=c000003e syscall=61 success=yes exit=1894 a0=0 a1=7fffffffbc0c a2=1 a3=0 items=0 ppid=2745 pid=1438 auid=500 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=pts0 ses=1 comm="yum" exe="/usr/bin/python" subj=unconfined_u:system_r:unconfined_execmem_t:s0-s0:c0.c1023 key=(null)



Hash String generated from  catchall,yum,tzdata_t,unconfined_execmem_t,process,sigchld
audit2allow suggests:

#============= tzdata_t ==============
allow tzdata_t unconfined_execmem_t:process sigchld;

Comment 1 Daniel Walsh 2010-02-16 14:10:56 UTC
Miroslav in unconfineduser.te  can you change

	optional_policy(`
		tzdata_run(unconfined_t, unconfined_r)
	')
to
	optional_policy(`
		tzdata_run(unconfined_usertype, unconfined_r)
	')

Comment 2 Miroslav Grepl 2010-02-16 15:57:32 UTC
Fixed in selinux-policy-3.6.32-91.fc12

Comment 3 Fedora Update System 2010-02-23 20:56:37 UTC
selinux-policy-3.6.32-92.fc12 has been submitted as an update for Fedora 12.
http://admin.fedoraproject.org/updates/selinux-policy-3.6.32-92.fc12

Comment 4 Fedora Update System 2010-02-26 03:43:19 UTC
selinux-policy-3.6.32-92.fc12 has been pushed to the Fedora 12 testing repository.  If problems still persist, please make note of it in this bug report.
 If you want to test the update, you can install it with 
 su -c 'yum --enablerepo=updates-testing update selinux-policy'.  You can provide feedback for this update here: http://admin.fedoraproject.org/updates/F12/FEDORA-2010-2953

Comment 5 Fedora Update System 2010-03-04 00:12:02 UTC
selinux-policy-3.6.32-92.fc12 has been pushed to the Fedora 12 stable repository.  If problems still persist, please make note of it in this bug report.