Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 332891 - =sys-apps/net-tools-1.60_p20100815160931 can't be installed due to a sandbox violation
Summary: =sys-apps/net-tools-1.60_p20100815160931 can't be installed due to a sandbox ...
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-08-15 19:30 UTC by boris64
Modified: 2010-08-16 02:47 UTC (History)
1 user (show)

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


Attachments
emerge output (build.txt,2 bytes, text/plain)
2010-08-15 19:31 UTC, boris64
Details
emerge --info (emerge_info.txt,13.47 KB, text/plain)
2010-08-15 19:32 UTC, boris64
Details
emerge output (build.txt,33.18 KB, text/plain)
2010-08-15 19:34 UTC, boris64
Details

Note You need to log in before you can comment on or make changes to this bug.
Description boris64 2010-08-15 19:30:48 UTC
Every version >sys-apps/net-tools-1.60_p20090728014017-r1 can't
be installed on my system due to a sandbox violation.

[shortlog]
--------------------------- ACCESS VIOLATION SUMMARY ---------------------------
LOG FILE "/var/log/sandbox/sandbox-708517.log"

VERSION 1.0
FORMAT: F - Function called
FORMAT: S - Access Status
FORMAT: P - Path as passed to function
FORMAT: A - Absolute Path (not canonical)
FORMAT: R - Canonical Path
FORMAT: C - Command Line

F: mkdir
S: deny
P: sbin
A: /var/portage/sbin
R: /var/portage/sbin
C: install -m 0755 -d /var/portage/sbin 
--------------------------------------------------------------------------------
[/shortlog]
Comment 1 boris64 2010-08-15 19:31:44 UTC
Created attachment 243099 [details]
emerge output
Comment 2 boris64 2010-08-15 19:32:14 UTC
Created attachment 243101 [details]
emerge --info
Comment 3 boris64 2010-08-15 19:34:12 UTC
Created attachment 243103 [details]
emerge output
Comment 4 Jeroen Roovers (RETIRED) gentoo-dev 2010-08-16 00:35:50 UTC
BASEDIR="/var/portage"

Why is that set and where did you set it?

Comment 5 Jeroen Roovers (RETIRED) gentoo-dev 2010-08-16 01:14:18 UTC
=
Comment 6 boris64 2010-08-16 01:19:00 UTC
This is set in /etc/make.conf because my complete portage 
stuff is in a custom directory (/var/portage of course) 
for quite some years now. If this is somehow considered 
to be wrong, why the hell is it the _only_ ebuild that
breaks because of this?
Comment 7 boris64 2010-08-16 01:29:54 UTC
After commenting out BASEDIR=/var/portage in /etc/make.conf
i am able to install net-tools without any problems.

However, this is still strange. The BASEDIR once was a variable
from /etc/make-{conf,globals} some days (or years?) ago. Is my
make.conf really so outdated?
Comment 8 Jeroen Roovers (RETIRED) gentoo-dev 2010-08-16 02:29:12 UTC
(In reply to comment #6)
> This is set in /etc/make.conf because my complete portage 
> stuff is in a custom directory (/var/portage of course) 
> for quite some years now. If this is somehow considered 
> to be wrong, why the hell is it the _only_ ebuild that
> breaks because of this?

Maybe it's the only Makefile that actually uses the variable. No harm in unsetting it as it isn't used anywhere else.
Comment 9 boris64 2010-08-16 02:36:54 UTC
I simply changed BASEDIR into PORTAGE_BASEDIR
(makes more sense to me). No problems anymore so far,
i think this bug can be closed.
Comment 10 Jeroen Roovers (RETIRED) gentoo-dev 2010-08-16 02:47:06 UTC
I guess the message to future users of the BASEDIR variable in make.conf is that you shouldn't. Marking as such. :)