Bug 1150061 - Kerberos systemd start should WAIT until the KDC is really running
Summary: Kerberos systemd start should WAIT until the KDC is really running
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Fedora
Classification: Fedora
Component: krb5
Version: 21
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Robbie Harwood
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-10-07 11:22 UTC by Roland Mainz
Modified: 2015-10-22 17:33 UTC (History)
5 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2015-10-22 17:33:18 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)
Sample script which waits for the KDC to become ready (5.91 KB, text/plain)
2014-10-29 14:06 UTC, Roland Mainz
no flags Details

Description Roland Mainz 2014-10-07 11:22:30 UTC
Description of problem:
Kerberos systemd start (e.g. /usr/lib/systemd/system/krb5kdc.service && co.) should WAIT until the KDC is really running. Currently in scenarios like a very slow system (e.g. boot via dracut over an overloaded network connection) there are cases where the KDC comes up so late that clients can't get their tickets.

Suggested fix:
KDC systemd script should explicitly wait for the KDC to enter the |poll()|/|epoll()| state.

Comment 1 Roland Mainz 2014-10-29 14:06:35 UTC
Created attachment 951803 [details]
Sample script which waits for the KDC to become ready

Sample script which shows (in function kdc_t.run_kdc) how to wait for the KDC to become ready (waiting for the PID file doesn't work so we have to do it the hard way... ☹).

Comment 2 Fedora Admin XMLRPC Client 2015-09-01 21:35:45 UTC
This package has changed ownership in the Fedora Package Database.  Reassigning to the new owner of this component.

Comment 4 Robbie Harwood 2015-10-22 17:33:18 UTC
I'm not seeing the use case.  If someone wants to make a case for this, please reopen and we can consider it.


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