nspawn: we don't want a network namespace

This commit is contained in:
Lennart Poettering 2011-03-14 05:36:43 +01:00
parent 90df7e567f
commit 64af1b6207

View file

@ -383,7 +383,7 @@ int main(int argc, char *argv[]) {
log_info("Spawning namespace container on %s.", arg_directory);
if ((pid = syscall(__NR_clone, SIGCHLD|CLONE_NEWIPC|CLONE_NEWNS|CLONE_NEWPID|CLONE_NEWUTS|CLONE_NEWNET, NULL)) < 0) {
if ((pid = syscall(__NR_clone, SIGCHLD|CLONE_NEWIPC|CLONE_NEWNS|CLONE_NEWPID|CLONE_NEWUTS, NULL)) < 0) {
log_error("clone() failed: %m");
goto finish;
}