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.
This commit is contained in:
Zbigniew Jędrzejewski-Szmek
2021-12-08 11:47:29 +01:00
parent 9a5af4b7ac
commit 5374bc7cb4
+2 -2
View 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;
}
}