diff options
author | Lennart Poettering <lennart@poettering.net> | 2024-11-25 12:11:53 +0100 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2025-01-03 10:21:34 +0100 |
commit | 2623052e144910ddeb58766b4409033a2a0a70c9 (patch) | |
tree | 2e1092db70ae0f8e6ccad17c5f792b2bcaf8983a /src/nspawn | |
parent | nspawn: drop some redundant {} (diff) | |
download | systemd-2623052e144910ddeb58766b4409033a2a0a70c9.tar.xz systemd-2623052e144910ddeb58766b4409033a2a0a70c9.zip |
nspawn: improve log messages a bit
Diffstat (limited to 'src/nspawn')
-rw-r--r-- | src/nspawn/nspawn.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/nspawn/nspawn.c b/src/nspawn/nspawn.c index 630b32c4a6..cdf50d04b7 100644 --- a/src/nspawn/nspawn.c +++ b/src/nspawn/nspawn.c @@ -1763,7 +1763,7 @@ static int verify_arguments(void) { return log_error_errno(SYNTHETIC_ERRNO(EINVAL), "Invalid namespacing settings. Mounting sysfs with --private-users requires --private-network."); if (arg_userns_mode != USER_NAMESPACE_NO && !(arg_mount_settings & MOUNT_APPLY_APIVFS_RO)) - return log_error_errno(SYNTHETIC_ERRNO(EINVAL), "Cannot combine --private-users with read-write mounts."); + return log_error_errno(SYNTHETIC_ERRNO(EINVAL), "Cannot combine --private-users with read-write API VFS mounts."); if (arg_expose_ports && !arg_private_network) return log_error_errno(SYNTHETIC_ERRNO(EINVAL), "Cannot use --port= without private networking."); @@ -3698,7 +3698,7 @@ static int inner_child( return log_error_errno(errno, "Failed to acquire controlling TTY: %m"); } - log_debug("Inner child completed, invoking payload."); + log_debug("Inner child finished, invoking payload."); /* Now, explicitly close the log, so that we then can close all remaining fds. Closing the log explicitly first * has the benefit that the logging subsystem knows about it, and is thus ready to be reopened should we need |