Commit 1a24d8c2 authored by Leigh Stoller's avatar Leigh Stoller

Do not use jails for running geni-lib, except on the Mothership. Need

to add a configure variable for this, since using the jail requires
setup that only Mike knows at the moment.
parent b02e9d1e
......@@ -59,6 +59,7 @@ my $warningsfatal = 0;
my $TB = "@prefix@";
my $TBOPS = "@TBOPSEMAIL@";
my $CONTROL = "@USERNODE@";
my $MAINSITE = @TBMAINSITE@;
# Locals
my $SAVEUID = $UID;
......@@ -191,7 +192,9 @@ system("touch $outfile") == 0 or
my $cmdargs = "$TB/libexec/rungenilib.proxy";
# lets try out the python jail
$cmdargs .= " -J";
if ($MAINSITE) {
$cmdargs .= " -J";
}
$cmdargs .= " -u " . $this_user->uid();
$cmdargs .= ($getparams ? " -p " : "");
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment