Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Portage & Programming
  • Search

Access denied, access_wr: /

Problems with emerge or ebuilds? Have a basic programming question about C, PHP, Perl, BASH or something else?
Post Reply
Advanced search
24 posts • Page 1 of 1
Author
Message
nookie_pl
n00b
n00b
Posts: 34
Joined: Mon Apr 24, 2006 7:04 pm

Access denied, access_wr: /

  • Quote

Post by nookie_pl » Thu Sep 07, 2006 4:57 am

Mod edit: Sticky for now (2006-10-14). (Unstuck 2007-01-17.) Please also see [bug]101433[/bug]. --kallamej

Please note that disabling the sandbox should only be done if you know what you're doing. This thread is about a very specific case where you have sys-apps/sandbox-1.2.11 or lower installed. Generally, sandbox violations are ebuild bugs that need to be fixed properly. Please file a new report if there isn't one already.



Hey,

I've started yesterday emerge --update world (from almost clean 2005.1 version) and today morning I've found that:

ACCESS DENIED access_wr: /
>>> Completed installing texinfo-4.8-r4 into /var/tmp/portage/texinfo-4.8-r4/image/

--------------------------- ACCESS VIOLATION SUMMARY ---------------------------
LOG FILE = "/var/log/sandbox/sandbox-sys-apps_-_texinfo-4.8-r4-22573.log"

access_wr: /
--------------------------------------------------------------------------------

Somewhere on forums I've found solution to upgrade Sandbox, but when I compile it - I get same error (on Sandbox compilation).

Any ideas?
Top
desultory
Bodhisattva
Bodhisattva
User avatar
Posts: 9410
Joined: Fri Nov 04, 2005 6:07 pm

  • Quote

Post by desultory » Thu Sep 07, 2006 5:09 am

Perhaps emerge -C sandbox && emerge sandbox?
Top
yabbadabbadont
Advocate
Advocate
User avatar
Posts: 4791
Joined: Fri Mar 14, 2003 12:02 am
Location: 2 exits past crazy

  • Quote

Post by yabbadabbadont » Thu Sep 07, 2006 5:09 am

Did you remember to disable the sandbox feature of portage when you tried to update sandbox?
Bones McCracker wrote:On the other hand, regex is popular with the ladies.
Top
Takaitra
n00b
n00b
User avatar
Posts: 26
Joined: Mon Apr 12, 2004 5:03 am
Location: Minnesota
Contact:
Contact Takaitra
Website

  • Quote

Post by Takaitra » Mon Sep 11, 2006 5:50 pm

Thanks yabbadabbadont, I was receiving the same error when performing an emerge system. The following fixed it.

Code: Select all

FEATURES="-sandbox" emerge -1 sandbox
Top
paully
n00b
n00b
Posts: 47
Joined: Fri May 21, 2004 2:38 pm
Location: Folkestone, Kent, UK
Contact:
Contact paully
Website

  • Quote

Post by paully » Fri Sep 15, 2006 1:08 pm

Fantastic. That fixed the same problem for me!

:)

Paully
Top
pcooley
n00b
n00b
Posts: 3
Joined: Sun Sep 17, 2006 2:27 pm
Location: Seattle, WA

  • Quote

Post by pcooley » Sun Sep 17, 2006 2:46 pm

I also ran into this problem while doing:

Code: Select all

emerge xorg-x11
It failed on xinit-1.0.2-r6
Emerging (1 of 27) x11-apps/xinit-1.0.2-r6 to /

Using the solution

Code: Select all

FEATURES="-sandbox" emerge -1 sandbox
allowed it to work immediately on my next try.

Thanks very much.
Top
diilbert
n00b
n00b
User avatar
Posts: 52
Joined: Mon Sep 05, 2005 12:08 pm

  • Quote

Post by diilbert » Tue Oct 10, 2006 5:10 pm

Thanks for the answer to the problem.

