From 5374bc7cb4383abb1b3ae84a041eca93b259e4ea Mon Sep 17 00:00:00 2001 From: =?utf8?q?Zbigniew=20J=C4=99drzejewski-Szmek?= Date: Wed, 8 Dec 2021 11:46:09 +0100 Subject: [PATCH] sysusers: raise level of message about UID/GID being already used It can be quite important that a different value was used, so let's log this by default. --- src/sysusers/sysusers.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/sysusers/sysusers.c b/src/sysusers/sysusers.c index 855096020d..c3a9e54f3f 100644 --- a/src/sysusers/sysusers.c +++ b/src/sysusers/sysusers.c @@ -1097,7 +1097,7 @@ static int add_user(Item *i) { if (r < 0) return log_error_errno(r, "Failed to verify UID " UID_FMT ": %m", i->uid); if (r == 0) { - log_debug("Suggested user ID " UID_FMT " for %s already used.", i->uid, i->name); + log_info("Suggested user ID " UID_FMT " for %s already used.", i->uid, i->name); i->uid_set = false; } } @@ -1268,7 +1268,7 @@ static int add_group(Item *i) { return 0; } if (r == 0) { - log_debug("Suggested group ID " GID_FMT " for %s already used.", i->gid, i->name); + log_info("Suggested group ID " GID_FMT " for %s already used.", i->gid, i->name); i->gid_set = false; } } -- 2.25.1