diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/core/namespace.c | 2 | ||||
-rw-r--r-- | src/nspawn/nspawn.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/core/namespace.c b/src/core/namespace.c index da555cd23c..7ac6b381ab 100644 --- a/src/core/namespace.c +++ b/src/core/namespace.c @@ -167,7 +167,7 @@ static int apply_mount(Path *p, const char *root_dir, const char *inaccessible_d /* Avoid exponential growth of trees */ if (r >= 0 && path_equal(p->path, "/")) - r = mount(NULL, where, NULL, MS_REMOUNT|MS_BIND|MS_UNBINDABLE|flags, NULL); + r = mount(NULL, where, NULL, MS_REMOUNT|MS_BIND|flags, NULL); if (r < 0) { r = -errno; diff --git a/src/nspawn/nspawn.c b/src/nspawn/nspawn.c index ce727b6e1d..90c8b94248 100644 --- a/src/nspawn/nspawn.c +++ b/src/nspawn/nspawn.c @@ -928,7 +928,7 @@ int main(int argc, char *argv[]) { dup2(STDIN_FILENO, STDERR_FILENO) != STDERR_FILENO) goto child_fail; - if (mount(arg_directory, "/", "bind", MS_BIND|MS_MOVE, NULL) < 0) { + if (mount(arg_directory, "/", "bind", MS_BIND, NULL) < 0) { log_error("mount(MS_MOVE) failed: %m"); goto child_fail; } |