From 4b53a9d21b5d280e1c2e42f5bd29193754251c1e Mon Sep 17 00:00:00 2001 From: Tom Gundersen Date: Mon, 25 May 2015 22:49:14 +0200 Subject: nspawn: drop some debugging code These have no effect. Fixes CID 1299643. --- src/nspawn/nspawn.c | 10 ---------- 1 file changed, 10 deletions(-) (limited to 'src/nspawn') 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; -- cgit v1.2.3-54-g00ecf