Bug 443427 - krb5kdc fails to start from command-line with AVC
Summary: krb5kdc fails to start from command-line with AVC
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 5
Classification: Red Hat
Component: selinux-policy
Version: 5.2
Hardware: All
OS: Linux
high
high
Target Milestone: rc
: ---
Assignee: Daniel Walsh
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2008-04-21 14:32 UTC by Rob Crittenden
Modified: 2008-05-21 16:43 UTC (History)
2 users (show)

Fixed In Version: RHBA-2008-0465
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2008-05-21 16:43:35 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2008:0465 0 normal SHIPPED_LIVE selinux-policy bug fix update 2008-05-20 14:36:31 UTC

Description Rob Crittenden 2008-04-21 14:32:50 UTC
Description of problem:

Red Hat Enterprise IPA installs and configures a KDC in its installation script.
The KDC fails to start due to an SELinux problem:

I get 

type=AVC msg=audit(1208546129.121:35): avc:  denied  { create } for  pid=4714
comm="krb5kdc" name="krb5kdc.log" scontext=root:system_r:krb5kdc_t:s0
tcontext=system_u:object_r:krb5kdc_log_t:s0 tclass=file

Version-Release number of selected component (if applicable):

krb5-server-1.6.1-24.el5
libselinux-python-1.33.4-4.el5
selinux-policy-targeted-2.4.6-133.el5
libselinux-1.33.4-4.el5
libselinux-1.33.4-4.el5
selinux-policy-2.4.6-133.el5
ipa-server-selinux-1.0.0-2.el5ipa

How reproducible:

Steps to Reproduce:
1. /usr/sbin/ipa-server-install
  
Actual results:

KDC restart will fail.

Note that if you create /var/log/krb5kdc.log and run restorecon on it then the
KDC will work fine.

Dan Walsh noted in 442981 that it will also start ok on a reboot.

Comment 1 Chandrasekar Kannan 2008-04-21 14:34:11 UTC
we have the related bug 442981 block our ipa 1.0 beta ... 

Comment 8 errata-xmlrpc 2008-05-21 16:43:35 UTC
An advisory has been issued which should help the problem
described in this bug report. This report is therefore being
closed with a resolution of ERRATA. For more information
on the solution and/or where to find the updated files,
please follow the link below. You may reopen this bug report
if the solution does not work for you.

http://rhn.redhat.com/errata/RHBA-2008-0465.html



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