NixOS VM tests: Don't create a setgid group in vde_switch

Nix no longer allows this for security reasons.

http://hydra.nixos.org/build/53993125
This commit is contained in:
Eelco Dolstra
2017-06-07 11:57:36 +02:00
parent 110e03897f
commit 0996ea8a68
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -35,7 +35,7 @@ foreach my $vlan (split / /, $ENV{VLANS} || "") {
if ($pid == 0) {
dup2(fileno($pty->slave), 0);
dup2(fileno($stdoutW), 1);
exec "vde_switch -s $socket" or _exit(1);
exec "vde_switch -s $socket --dirmode 0700" or _exit(1);
}
close $stdoutW;
print $pty "version\n";