Bug 794896

Summary: SELinux denials for sge_execd
Product: [Fedora] Fedora Reporter: Orion Poplawski <orion>
Component: selinux-policyAssignee: Miroslav Grepl <mgrepl>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 17CC: dominick.grift, dwalsh, mgrepl
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: selinux-policy-3.10.0-91.fc17 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-02-28 10:35:03 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 Orion Poplawski 2012-02-17 21:15:51 UTC
Description of problem:

type=AVC msg=audit(1329537673.706:39): avc:  denied  { read } for  pid=488 comm="sge_execd" name="passwd" dev="vda2" ino=542749 scontext=system_u:system_r:sge_execd_t:s0 tcontext=system_u:object_r:passwd_file_t:s0 tclass=file
type=AVC msg=audit(1329537673.706:39): avc:  denied  { open } for  pid=488 comm="sge_execd" name="passwd" dev="vda2" ino=542749 scontext=system_u:system_r:sge_execd_t:s0 tcontext=system_u:object_r:passwd_file_t:s0 tclass=file
type=AVC msg=audit(1329537673.718:40): avc:  denied  { getattr } for  pid=488 comm="sge_execd" path="/etc/passwd" dev="vda2" ino=542749 scontext=system_u:system_r:sge_execd_t:s0 tcontext=system_u:object_r:passwd_file_t:s0 tclass=file
type=AVC msg=audit(1329512965.401:102): avc:  denied  { name_bind } for  pid=771 comm="sge_execd" src=6445 scontext=system_u:system_r:sge_execd_t:s0 tcontext=system_u:object_r:unreserved_port_t:s0 tclass=tcp_socket
type=AVC msg=audit(1329512965.401:102): avc:  denied  { node_bind } for  pid=771 comm="sge_execd" src=6445 scontext=system_u:system_r:sge_execd_t:s0 tcontext=system_u:object_r:node_t:s0 tclass=tcp_socket
type=AVC msg=audit(1329512965.704:103): avc:  denied  { name_connect } for  pid=771 comm="sge_execd" dest=6444 scontext=system_u:system_r:sge_execd_t:s0 tcontext=system_u:object_r:unreserved_port_t:s0 tclass=tcp_socket

It seems like it's not actually prevented from doing these things though.  Still in a debug mode?  It wouldn't work if these were blocked, at least the network connections.

Version-Release number of selected component (if applicable):
selinux-policy-3.10.0-88.fc17.noarch

Comment 1 Daniel Walsh 2012-02-17 22:06:55 UTC
Fixed in selinux-policy-3.10.0-90.fc17.noarch

Comment 2 Fedora Update System 2012-02-21 20:24:53 UTC
selinux-policy-3.10.0-91.fc17 has been submitted as an update for Fedora 17.
https://admin.fedoraproject.org/updates/selinux-policy-3.10.0-91.fc17

Comment 3 Fedora Update System 2012-02-22 03:53:21 UTC
Package selinux-policy-3.10.0-91.fc17:
* should fix your issue,
* was pushed to the Fedora 17 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.10.0-91.fc17'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2012-2180/selinux-policy-3.10.0-91.fc17
then log in and leave karma (feedback).

Comment 4 Fedora Update System 2012-02-28 10:35:03 UTC
selinux-policy-3.10.0-91.fc17 has been pushed to the Fedora 17 stable repository.  If problems still persist, please make note of it in this bug report.