From: Lennart Poettering Date: Mon, 14 Mar 2011 04:36:43 +0000 (+0100) Subject: nspawn: we don't want a network namespace X-Git-Tag: v21~97 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=64af1b6207e4062e43f049a4f322ffa4de9dd87f;p=thirdparty%2Fsystemd.git nspawn: we don't want a network namespace --- diff --git a/src/nspawn.c b/src/nspawn.c index f340805f383..7cefd3debd9 100644 --- a/src/nspawn.c +++ b/src/nspawn.c @@ -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; }