From: Simo Sorce <sso...@redhat.com>

Fix shoutdonw issues with systemd and also improve shutdown reliability and
restart behavior so we always kill all the processes we started even if the
list of processes to handle changed in LDAP.

We do this by saving into a file, using json, which services have been
started in teh start() action of the serivce class. We read the list back
from the file when we need to stop the services then the file is deleted.
We always read the list from LDAP.

NOTE: This is the same patchset previously posted, just testing git send-mail 
for the
benefit of patchwork.

Simo Sorce (3):
  Preserve original service_name in services
  Save service name on service startup
  Get list of service from LDAP only at startup

 freeipa.spec.in                |    2 +
 init/systemd/ipa.conf.tmpfiles |    1 +
 install/tools/ipactl           |  199 ++++++++++++++++++++++++++++------------
 ipapython/platform/base.py     |   23 +++++
 ipapython/platform/fedora16.py |   12 +-
 ipapython/platform/redhat.py   |    1 +
 ipapython/platform/systemd.py  |   20 ++--
 ipapython/services.py.in       |    4 +
 8 files changed, 188 insertions(+), 74 deletions(-)

_______________________________________________
Freeipa-devel mailing list
Freeipa-devel@redhat.com
https://www.redhat.com/mailman/listinfo/freeipa-devel

Reply via email to