]> git.ipfire.org Git - thirdparty/lxc.git/commitdiff
idmap: Lower logging level of newXidmap tools to INFO 4463/head
authorStéphane Graber <stgraber@stgraber.org>
Tue, 16 Jul 2024 14:08:31 +0000 (10:08 -0400)
committerStéphane Graber <stgraber@stgraber.org>
Tue, 16 Jul 2024 14:08:31 +0000 (10:08 -0400)
Signed-off-by: Stéphane Graber <stgraber@stgraber.org>
src/lxc/idmap_utils.c

index a0f0a4099868f039bc81e0b6dfbde494854df035..d1e40ac78f0da406ab06a451f9ed416f6bc5699a 100644 (file)
@@ -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");