Bug 565377 - SELinux is preventing /usr/bin/python "sigchld" access .
Summary: SELinux is preventing /usr/bin/python "sigchld" access .
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: selinux-policy
Version: rawhide
Hardware: x86_64
OS: Linux
low
medium
Target Milestone: ---
Assignee: Miroslav Grepl
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: setroubleshoot_trace_hash:530a641f8e5...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2010-02-15 05:26 UTC by Jan Alonzo
Modified: 2010-03-04 00:15 UTC (History)
2 users (show)

Fixed In Version: selinux-policy-3.6.32-92.fc12
Clone Of:
Environment:
Last Closed: 2010-03-04 00:15:45 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

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.


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