Juan Luis Pérez Pérez wrote: > openldap ebuild calls enewgroup and fails. > dbus ebuild calls enewgroup and fails.
Yes, this is understood. Several other ebuilds also call enewgroup and enewuser, and would also fail if emerged at the same point. enewgroup fails because eutils.eclass implements that function with a call to groupadd (not the problem!) but there is no groupadd command available in the system at that point (the problem!). So where is the problem exactly? I don't know. Make eutils.eclass somehow ensure that the neccessary commands will be available? Make eutils.eclass depend on shadow? (I don't like that idea.) Have an alternative implementation for these commands built into eutils.class as fallback? (I don't like that either.) Have an alternative implementation somewhere else? Where? Make all ebuilds which call enewgroup or similar functions depend on shadow? (Feels very wrong to me.) //Peter
