From: Lennart Poettering Date: Thu, 20 Jul 2017 18:46:58 +0000 (+0200) Subject: nspawn: downgrade warning when we get sd_notify() message from unexpected process... X-Git-Tag: v235~307 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=8cb574307963d1aeb1c53e1d1fbeee4a2be37259;p=thirdparty%2Fsystemd.git nspawn: downgrade warning when we get sd_notify() message from unexpected process (#6416) Given that we set NOTIFY_SOCKET unconditionally it's not surprising that processes way down the process tree think it's smart to send us a notification message. It's still useful to keep this message, for debugging things, but it shouldn't be generated by default. --- diff --git a/src/nspawn/nspawn.c b/src/nspawn/nspawn.c index 8a5fedd4b0b..0cbd8c34919 100644 --- a/src/nspawn/nspawn.c +++ b/src/nspawn/nspawn.c @@ -2836,7 +2836,7 @@ static int nspawn_dispatch_notify_fd(sd_event_source *source, int fd, uint32_t r } if (!ucred || ucred->pid != inner_child_pid) { - log_warning("Received notify message without valid credentials. Ignoring."); + log_debug("Received notify message without valid credentials. Ignoring."); return 0; }