LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 01-28-2013, 07:44 AM   #1
mreff555
Member
 
Registered: Sep 2011
Location: Philly
Distribution: Gentoo
Posts: 473

Rep: Reputation: Disabled
Python 2.7.3-r2 and sandbox


I am really new to sandbox and don't really understand it yet. I am running gentoo and trying to install python 2.7.3-r2 which is an ebuild that uses the sandbox.

(Before you say anything I've had this question on Gentoo forums for a while and nobody has even attempted an answer. Since the problem itself is somewhat more general, I figured I'd post it here.)

Here is the sandbox log:

Code:
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: link 
S: deny 
P: /run/sem.autoconf 
A: /run/sem.autoconf 
R: /run/sem.autoconf 
C: ./conftest 

F: unlink 
S: deny 
P: /run/sem.rvv6B7 
A: /run/sem.rvv6B7 
R: /run/sem.rvv6B7 
C: ./conftest 

F: link 
S: deny 
P: /run/sem.autocftw 
A: /run/sem.autocftw 
R: /run/sem.autocftw 
C: ./conftest 

F: unlink 
S: deny 
P: /run/sem.LLFWGc 
A: /run/sem.LLFWGc 
R: /run/sem.LLFWGc 
C: ./conftest

I don't really have a good understanding of the /run directory or why attempting to link to this would be useful or bad. Could anyone give me some insight?
 
Old 01-28-2013, 11:58 AM   #2
Snark1994
Senior Member
 
Registered: Sep 2010
Location: Wales, UK
Distribution: Arch
Posts: 1,632
Blog Entries: 3

Rep: Reputation: 345Reputation: 345Reputation: 345Reputation: 345
You're trying to install python inside that sandbox? I've never used sandbox, but my understanding of it is you're trying to prevent the program run from altering the system - so it's fundamentally at odds with trying to install anything using it.

Sorry if I've misunderstood what you're saying. In any case, it may be useful if you post the exact commands you're using...
 
Old 01-28-2013, 08:39 PM   #3
mreff555
Member
 
Registered: Sep 2011
Location: Philly
Distribution: Gentoo
Posts: 473

Original Poster
Rep: Reputation: Disabled
yeah I really don't understand it myself. It's a Gentoo thing I guess.
 
Old 01-29-2013, 07:37 AM   #4
Snark1994
Senior Member
 
Registered: Sep 2010
Location: Wales, UK
Distribution: Arch
Posts: 1,632
Blog Entries: 3

Rep: Reputation: 345Reputation: 345Reputation: 345Reputation: 345
Are you following a particular guide? If so, can you link to it here please?

What is your end goal? Are you just trying to install Python 2.7.3-r2? Have you tried using emerge?

And again, can you post the commands you're using to do whatever it is you're doing?

Regards,
 
Old 01-29-2013, 08:22 AM   #5
mreff555
Member
 
Registered: Sep 2011
Location: Philly
Distribution: Gentoo
Posts: 473

Original Poster
Rep: Reputation: Disabled
No, just trying to get xorg installed. The strange part is I've done it many times before. Never with this problem
 
Old 01-30-2013, 09:20 AM   #6
Snark1994
Senior Member
 
Registered: Sep 2010
Location: Wales, UK
Distribution: Arch
Posts: 1,632
Blog Entries: 3

Rep: Reputation: 345Reputation: 345Reputation: 345Reputation: 345
Don't see where Python comes into it, then... Try following http://www.gentoo.org/doc/en/xorg-config.xml
 
Old 01-30-2013, 05:55 PM   #7
mreff555
Member
 
Registered: Sep 2011
Location: Philly
Distribution: Gentoo
Posts: 473

Original Poster
Rep: Reputation: Disabled
Trust me, Python is in the dependency try in the Gentoo ebuild.
I managed to get it installed. I updated Sandbox to 2.6 and it worked without a problem.
 
Old 01-31-2013, 03:54 AM   #8
Snark1994
Senior Member
 
Registered: Sep 2010
Location: Wales, UK
Distribution: Arch
Posts: 1,632
Blog Entries: 3

Rep: Reputation: 345Reputation: 345Reputation: 345Reputation: 345
Hm. In any case, glad you got it sorted... Please mark this thread as SOLVED using the link at the top of the page, unless you have any follow-up questions

Thanks,
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
sandbox server Kuldeep1333 Linux - Server 5 12-12-2012 09:26 PM
sandbox for Ubuntu ?? retxed Linux - Newbie 7 10-26-2012 05:23 AM
Isolate / Sandbox Two Clients JDaniels Linux - Networking 2 01-02-2012 03:40 AM
Is it possible for a process to break out of a sandbox? HGeneAnthony Linux - Security 14 04-19-2007 10:07 AM
sandbox lockout... jwhiz Linux - Newbie 2 10-02-2002 05:04 PM


All times are GMT -5. The time now is 06:09 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration