From 5db3d7299f1c0c9f1d51cddcc60bc88d92bec9d3 Mon Sep 17 00:00:00 2001 From: =?utf8?q?St=C3=A9phane=20Graber?= Date: Tue, 16 Jul 2024 10:08:31 -0400 Subject: [PATCH] idmap: Lower logging level of newXidmap tools to INFO MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Stéphane Graber --- src/lxc/idmap_utils.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/lxc/idmap_utils.c b/src/lxc/idmap_utils.c index a0f0a4099..d1e40ac78 100644 --- a/src/lxc/idmap_utils.c +++ b/src/lxc/idmap_utils.c @@ -162,13 +162,13 @@ int lxc_map_ids(struct list_head *idmap, pid_t pid) */ uidmap = idmaptool_on_path_and_privileged("newuidmap", CAP_SETUID); if (uidmap == -ENOENT) - WARN("newuidmap binary is missing"); + INFO("newuidmap binary is missing"); else if (!uidmap) WARN("newuidmap is lacking necessary privileges"); gidmap = idmaptool_on_path_and_privileged("newgidmap", CAP_SETGID); if (gidmap == -ENOENT) - WARN("newgidmap binary is missing"); + INFO("newgidmap binary is missing"); else if (!gidmap) WARN("newgidmap is lacking necessary privileges"); -- 2.47.2