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

Bug 32067

Summary: All ebuilds fail with access violation
Product: Portage Development Reporter: Curt Parker (dirtboy) <dirt>
Component: UnclassifiedAssignee: Portage team <dev-portage>
Status: RESOLVED FIXED    
Severity: minor    
Priority: High    
Version: unspecified   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Curt Parker (dirtboy) 2003-10-26 15:15:41 UTC
I get this error every time I try to emerge anything:

webserv portage # emerge wmweather+
Calculating dependencies ...done!
>>> emerge (1 of 1) x11-plugins/wmweather+-2.3 to /
>>> md5 ;-) wmweather+-2.3.tar.gz
ACCESS DENIED  open_wr:   /etc/passwd
ACCESS DENIED  open_wr:   /etc/passwd
>>> Unpacking source...
>>> Unpacking wmweather+-2.3.tar.gz to /var/tmp/portage/wmweather+-2.3/work
ACCESS DENIED  open_wr:   /etc/passwd
ACCESS DENIED  open_wr:   /etc/group
ACCESS DENIED  open_wr:   /etc/passwd
ACCESS DENIED  open_wr:   /etc/group
ACCESS DENIED  open_wr:   /etc/passwd
ACCESS DENIED  open_wr:   /etc/group
>>> Source unpacked.
--------------------------- ACCESS VIOLATION SUMMARY ---------------------------
LOG FILE = "/tmp/sandbox-wmweather+-2.3-5497.log"
 
open_wr:   /etc/passwd
open_wr:   /etc/passwd
open_wr:   /etc/group
open_wr:   /etc/passwd
open_wr:   /etc/passwd
open_wr:   /etc/group
open_wr:   /etc/passwd
open_wr:   /etc/group
open_wr:   /etc/passwd
open_wr:   /etc/group
--------------------------------------------------------------------------------

It is always with passwd and group with different orders and number of attempts
depending on the package.  I have two machines, almost identical, and the
permissions on these files are the same.  The entries for portage in passwd and
group are also the same.  I can get the packages to emerge by running this:

FEATURES="-sandbox" emerge {package}

Reproducible: Always
Steps to Reproduce:
1.
2.
3.
Comment 1 Curt Parker (dirtboy) 2003-10-26 17:30:40 UTC
Looks like if you re-emerge portage with FEATURES="-sandbox" this will fix
itself.