Bug 670957

Summary: The krb5kdc is prevented access to the 389-ds ldapi socket
Product: [Fedora] Fedora Reporter: Simo Sorce <ssorce>
Component: selinux-policyAssignee: Miroslav Grepl <mgrepl>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: low    
Version: rawhideCC: dpal, dwalsh, mgrepl
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-01-19 20:19:18 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Simo Sorce 2011-01-19 18:54:57 UTC
The current selinux policy prevents krb5kdc_t access to disrv_var_run_t to write to sock_file.

Dan suggested adding the following to the policy:

optional_policy(`
 ldap_stream_connect(krb5kdc_t)
')
optional_policy(`
 dirsrv_stream_connect(krb5kdc_t)
')


I locally fixed it by creating a local policy with the following 2 allows:
allow krb5kdc_t dirsrv_var_run_t:sock_file write;
allow krb5kdc_t dirsrv_t:unix_stream_socket connectto;

HTH

Comment 1 Daniel Walsh 2011-01-19 20:19:18 UTC
Fixed in selinux-policy-3.9.13-4.fc15

Comment 2 Dmitri Pal 2011-01-19 20:26:46 UTC
Is it going to be fixed in F14? It is still our testing platform for another three weeks.

Comment 3 Daniel Walsh 2011-01-19 20:39:44 UTC
I have asked miroslav to back port changes to F13/14/RHEL6

Comment 4 Miroslav Grepl 2011-01-20 10:31:59 UTC
Fixed in F13/14/RHEL6.