On Wed, Dec 7, 2022 at 4:24 AM James Le Cuirot <ch...@gentoo.org> wrote: > The new eclasses also skip the operation if you are root. As that bug report > says, running a prefixed system as root is probably unsupported. I was doing > this as root into a ROOTed prefix though, which is slightly different. Should > we also skip the operation if EPREFIX non-empty? I'll think about it.
I would be in favor of skipping adding users/groups if EPREFIX is non-empty, at least as a temporary solution. If someone presents a use case where adding users to ${EROOT}/etc/passwd makes sense, we can revisit it then.