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

Bug 170197

Summary: enewuser/group doesn't update the correct passwd/group file when using ROOT
Product: Portage Development Reporter: Nolan Eakins <nolan>
Component: Core - Ebuild SupportAssignee: Portage team <dev-portage>
Status: RESOLVED DUPLICATE    
Severity: major    
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Nolan Eakins 2007-03-09 22:54:11 UTC
I've been emerging Apache using a command like "ROOT=/livecd emerge apache" and the user "apache" hasn't been making its way into the CD's passwd file. The system's passwd file is getting an "apache" user added so my conclusion is that the "enewuser" and "enewgroup" functions don't honor the ROOT environment variable.

Reproducible: Always

Steps to Reproduce:
1. mkdir /livecd
2. ROOT=/livecd emerge apache
3. grep apache /livecd/etc/passwd

Actual Results:  
Nothing is found.

Expected Results:  
To have the user "apache".
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2007-03-09 22:58:41 UTC

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