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

Bug 534722

Summary: LOGNAME="root" with FEATURES="userpriv"
Product: Portage Development Reporter: Arfrever Frehtes Taifersar Arahesis <arfrever.fta>
Component: CoreAssignee: Portage team <dev-portage>
Severity: normal Keywords: InVCS
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: All   
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 484436    

Description Arfrever Frehtes Taifersar Arahesis 2015-01-04 22:35:31 UTC
LOGNAME="root" is still set in ebuild environment when using FEATURES="userpriv".
Portage should update value of this variable.

Some programs check this variable.
E.g. getpass.getuser() in Python standard library (
Comment 1 Zac Medico gentoo-dev 2015-01-19 03:15:39 UTC
I have a patch in the following branch:

I've posted it for review here:
Comment 2 Zac Medico gentoo-dev 2015-01-19 21:08:36 UTC
This is in the master branch now:
Comment 3 Brian Dolbec gentoo-dev 2015-03-04 21:24:26 UTC
Released in portage-2.2.16