[Fedora-packaging] Second user/group handling draft
notting at redhat.com
Fri May 11 18:04:37 UTC 2007
Joe Orton (jorton at redhat.com) said:
> > As noted in this week's FPC meeting minutes, the draft is probably going to be
> > voted on next week. A more fleshed out and cleaned up version which also
> > takes into account some findings in the FPC meeting as well as other feedback
> > on -maintainers is now online. Comments still welcome.
> Is it really a good idea to run /bin/id in scriptlets? Depending on
> nsswitch configuration, couldn't this block waiting for NIS/etc lookups?
Why not just check the exit status of useradd? There is a specific
exit status for 'user already exists'.
I'm of the opinion that we should handle static IDs by just assigning
static IDs up to 500 for everything. That's orthogonal to this, though.
More information about the Fedora-packaging