diff options
author | Lennart Poettering <lennart@poettering.net> | 2024-11-23 00:04:43 +0100 |
---|---|---|
committer | Yu Watanabe <watanabe.yu+github@gmail.com> | 2024-11-23 09:33:17 +0100 |
commit | 95116bdfd5d45cc1a7c6588e6b8bdcb0d0e007a6 (patch) | |
tree | 245f20d69abf211bb21b81e71791d5842ce3b34e /src | |
parent | nspawn: fix userns_mkdir() invocation (diff) | |
download | systemd-95116bdfd5d45cc1a7c6588e6b8bdcb0d0e007a6.tar.xz systemd-95116bdfd5d45cc1a7c6588e6b8bdcb0d0e007a6.zip |
nspawn: improve log message on bad incoming sd_notify() message
It's the PID that is wrong, not the UID/GID, be precise.
Diffstat (limited to 'src')
-rw-r--r-- | src/nspawn/nspawn.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nspawn/nspawn.c b/src/nspawn/nspawn.c index 0a8f1af821..91700d9282 100644 --- a/src/nspawn/nspawn.c +++ b/src/nspawn/nspawn.c @@ -4653,7 +4653,7 @@ static int nspawn_dispatch_notify_fd(sd_event_source *source, int fd, uint32_t r ucred = CMSG_FIND_DATA(&msghdr, SOL_SOCKET, SCM_CREDENTIALS, struct ucred); if (!ucred || ucred->pid != inner_child_pid) { - log_debug("Received notify message without valid credentials. Ignoring."); + log_debug("Received notify message from process that is not the payload's PID 1. Ignoring."); return 0; } |