]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
sysusers: raise level of message about UID/GID being already used 21678/head
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Wed, 8 Dec 2021 10:46:09 +0000 (11:46 +0100)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Wed, 8 Dec 2021 10:47:29 +0000 (11:47 +0100)
It can be quite important that a different value was used, so let's
log this by default.

src/sysusers/sysusers.c

index 855096020de73df0970f0d75af4bb4e5591fa3f3..c3a9e54f3fbbe90ecb9a1c75ce9d3f035d66ff2f 100644 (file)
@@ -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;
                 }
         }