9dd720a285
useradd generates an empty subid range when adding a new user. This is caused because there are two variables, one local and the other one global, that have a very similar name and they are used indistinctly in the code. The local variable loads the SUB_*ID_COUNT configuration from the login.defs file, while the global variable, which holds a value of 0, is used to generate the subid range. Causing the empty subid range problem. I've merged the two variables in the local one and removed the global variable. I prefer to do it this way to reduce the scope of it but I'm open to doing it the other way round. Resolves: https://bugzilla.redhat.com/show_bug.cgi?id=1990653 Signed-off-by: Iker Pedrosa <ipedrosa@redhat.com>