summaryrefslogtreecommitdiff
path: root/selftest/target
diff options
context:
space:
mode:
authorGary Lockyer <gary@catalyst.net.nz>2017-08-21 15:12:04 +1200
committerRalph Boehme <slow@samba.org>2017-09-18 04:39:50 +0200
commitaf38d73b06c0c40ef59c2ffe0fc6580b0787b7d0 (patch)
tree7b9f83fb25868d6b400df002cfddee528744682f /selftest/target
parentc8e325c7655ae4199e9db5ab90cce9cb5cb665e4 (diff)
downloadsamba-af38d73b06c0c40ef59c2ffe0fc6580b0787b7d0.tar.gz
s4/smbd: set the process group.
Set the process group in the samba daemon, the --no-process-group option allows this to be disabled. The no-process-group option needs to be disabled in self test. Signed-off-by: Gary Lockyer <gary@catalyst.net.nz> Reviewed-by: Andrew Bartlett <abartlet@samba.org> Reviewed-by: Ralph Boehme <slow@samba.org> Autobuild-User(master): Ralph Böhme <slow@samba.org> Autobuild-Date(master): Mon Sep 18 04:39:50 CEST 2017 on sn-devel-144
Diffstat (limited to 'selftest/target')
-rwxr-xr-xselftest/target/Samba4.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/selftest/target/Samba4.pm b/selftest/target/Samba4.pm
index f0f704237c6..3d148850e07 100755
--- a/selftest/target/Samba4.pm
+++ b/selftest/target/Samba4.pm
@@ -158,7 +158,7 @@ sub check_or_start($$$)
close($env_vars->{STDIN_PIPE});
open STDIN, ">&", $STDIN_READER or die "can't dup STDIN_READER to STDIN: $!";
- exec(@preargs, Samba::bindir_path($self, "samba"), "-M", $process_model, "-i", "--maximum-runtime=$self->{server_maxtime}", $env_vars->{CONFIGURATION}, @optargs) or die("Unable to start samba: $!");
+ exec(@preargs, Samba::bindir_path($self, "samba"), "-M", $process_model, "-i", "--no-process-group", "--maximum-runtime=$self->{server_maxtime}", $env_vars->{CONFIGURATION}, @optargs) or die("Unable to start samba: $!");
}
$env_vars->{SAMBA_PID} = $pid;
print "DONE ($pid)\n";