Bug 443427 - krb5kdc fails to start from command-line with AVC
krb5kdc fails to start from command-line with AVC
Product: Red Hat Enterprise Linux 5
Classification: Red Hat
Component: selinux-policy (Show other bugs)
All Linux
high Severity high
: rc
: ---
Assigned To: Daniel Walsh
Depends On:
  Show dependency treegraph
Reported: 2008-04-21 10:32 EDT by Rob Crittenden
Modified: 2008-05-21 12:43 EDT (History)
2 users (show)

See Also:
Fixed In Version: RHBA-2008-0465
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2008-05-21 12:43:35 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Rob Crittenden 2008-04-21 10:32:50 EDT
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):


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 10:34:11 EDT
we have the related bug 442981 block our ipa 1.0 beta ... 
Comment 8 errata-xmlrpc 2008-05-21 12:43:35 EDT
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.


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