diff options
author | Simo Sorce <ssorce@redhat.com> | 2012-10-12 15:58:02 -0400 |
---|---|---|
committer | Alexander Bokovoy <abokovoy@redhat.com> | 2012-10-31 19:08:30 +0200 |
commit | d93b01eb4012ffffe78c31bc4307b2ad961ec383 (patch) | |
tree | 4eca61d220af8cba153b4009ed40ae199ff9f0dd /ipa-client/ipa-client-common.c | |
parent | e7c99e7d21f7923c92cf9dae9fd8c7d5ae4aa8cd (diff) | |
download | freeipa-d93b01eb4012ffffe78c31bc4307b2ad961ec383.tar.gz freeipa-d93b01eb4012ffffe78c31bc4307b2ad961ec383.tar.xz freeipa-d93b01eb4012ffffe78c31bc4307b2ad961ec383.zip |
Get list of service from LDAP only at startup
We dump the list retriueved from LDAP at strstup in a temporary configuration
file and always use that file afterwards.
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.
Simo.
Diffstat (limited to 'ipa-client/ipa-client-common.c')
0 files changed, 0 insertions, 0 deletions