Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 83772 - UserPriv breaks logging.
Summary: UserPriv breaks logging.
Status: RESOLVED FIXED
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Core (show other bugs)
Hardware: All All
: High normal
Assignee: Portage team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-03-01 22:10 UTC by Alec Warner (RETIRED)
Modified: 2005-03-01 22:21 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 Alec Warner (RETIRED) archtester gentoo-dev Security 2005-03-01 22:10:07 UTC
kyoto root # emerge info | grep FEATURES   
FEATURES="autoaddcvs autoconfig buildpkg ccache confcache digest distlocks parallel-fetch sandbox sfperms userpriv"

kyoto root # emerge genlop
Calculating dependencies ...done!
>>> emerge (1 of 1) app-portage/genlop-0.30.2 to /
>>> md5 src_uri ;-) genlop-0.30.2.tar.gz
creating temp dir
swapping processors for ['unpack', 'compile', 'test']
tee: /var/log/portage/2165-genlop-0.30.2.log: Permission denied
>>> Unpacking source...
>>> Unpacking genlop-0.30.2.tar.gz to /var/tmp/portage/genlop-0.30.2/work
>>> Source unpacked.
tee: /var/log/portage/2165-genlop-0.30.2.log: Permission denied
tee: /var/log/portage/2165-genlop-0.30.2.log: Permission denied
>>> Test phase [not enabled]; app-portage/genlop-0.30.2
swapping processors for ['install']

* On a related note command line FEATURES are broken, I had to edit my make.conf to confirm that userpriv was the culprit.

kyoto root # emerge info | grep FEATURES
FEATURES="autoaddcvs autoconfig buildpkg ccache confcache digest distlocks parallel-fetch sandbox sfperms"

kyoto root # emerge genlop
Calculating dependencies ...done!
>>> emerge (1 of 1) app-portage/genlop-0.30.2 to /
cleansing builddir/var/tmp/portage/genlop-0.30.2
>>> md5 src_uri ;-) genlop-0.30.2.tar.gz
creating temp dir
>>> Unpacking source...
>>> Unpacking genlop-0.30.2.tar.gz to /var/tmp/portage/genlop-0.30.2/work
>>> Source unpacked.
>>> Test phase [not enabled]; app-portage/genlop-0.30.2

>>> Install genlop-0.30.2 into /var/tmp/portage/genlop-0.30.2/image/ category app-portage
man:
prepallstrip:
strip: --strip-unneeded
strip: --strip-unneeded

Second time has no logging errors.  Userpriv needs to be in portage group to write to portage logs.
Comment 1 Alec Warner (RETIRED) archtester gentoo-dev Security 2005-03-01 22:21:05 UTC
InCVS according to Brian