2009/12/14 Ed W <[email protected]>:
> Yep, seems like a known bug

It's not exactly a bug but rather a missing feature in useradd and
friends. The correct way to solve this would be to add an option to
useradd, allowing to specify a passwd file other than /etc/passwd.
Afterwards patch the corresponding eclass to use this option. Patches
are welcome. ;-)

> Quite annoying - workarounds would be highly appreciated!

To install a cross-compiled system read:
http://gentoo.mindzoo.de/index.cgi/wiki/Cross Install

Especially the command:
find /var/db/pkg -name '*.ebuild' -exec grep -qF 'pkg_postinst()' {}
\; -exec ebuild {} postinst \;

which re-executes all post-install procedures on the target system
(and thus adds the users).

Regards,
    Sven

Reply via email to