summaryrefslogtreecommitdiff
path: root/src/nspawn/nspawn.c
diff options
context:
space:
mode:
authorTom Gundersen <teg@jklm.no>2015-05-25 22:49:14 +0200
committerTom Gundersen <teg@jklm.no>2015-05-25 22:49:14 +0200
commit4b53a9d21b5d280e1c2e42f5bd29193754251c1e (patch)
treed4dce9e1ac83fd63a6967e52cc864cba3d958175 /src/nspawn/nspawn.c
parent37591152d261ba980b8992de37ee940c9e5c5da0 (diff)
nspawn: drop some debugging code
These have no effect. Fixes CID 1299643.
Diffstat (limited to 'src/nspawn/nspawn.c')
-rw-r--r--src/nspawn/nspawn.c10
1 files changed, 0 insertions, 10 deletions
diff --git a/src/nspawn/nspawn.c b/src/nspawn/nspawn.c
index a0eece6ba9..4e41990176 100644
--- a/src/nspawn/nspawn.c
+++ b/src/nspawn/nspawn.c
@@ -4307,34 +4307,24 @@ static int outer_child(
if (mount(directory, directory, NULL, MS_BIND|MS_REC, NULL) < 0)
return log_error_errno(errno, "Failed to make bind mount: %m");
- access("alive12", F_OK);
-
r = setup_volatile(directory);
if (r < 0)
return r;
- access("alive3", F_OK);
-
r = setup_volatile_state(directory);
if (r < 0)
return r;
- access("alive4", F_OK);
-
r = base_filesystem_create(directory, arg_uid_shift, (gid_t) arg_uid_shift);
if (r < 0)
return r;
- access("alive5", F_OK);
-
if (arg_read_only) {
r = bind_remount_recursive(directory, true);
if (r < 0)
return log_error_errno(r, "Failed to make tree read-only: %m");
}
- access("alive6", F_OK);
-
r = mount_all(directory, false);
if (r < 0)
return r;