Gitweb: http://git.fedorahosted.org/git/cluster.git?p=cluster.git;a=commitdiff;h=6cf... Commit: 6cf33437b750d23eb839f8f1353df837de3a159f Parent: 28b6e18ebcd5eed8768679dc218af21ee84aed7f Author: Lon Hohberger lhh@redhat.com AuthorDate: Mon Apr 18 15:25:21 2011 -0400 Committer: Lon Hohberger lhh@redhat.com CommitterDate: Fri Jul 29 13:22:59 2011 -0400
rgmanager: Create process group for children
Resolves: rhbz#684633
Signed-off-by: Lon Hohberger lhh@redhat.com --- rgmanager/src/daemons/restree.c | 1 + 1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/rgmanager/src/daemons/restree.c b/rgmanager/src/daemons/restree.c index 8ce1364..8280c56 100644 --- a/rgmanager/src/daemons/restree.c +++ b/rgmanager/src/daemons/restree.c @@ -402,6 +402,7 @@ res_exec(resource_node_t *node, int op, const char *arg, int depth) res->r_rule->rr_agent);
restore_signals(); + setpgrp();
if (arg) execle(fullpath, fullpath, op_str, arg, NULL, env);
cluster-commits@lists.fedorahosted.org