Got the same problem when updating php to php-4.4.4-r4

So updated to the latest Sandbox version to fix the problem.
Top
Corona688
Veteran
Veteran
User avatar
Posts: 1204
Joined: Sat Jan 10, 2004 7:51 pm

  • Quote

Post by Corona688 » Fri Oct 13, 2006 3:38 pm

This thread deserves a sticky.
Petition for Better 64-bit ATI Drivers - Sign Here
http://www.petitiononline.com/atipet/petition.html
Top
moocha
Watchman
Watchman
Posts: 5722
Joined: Tue Oct 21, 2003 6:45 pm

  • Quote

Post by moocha » Fri Oct 13, 2006 3:52 pm

Corona688 wrote:This thread deserves a sticky.
Subscribed.
Military Commissions Act of 2006: http://tinyurl.com/jrcto

"Those who would give up essential liberty to purchase a little temporary safety deserve neither liberty nor safety."
-- attributed to Benjamin Franklin
Top
kallamej
Administrator
Administrator
User avatar
Posts: 4993
Joined: Fri Jun 27, 2003 10:05 am
Location: Gothenburg, Sweden

  • Quote

Post by kallamej » Sat Oct 14, 2006 11:24 am

moocha wrote:
Corona688 wrote:This thread deserves a sticky.
Subscribed.
Done.
Please read our FAQ Forum, it answers many of your questions.
irc: #gentoo-forums on irc.libera.chat
Top
Telexen
Apprentice
Apprentice
Posts: 189
Joined: Sun Oct 09, 2005 4:24 pm

  • Quote

Post by Telexen » Mon Oct 16, 2006 2:25 am

that fix still isn't working for me when trying to emerge nvidia-drivers ... xorg-x11 has no problems though.
Top
yabbadabbadont
Advocate
Advocate
User avatar
Posts: 4791
Joined: Fri Mar 14, 2003 12:02 am
Location: 2 exits past crazy

  • Quote

Post by yabbadabbadont » Mon Oct 16, 2006 2:32 am

Telexen wrote:that fix still isn't working for me when trying to emerge nvidia-drivers ... xorg-x11 has no problems though.
Another user (on amd64) is having this issue with nvidia-drivers too. However, he was trying to use the latest (hard masked) version instead of the stable 1.0.8774 version. Which version are you trying to use and on which arch?
Bones McCracker wrote:On the other hand, regex is popular with the ladies.
Top
Telexen
Apprentice
Apprentice
Posts: 189
Joined: Sun Oct 09, 2005 4:24 pm

  • Quote

Post by Telexen » Mon Oct 16, 2006 2:43 am

It appears to be this problem:

http://forums.gentoo.org/viewtopic-t-50 ... ight-.html

As I said in my post there I get the error with both the latest masked and unmasked versions on a mm-sources amd64 2.6.18-mm3 kernel
Top
yabbadabbadont
Advocate
Advocate
User avatar
Posts: 4791
Joined: Fri Mar 14, 2003 12:02 am
Location: 2 exits past crazy

  • Quote

Post by yabbadabbadont » Mon Oct 16, 2006 2:49 am

Telexen wrote:It appears to be this problem:

http://forums.gentoo.org/viewtopic-t-50 ... ight-.html

As I said in my post there I get the error with both the latest masked and unmasked versions on a mm-sources amd64 2.6.18-mm3 kernel
Yeah, I saw your other post. I pointed the other user to that thread too.
Bones McCracker wrote:On the other hand, regex is popular with the ladies.
Top
little_bob
Retired Dev
Retired Dev
User avatar
Posts: 34
Joined: Tue Jul 27, 2004 8:47 am

Access denied, access_wr: /

  • Quote

Post by little_bob » Wed Oct 25, 2006 5:33 am

Hello,

many thanks for setting this sticky :D


I am one user of the rare special cases with sandbox lower or equal 1.2.11.

