Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 170197 - enewuser/group doesn't update the correct passwd/group file when using ROOT
Summary: enewuser/group doesn't update the correct passwd/group file when using ROOT
Status: RESOLVED DUPLICATE of bug 53269
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Core - Ebuild Support (show other bugs)
Hardware: All Linux
: High major (vote)
Assignee: Portage team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-03-09 22:54 UTC by Nolan Eakins
Modified: 2007-03-09 22:58 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 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 ***