On Fri, 19 Feb 2016 09:36:21 -0500 Sandro Tosi <mo...@debian.org> wrote:
>
> Hello,
> we have users and groups which evolved from an old systems, and now their
> UIDs/GIDs are conflicting with the Debian default ones (as defined in
> /etc/adduser.conf)
>
> Given the debian packages users creation starts as early as during the
> installation (for example, systemd users), it would be great if we
could specify
> FIRST/LAST_SYSTEM_UID/GID via preseed, so that we can specify a range not
> conflicting with the internal ones.
>
> There is https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=640651 where
> something similar was asked to 'adduser' maints, but indeed this is
better done
> in the installation phase, hence this report (and the reason I'm
CCing all those
> who replied in #640651 to this report).
Note that systemd actually hardcodes these SYS_UID_MAX and SYS_GID_MAX
at compilation time, see https://github.com/systemd/systemd/issues/3855