ofayans's pull request #86: "Made sssd restart a non-raising opration" was opened
PR body: """ Uninstallation of ipa-server usually removes sssd configuration file, /etc/sssd/sssd.conf If we then issue syustemctl restart sssd.service, the command fails because is unable to find the config file. We need to make this call not raise an exception """ See the full pull-request at https://github.com/freeipa/freeipa/pull/86 ... or pull the PR as Git branch: git remote add ghfreeipa https://github.com/freeipa/freeipa git fetch ghfreeipa pull/86/head:pr86 git checkout pr86
From 27c33b1e36d6ea34caa619cb89ead223603396c0 Mon Sep 17 00:00:00 2001 From: Oleg Fayans <ofay...@redhat.com> Date: Thu, 15 Sep 2016 14:10:41 +0200 Subject: [PATCH] Made sssd restart a non-raising opration Uninstallation of ipa-server usually removes sssd configuration file, /etc/sssd/sssd.conf If we then issue syustemctl restart sssd.service, the command fails because is unable to find the config file. We need to make this call not raise an exception --- ipatests/test_integration/tasks.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ipatests/test_integration/tasks.py b/ipatests/test_integration/tasks.py index ee9d4a2..6a08659 100644 --- a/ipatests/test_integration/tasks.py +++ b/ipatests/test_integration/tasks.py @@ -691,7 +691,7 @@ def uninstall_master(host, ignore_topology_disconnect=True, "xargs rm -fv", raiseonerr=False) host.run_command("find /run/ipa -name 'krb5*' | xargs rm -fv", raiseonerr=False) - host.run_command(['systemctl', 'restart', 'sssd']) + host.run_command(['systemctl', 'restart', 'sssd'], raiseonerr=False) unapply_fixes(host)
-- Manage your subscription for the Freeipa-devel mailing list: https://www.redhat.com/mailman/listinfo/freeipa-devel Contribute to FreeIPA: http://www.freeipa.org/page/Contribute/Code