]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
nspawn: we don't want a network namespace
authorLennart Poettering <lennart@poettering.net>
Mon, 14 Mar 2011 04:36:43 +0000 (05:36 +0100)
committerLennart Poettering <lennart@poettering.net>
Mon, 14 Mar 2011 14:37:09 +0000 (15:37 +0100)
src/nspawn.c

index f340805f38339835d8162d291dfd33a73961ef9d..7cefd3debd9cb09be9f61349df21ccbd605bbb19 100644 (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;
         }