Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 116193 - enewuser does not handle $ROOT correctly
Summary: enewuser does not handle $ROOT correctly
Status: RESOLVED DUPLICATE of bug 42320
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Eclasses (show other bugs)
Hardware: All Other
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-12-20 11:03 UTC by Stephen Dennis
Modified: 2005-12-20 11:08 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Stephen Dennis 2005-12-20 11:03:50 UTC
When doing a $ROOT=/whatever emerge thing, if ebuild uses
enewuser, enewuser does useradd on /etc/passwd, not on
$ROOT/etc/passwd. 

Further problematic as enewuser uses getent in its logic
which is almost certainly wrong.

eclass file
/usr/portage/eclass/eutils.eclass
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2005-12-20 11:08:17 UTC

*** This bug has been marked as a duplicate of 42320 ***