Get list of service from LDAP only at startup

We check (possibly different) data from LDAP only at (re)start.
This way we always shutdown exactly the services we started even if the list
changed in the meanwhile (we avoid leaving a service running even if it was
removed from LDAP as the admin decided it should not be started in future).

This should also fix a problematic deadlock with systemd when we try to read
the list of service from LDAP at shutdown.
This commit is contained in:
Simo Sorce
2012-10-31 14:10:41 -04:00
committed by Rob Crittenden
parent 1ef651e7f9
commit 7f272a39b6
3 changed files with 165 additions and 59 deletions

View File

@@ -1 +1,2 @@
d /var/run/ipa_memcached 0700 apache apache
d /var/run/ipa 0700 root root