mirror of
https://github.com/AuxXxilium/eudev.git
synced 2025-03-09 15:14:01 +07:00
nspawn: we don't want a network namespace
This commit is contained in:
parent
90df7e567f
commit
64af1b6207
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user