According to [1] the range of dynamic uids and gids is 500..999. But /etc/login.def does not implement this range: $ grep 'SYS_[GU]ID' /etc/login.defs SYS_UID_MIN 101 SYS_UID_MAX 999 SYS_GID_MIN 101 SYS_GID_MAX 999 SYS_[GU]ID_MIN should be set to 500 to prevent dynamic ids to block fixed ids of other groups [1] https://wiki.gentoo.org/wiki/Project:Quality_Assurance/UID_GID_Assignment Reproducible: Always
Which is fine, we allocate free [GU]IDS in the descending order. https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=970abc63ba7144c45208acf3f727d8a559caaa43