From 80186fec5cf4fa467527549930718960651d0491 Mon Sep 17 00:00:00 2001 From: lfbzhm Date: Thu, 6 Jun 2024 14:22:04 +0000 Subject: [PATCH] fix a debug msg for user ns in nsexec Signed-off-by: lfbzhm (cherry picked from commit 24c2d28d1ff89b98f14922ec801b5fadad09471d) Signed-off-by: lifubang --- libcontainer/nsenter/nsexec.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libcontainer/nsenter/nsexec.c b/libcontainer/nsenter/nsexec.c index 2d224babea9..ff01e55f8c6 100644 --- a/libcontainer/nsenter/nsexec.c +++ b/libcontainer/nsenter/nsexec.c @@ -1213,7 +1213,7 @@ void nsexec(void) bail("failed to sync with parent: write(SYNC_USERMAP_PLS)"); /* ... wait for mapping ... */ - write_log(DEBUG, "request stage-0 to map user namespace"); + write_log(DEBUG, "waiting stage-0 to complete the mapping of user namespace"); if (read(syncfd, &s, sizeof(s)) != sizeof(s)) bail("failed to sync with parent: read(SYNC_USERMAP_ACK)"); if (s != SYNC_USERMAP_ACK)