Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 491868 - emerge --root=... enewuser in pkg_setup() fails to create user in target root directory
Summary: emerge --root=... enewuser in pkg_setup() fails to create user in target root...
Status: RESOLVED DUPLICATE of bug 53269
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Unclassified (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Portage team
Depends on:
Reported: 2013-11-21 12:56 UTC by Radoslaw Kojdecki
Modified: 2013-12-10 23:52 UTC (History)
0 users

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


Note You need to log in before you can comment on or make changes to this bug.
Description Radoslaw Kojdecki 2013-11-21 12:56:03 UTC
Emerge with "--root" doesn't create users in target directory that exists in builder's system

Reproducible: Always

Steps to Reproduce:
1.Be sure that /etc/passwd doesn't have "quagga" user
2.Create /target-system directory
3.Perform "emerge --root=/target-system quagga"
4.Look at /target-system/etc/passwd
Actual Results:  
There is no "quagga" line in /target-system/etc/passwd

Expected Results:  
Adding "quagga" user (in that case) into /target-system/etc/passwd
Comment 1 Jeroen Roovers (RETIRED) gentoo-dev 2013-11-22 13:33:50 UTC
Assuming you tried =net-misc/quagga-, this work would be done in the enewuser and enewgroup calls in pkg_setup().
Comment 2 SpanKY gentoo-dev 2013-12-10 23:52:56 UTC

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