]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
nspawn: downgrade warning when we get sd_notify() message from unexpected process...
authorLennart Poettering <lennart@poettering.net>
Thu, 20 Jul 2017 18:46:58 +0000 (20:46 +0200)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Thu, 20 Jul 2017 18:46:58 +0000 (14:46 -0400)
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.

src/nspawn/nspawn.c

index 8a5fedd4b0b9aeebd79a82e05158d32ece6cc8a9..0cbd8c3491940c7d00e7474b877e7f692b3ea5e1 100644 (file)
@@ -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;
         }