In my case it happened while i change to modular x. I did an emerge for the ttf-bitstream-vera-1.10-r3 ebuild when i run into this error.
I did not find something in the forum because i looked for ttf-bitstream-vera.

I was a bit in dispair because i could not find anything usefull. Then i decided to make an entry in this part of forum looking for help and found this sticky entry.

--little_bob
Top
puggy
Bodhisattva
Bodhisattva
User avatar
Posts: 1991
Joined: Fri Feb 28, 2003 2:49 am
Location: Oxford, UK
Contact:
Contact puggy
Website

  • Quote

Post by puggy » Thu Oct 26, 2006 1:22 pm

I have sandbox-1.2.18.1

Have tried:

Code: Select all

FEATURES="-sandbox" emerge -1 sandbox
and can still not emerge nvidia-drivers or other kernel modules like vmware due to the access violation.

Portage 2.1.2_pre3-r9 (default-linux/x86/2006.1, gcc-3.4.6, glibc-2.5-r0, 2.6.18-rc4 i686)
=================================================================
System uname: 2.6.18-rc4 i686 Intel(R) XEON(TM) CPU 2.40GHz
Gentoo Base System version 1.12.5
Last Sync: Thu, 26 Oct 2006 09:30:01 +0000
app-admin/eselect-compiler: [Not Present]
dev-java/java-config: 1.3.7, 2.0.30
dev-lang/python: 2.3.5-r3, 2.4.3-r4
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache: [Not Present]
dev-util/confcache: [Not Present]
sys-apps/sandbox: 1.2.18.1
sys-devel/autoconf: 2.13, 2.60
sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils: 2.17
sys-devel/gcc-config: 1.3.14
sys-devel/libtool: 1.5.22
virtual/os-headers: 2.6.17-r1
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-pipe -funroll-loops -mmmx -msse -msse2 -O3 -march=pentium4"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c"
CXXFLAGS="-pipe -funroll-loops -mmmx -msse -msse2 -O3 -march=pentium4"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig cvs distlocks manifest metadata-transfer parallel-fetch sandbox sfperms strict"
GENTOO_MIRRORS="http://gentoo.blueyonder.co.uk"
LANG="en_GB.utf8"
LC_ALL="en_GB.utf8"
LINGUAS="en_GB"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 aac acl acpi akode alsa asf bash-completion berkdb bitmap-fonts bluetooth branding cdr cli cracklib crypt cups dbus dga divx4linux dlloader dmx dri dvd dvdr dvdread elibc_glibc ffmpeg font-server fortran fping gdbm gpm gtk gtk2 guile hal ieee1394 imagemagick input_devices_keyboard input_devices_mouse ipv6 isdnlog java jce jpeg2k kde kdeenablefinal kdehiddenvisibility kernel_linux libclamav libg++ linguas_en_GB mjpeg mmx ncurses nls nogecko-sdk nptl nptlonly nsplugin nvidia ofx pam pcre pdf perl perlsuid ppds pppd python qt qt4 readline real reflection samba session spl sqlite sse ssl subtitles subversion tcpd truetype-fonts type1-fonts udev unicode usb userland_GNU v4l video_cards_nvidia video_cards_v4l vidix vorbis win32codecs xcomposite xine xinerama xorg xvid zeroconf zlib"
Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LDFLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Where there's open source , there's a way.
Top
yabbadabbadont
Advocate
Advocate
User avatar
Posts: 4791
Joined: Fri Mar 14, 2003 12:02 am
Location: 2 exits past crazy

  • Quote

Post by yabbadabbadont » Thu Oct 26, 2006 11:59 pm

puggy wrote:I have sandbox-1.2.18.1

Have tried:

Code: Select all

