Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 116193

Summary: enewuser does not handle $ROOT correctly
Product: Gentoo Linux Reporter: Stephen Dennis <sd>
Component: EclassesAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: High    
Version: 2005.1   
Hardware: All   
OS: Other   
Whiteboard:
Package list:
Runtime testing required: ---

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 ***