Remove race in enewuser, enewgroup

We had an obvious TOCTOU problem in enewuser and enewgroup.
The code would check to see if a user or group was already
created early in these functions, then do a bunch of work
and check again. If the account was created in the meantime,
it'd barf on the second check. This check is redundant anyway
so remove it.

TEST=remove accounts for a package and emerge it again
TEST=release trybot

Change-Id: If522df57468cd79466c27945b2240d9bc11ca503
(cherry picked from commit c6778c492f5e75819c316e75f2aae44f33534e4e)
Reviewed-by: Chris Masone <>
Tested-by: Mike Frysinger <>
1 file changed
tree: 5fa8b5b4b1a2b8501fb83485af6ce46a674fb560
  1. eclass/
  2. metadata/
  3. profiles/