There is only little sense in logging the mount table of the host system
as it only makes the debug log very noisy.
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
return r;
}
- // Log all mountpoints
- pakfire_mount_list(jail->ctx);
-
return 0;
}
DEBUG(jail->pakfire, " UID: %u (effective %u)\n", uid, euid);
DEBUG(jail->pakfire, " GID: %u (effective %u)\n", gid, egid);
+ // Log all mountpoints
+ pakfire_mount_list(jail->ctx);
+
// Fail if we are not PID 1
if (pid != 1) {
CTX_ERROR(jail->ctx, "Child process is not PID 1\n");