Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 145044 - dev-libs/libusb - sandbox violation w/ distcc
Summary: dev-libs/libusb - sandbox violation w/ distcc
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Lisa Seelye (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-08-24 23:53 UTC by Alan Hourihane
Modified: 2006-09-13 17:15 UTC (History)
1 user (show)

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 Alan Hourihane 2006-08-24 23:53:22 UTC
On a hardened system using distcc & ccache I get this when emerging libusb.

Using FEATURES="-sandbox" emerge libusb makes it work.

--------------------------- ACCESS VIOLATION SUMMARY ---------------------------
LOG FILE = "/var/log/sandbox/sandbox-dev-libs_-_libusb-0.1.10a-16669.log"

open_wr:   /usr/src/distcc/lock/cpu_localhost_0
open_wr:   /usr/src/distcc/state/binstate_16961
open_wr:   /usr/src/distcc/state/binstate_16962
unlink:    /usr/src/distcc/state/binstate_16962
unlink:    /usr/src/distcc/state/binstate_16961
--------------------------------------------------------------------------------
Comment 1 Lisa Seelye (RETIRED) gentoo-dev 2006-09-04 04:15:11 UTC
In /etc/make.conf what is DISTCC_DIR set to (if anything) and what is PORTAGE_TMPDIR set to (if anything)?
Comment 2 Alan Hourihane 2006-09-04 04:29:28 UTC
I guess this is the problem, in that DISTCC_DIR=/usr/src which is outside of the sandbox.

So, I've disabled sandbox now. You can close this, if this is the actual problem.

But it'd be useful to know what DISTCC_DIR should be set to, to make it sandbox aware.

Thanks.
Comment 3 Lisa Seelye (RETIRED) gentoo-dev 2006-09-13 17:15:52 UTC
Read the distcc documentation. The manpage or the Gentoo Distcc guide, which can be found at http://www.gentoo.org/doc/en/distcc.xml which explains DISTCC_DIR.

Closing INVALID.