I found this issue: https://ixsystems.atlassian.net/jira/software/c/projects/NAS/issues/NAS-127452
In short, there is a race condition that LDAP Services start BEFORE the networking services have completely started, which results in kinit failing as it can't talk to the ticket authority server which results in `kinit: Resource temporarily unavailable while getting initial credentials\n')` errors.
I have tried to delay the start up of middlewared.service by adding a delay. But it seems that middlewared is controlling the startup of the network, which doesn't help.
Any tricks to make the startup process of Kerberos to delay 5-10 seconds so all the network services can be started?
In short, there is a race condition that LDAP Services start BEFORE the networking services have completely started, which results in kinit failing as it can't talk to the ticket authority server which results in `kinit: Resource temporarily unavailable while getting initial credentials\n')` errors.
I have tried to delay the start up of middlewared.service by adding a delay. But it seems that middlewared is controlling the startup of the network, which doesn't help.
Any tricks to make the startup process of Kerberos to delay 5-10 seconds so all the network services can be started?