Starting user UIDs at 1000 - please check your packages
mitr at volny.cz
Wed Jul 20 16:07:03 UTC 2011
Fedora 16 will start user UIDs and GIDs at 1000 instead of 500.
Unfortunately some packages need to know the boundary, and usually
hard-code it. I have checked the most common packages, but I can't
check all 10 thousand packages, and I your help with this.
Please check the packages you own:
* (rpmbuild -bp) your packages
* grep the source code for /\<500\>/
* Check the results for code that compares UID or GID values to 500.
It may be useful to filter out the following common false positives:
- .po and .pot files
- g_timeout_add, gobject.timeout_add, /.*sleep *(500/
Of course you can skip packages that you know very well; but please
check packages if you are the tiniest bit unsure - the hard-coded
value appears in surprising places (e.g. httpd).
If you find code that hard-codes the UID or GID boundary:
- Add code that parses /etc/login.defs for the actual value of the
boundary (UID_MIN, GID_MIN).  contains Python code to do this.
- Keep the existing hard-coded boundary as a fallback for cases where
/etc/login.defs doesn't exist.
I'll be happy to help with the porting or to answer any questions -
just send me an e-mail.
 Those that can be installed by choosing all package groups
("Graphical Desktop", "Software Development", "Web Server") in
anaconda without enabling comps groups or packages individually.
More information about the devel