On 6/20/19 9:53 AM, Brian Evans wrote: >> + >> +Following the acceptance of this GLEP, all new users and groups must >> +be created via user/group packages as defined in this GLEP. The old >> +method may still be used for existing users/groups, in existing >> +packages. >> + >> +All new users and groups must have unique UIDs/GIDs assigned >> +by developers. The developer adding them is responsible for checking >> +for collisions. > > What significance will such numbers have when a daemon uses a new > UID/GID and really doesn't care what it is? Why do we have to go > through the effort of assigning fixed IDs at random? >
People want this. Here's the thread from 2017: https://archives.gentoo.org/gentoo-dev/message/2355afd4f5b72651e2ff47ea8b10c1fe Selectively quoting: * I might be not following correctly, but due to how filesystems/etc work it is probably desirable to have consistent UID/GIDs as much as reasonably possible. -rich0 * I don't think we need to have stable UIDs/GIDs in the "normal" case of standalone users with a single Gentoo system at home. The people who need predictable UIDs/GIDs are the "enterprise" users or the home users who use things such as NFS. I work for a company that uses Gentoo, we have a bunch of workarounds to make sure that UIDs and GIDs are stable. -chutzpah * I for one am more than willing to do whatever shell commands necessary to make all my Gentoo installs agree on UIDs and get [fixed UID proposal] now, but I realise most people are not. -A. Wilcox * YES! I think after [fixed UIDs] is finalized, it should be part of the handbook installation as a default, but selectable. -james * If the user does not exist then create it. Preferably use a pre- assigned UID/GID so there is some consistency with most other Gentoo things out there. -Alan McKinnon This will make a lot of peoples' lives easier, and is very easy to do.