summaryrefslogtreecommitdiffstats
path: root/init
diff options
context:
space:
mode:
authorSimo Sorce <ssorce@redhat.com>2012-10-31 14:10:41 -0400
committerRob Crittenden <rcritten@redhat.com>2012-11-01 10:58:19 -0400
commit7f272a39b6b46fac1d548b759f671b75592af7a0 (patch)
tree94377e61420a9f1f52a3bafc6dd5a40726adbf30 /init
parent1ef651e7f9f5f940051dc470385aa08eefcd60af (diff)
downloadfreeipa.git-7f272a39b6b46fac1d548b759f671b75592af7a0.tar.gz
freeipa.git-7f272a39b6b46fac1d548b759f671b75592af7a0.tar.xz
freeipa.git-7f272a39b6b46fac1d548b759f671b75592af7a0.zip
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.
Diffstat (limited to 'init')
-rw-r--r--init/systemd/ipa.conf.tmpfiles1
1 files changed, 1 insertions, 0 deletions
diff --git a/init/systemd/ipa.conf.tmpfiles b/init/systemd/ipa.conf.tmpfiles
index e4b679a5..1e7a896e 100644
--- a/init/systemd/ipa.conf.tmpfiles
+++ b/init/systemd/ipa.conf.tmpfiles
@@ -1 +1,2 @@
d /var/run/ipa_memcached 0700 apache apache
+d /var/run/ipa 0700 root root