This fixes a hangup issue when a init script calls another within
systemctl, by preventing calling systemctl on initscripts.

Will need to work with fedora folks to find an appropriate long term
solution, but this will make things work for now.

Simo.

-- 
Simo Sorce * Red Hat, Inc * New York
>From 4169f768308d89943b8258be2169f8415a962bed Mon Sep 17 00:00:00 2001
From: Simo Sorce <sso...@redhat.com>
Date: Tue, 15 Feb 2011 16:50:27 -0500
Subject: [PATCH] Temporary workaround for systemd brokeness on fedora 15

---
 ipa.init |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/ipa.init b/ipa.init
index b5a43c31942596c99ee4ef2d00385536cacb9052..ead7df00864df01481a4d81e82e1d1f1cce1e3a3 100755
--- a/ipa.init
+++ b/ipa.init
@@ -7,6 +7,8 @@
 # configdir:   /etc/ipa/
 #
 
+export SYSTEMCTL_SKIP_REDIRECT=1
+
 # Source function library.
 if [ -f /etc/rc.d/init.d/functions ] ; then
 . /etc/rc.d/init.d/functions
-- 
1.7.4

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

Reply via email to