[lxc-devel] [lxc/master] start: dumb down SIGCHLD from WARN() to NOTICE()

brauner on Github lxc-bot at linuxcontainers.org
Sun Feb 26 11:52:43 UTC 2017


A non-text attachment was scrubbed...
Name: not available
Type: text/x-mailbox
Size: 364 bytes
Desc: not available
URL: <http://lists.linuxcontainers.org/pipermail/lxc-devel/attachments/20170226/dee5f7ec/attachment.bin>
-------------- next part --------------
From af4c0f05fcf642a95933454b9c438cb03fa1dce6 Mon Sep 17 00:00:00 2001
From: Christian Brauner <christian.brauner at ubuntu.com>
Date: Sun, 26 Feb 2017 12:51:30 +0100
Subject: [PATCH] start: dumb down SIGCHLD from WARN() to NOTICE()

Signed-off-by: Christian Brauner <christian.brauner at ubuntu.com>
---
 src/lxc/start.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/lxc/start.c b/src/lxc/start.c
index ab5f5ad..e586881 100644
--- a/src/lxc/start.c
+++ b/src/lxc/start.c
@@ -333,7 +333,7 @@ static int signal_handler(int fd, uint32_t events, void *data,
 	 * by a process different from the container init.
 	 */
 	if (siginfo.ssi_pid != *pid) {
-		WARN("Invalid pid for SIGCHLD. Received pid %d, expected pid %d.", siginfo.ssi_pid, *pid);
+		NOTICE("Received SIGCHLD from pid %d instead of container init %d.", siginfo.ssi_pid, *pid);
 		return init_died ? 1 : 0;
 	}
 


More information about the lxc-devel mailing list