FEATURES="-sandbox" emerge -1 sandbox
and can still not emerge nvidia-drivers or other kernel modules like vmware due to the access violation.
Try setting MAKEOPTS="-j1" temporarily in /etc/make.conf and see if it helps.
Bones McCracker wrote:On the other hand, regex is popular with the ladies.
Top
piewie
Guru
Guru
User avatar
Posts: 494
Joined: Thu Sep 26, 2002 9:32 pm
Location: old Europe
Contact:
Contact piewie
Website

  • Quote

Post by piewie » Fri Oct 27, 2006 10:19 pm

yabbadabbadont wrote: Try setting MAKEOPTS="-j1" temporarily in /etc/make.conf and see if it helps.
nvidia-drivers does not compile - still sandbox violation. Seems to be a kernel bug with extern modules building:
http://bugs.gentoo.org/show_bug.cgi?id=149307
Top
jkcunningham
l33t
l33t
Posts: 648
Joined: Mon Apr 28, 2003 4:28 pm
Location: 47.49N 121.79W

  • Quote

Post by jkcunningham » Sat Nov 18, 2006 4:57 pm

I was trying to emerge system after syncing and running into the sandbox access errors on everything. I noticed that the first thing it wanted to update was 'sandbox' and *it* had a sandbox error. So I emerged it 'dangerously':

Code: Select all

FEATURES="-sandbox" emerge sandbox
and after that everything else seems to be working fine. It looks like a catch-22: sandbox had a bug in it that couldn't be updated until you disabled sandbox.
Top
kallamej
Administrator
Administrator
User avatar
Posts: 4993
Joined: Fri Jun 27, 2003 10:05 am
Location: Gothenburg, Sweden

  • Quote

Post by kallamej » Sat Nov 18, 2006 8:08 pm

jkcunningham wrote:I was trying to emerge system after syncing and running into the sandbox access errors on everything. I noticed that the first thing it wanted to update was 'sandbox' and *it* had a sandbox error. So I emerged it 'dangerously':

Code: Select all

FEATURES="-sandbox" emerge sandbox
and after that everything else seems to be working fine. It looks like a catch-22: sandbox had a bug in it that couldn't be updated until you disabled sandbox.
That's what this sticky is all about. Split your post from [topic=502883]this thread[/topic] and merged it here.
Please read our FAQ Forum, it answers many of your questions.
irc: #gentoo-forums on irc.libera.chat
Top
dak1001
n00b
n00b
Posts: 9
Joined: Tue Dec 16, 2003 3:52 pm

  • Quote

Post by dak1001 » Sun Dec 10, 2006 2:52 am

If you are unable to emerge the nvidia-drivers, check your kernel to see if you have the stack-protector selected. Try de-selecting the stack-protector and rebuilding your kernel. emerge the nvidia-drivers into your newly built kernel.
Top
ansa
n00b
n00b
Posts: 1
Joined: Fri Feb 02, 2007 10:08 pm

  • Quote

Post by ansa » Fri Feb 02, 2007 10:14 pm

dak1001 wrote:If you are unable to emerge the nvidia-drivers, check your kernel to see if you have the stack-protector selected. Try de-selecting the stack-protector and rebuilding your kernel. emerge the nvidia-drivers into your newly built kernel.
Yep. It worked for me, on amd64, gcc-4.1.1-r3, linux-2.6.19-gentoo-r5, nvidia-drivers-9746...
It's been a good lesson however: never turn on a kernel option without knowing *exactly* what it does :)
Top
Bizarro
n00b
n00b
Posts: 9
Joined: Thu Jan 18, 2007 10:53 pm

  • Quote

Post by Bizarro » Thu Feb 22, 2007 10:55 am

Such a lovely sticky :oops:
[center]Image[/center]
Top
fusel
n00b
n00b
Posts: 15
Joined: Mon Apr 24, 2006 12:57 pm

  • Quote

Post by fusel » Fri Mar 02, 2007 3:38 pm

That does the trick! Many thanks :D
Top
Post Reply

24 posts • Page 1 of 1

Return to “Portage & Programming”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic