>>> checking ebuild checksums ;-) >>> checking auxfile checksums ;-) >>> checking miscfile checksums ;-) >>> checking acct-6.3.5-ts02-12.tar.gz ;-) ACCESS DENIED open_wr: /var/tmp/portage/acct-6.3.5-r2/temp/eclass-debug.log /usr/lib/portage/bin/ebuild.sh: line 1126: /var/tmp/portage/acct-6.3.5-r2/temp/eclass-debug.log: Permission denied ACCESS DENIED open_wr: /var/tmp/portage/acct-6.3.5-r2/temp/eclass-debug.log /usr/lib/portage/bin/ebuild.sh: line 1126: /var/tmp/portage/acct-6.3.5-r2/temp/eclass-debug.log: Permission denied ACCESS DENIED open_wr: /var/tmp/portage/acct-6.3.5-r2/temp/eclass-debug.log /usr/lib/portage/bin/ebuild.sh: line 1126: /var/tmp/portage/acct-6.3.5-r2/temp/eclass-debug.log: Permission denied ACCESS DENIED open_wr: /var/tmp/portage/acct-6.3.5-r2/temp/eclass-debug.log /usr/lib/portage/bin/ebuild.sh: line 1126: /var/tmp/portage/acct-6.3.5-r2/temp/eclass-debug.log: Permission denied ACCESS DENIED mkdir: /data/gentoo/var/tmp/portage/acct-6.3.5-r2/work install: cannot create directory `/var/tmp/portage/acct-6.3.5-r2/work': Permission denied !!! ERROR: sys-process/acct-6.3.5-r2 failed. Call stack: ebuild.sh, line 1545: Called dyn_unpack ebuild.sh, line 707: Called die !!! Failed to create dir '/var/tmp/portage/acct-6.3.5-r2/work' !!! If you need support, post the topmost build error, and the call stack if relevant. --------------------------- ACCESS VIOLATION SUMMARY --------------------------- LOG FILE = "/var/log/sandbox/sandbox-sys-process_-_acct-6.3.5-r2-3371.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: open_wr S: deny P: /var/tmp/portage/acct-6.3.5-r2/temp/eclass-debug.log A: /var/tmp/portage/acct-6.3.5-r2/temp/eclass-debug.log R: /data/gentoo/var/tmp/portage/acct-6.3.5-r2/temp/eclass-debug.log C: /bin/bash /usr/lib/portage/bin/ebuild.sh unpack F: chmod S: deny P: /var/tmp/portage/acct-6.3.5-r2/temp/eclass-debug.log A: /var/tmp/portage/acct-6.3.5-r2/temp/eclass-debug.log R: /data/gentoo/var/tmp/portage/acct-6.3.5-r2/temp/eclass-debug.log C: chmod g+w /var/tmp/portage/acct-6.3.5-r2/temp/eclass-debug.log F: open_wr S: deny P: /var/tmp/portage/acct-6.3.5-r2/temp/eclass-debug.log A: /var/tmp/portage/acct-6.3.5-r2/temp/eclass-debug.log R: /data/gentoo/var/tmp/portage/acct-6.3.5-r2/temp/eclass-debug.log C: /bin/bash /usr/lib/portage/bin/ebuild.sh unpack F: chmod S: deny P: /var/tmp/portage/acct-6.3.5-r2/temp/eclass-debug.log A: /var/tmp/portage/acct-6.3.5-r2/temp/eclass-debug.log R: /data/gentoo/var/tmp/portage/acct-6.3.5-r2/temp/eclass-debug.log C: chmod g+w /var/tmp/portage/acct-6.3.5-r2/temp/eclass-debug.log F: open_wr S: deny P: /var/tmp/portage/acct-6.3.5-r2/temp/eclass-debug.log A: /var/tmp/portage/acct-6.3.5-r2/temp/eclass-debug.log R: /data/gentoo/var/tmp/portage/acct-6.3.5-r2/temp/eclass-debug.log C: /bin/bash /usr/lib/portage/bin/ebuild.sh unpack F: chmod S: deny P: /var/tmp/portage/acct-6.3.5-r2/temp/eclass-debug.log A: /var/tmp/portage/acct-6.3.5-r2/temp/eclass-debug.log R: /data/gentoo/var/tmp/portage/acct-6.3.5-r2/temp/eclass-debug.log C: chmod g+w /var/tmp/portage/acct-6.3.5-r2/temp/eclass-debug.log F: open_wr S: deny P: /var/tmp/portage/acct-6.3.5-r2/temp/eclass-debug.log A: /var/tmp/portage/acct-6.3.5-r2/temp/eclass-debug.log R: /data/gentoo/var/tmp/portage/acct-6.3.5-r2/temp/eclass-debug.log C: /bin/bash /usr/lib/portage/bin/ebuild.sh unpack F: chmod S: deny P: /var/tmp/portage/acct-6.3.5-r2/temp/eclass-debug.log A: /var/tmp/portage/acct-6.3.5-r2/temp/eclass-debug.log R: /data/gentoo/var/tmp/portage/acct-6.3.5-r2/temp/eclass-debug.log C: chmod g+w /var/tmp/portage/acct-6.3.5-r2/temp/eclass-debug.log F: mkdir S: deny P: work A: /data/gentoo/var/tmp/portage/acct-6.3.5-r2/work R: /data/gentoo/var/tmp/portage/acct-6.3.5-r2/work C: install -m0755 -d /var/tmp/portage/acct-6.3.5-r2/work --------------------------------------------------------------------------------
Works fine here. Please include emerge --info and some extra info if you have symlinks or bind mounts, etc for /var/tmp/portage.
It was caused by symlink cd /var/tmp ln -s /data/gentoo/var/tmp/portage Sorry :-(
Hmm, that should in theory be ok. I will test that when I have some time here.
Yes, it should. After changing PORTAGE_TMPDIR to /data/gentoo/var/tmp it's OK, but I think it was OK even with that symlink ... one time. Anyway, changing summary...
Btw, I have set ACL permissions on /data $ getfacl /data getfacl: Removing leading '/' from absolute path names # file: data # owner: dave # group: home user::rwx user:dave:rwx user:petr:rwx group::rwx mask::rwx other::r-x default:user::rwx default:group::rwx default:group:home:rwx default:mask::rwx default:other::r-x But it should not have any effect to root, hm?
PS, I think I know what the issue is (ripping of PORTAGE_TMPDIR logic due to ferringb's insistance), but for the mean time you can do: # echo 'SANDBOX_WRITE="/data/gentoo/var/tmp/portage"' > /etc/sandbox.d/99mywrite or something similar.
True that. It works OK when: # grep TMP /etc/make.conf PORTAGE_TMPDIR=/data/gentoo/var/tmp and # grep TMP /etc/make.conf PORTAGE_TMPDIR=/var/tmp # cat /etc/sandbox.d/99mywrite SANDBOX_WRITE="/data/gentoo/var/tmp/portage"
Hello, I just had the following error message by running "emerge -DNu world" (updating x11-libs/vte-0.16.8), maybe it is related: """ ACCESS DENIED unlink: /usr/share/pygtk/2.0/codegen/argtypes.pyc ACCESS DENIED unlink: /usr/share/pygtk/2.0/codegen/definitions.pyc ACCESS DENIED unlink: /usr/share/pygtk/2.0/codegen/defsparser.pyc ACCESS DENIED unlink: /usr/share/pygtk/2.0/codegen/scmexpr.pyc ACCESS DENIED unlink: /usr/share/pygtk/2.0/codegen/override.pyc ACCESS DENIED unlink: /usr/share/pygtk/2.0/codegen/reversewrapper.pyc (...) make[2]: Leaving directory `/var/tmp/portage/x11-libs/vte-0.16.8/work/vte-0.16.8/gnome-pty-helper' make[2]: Entering directory `/var/tmp/portage/x11-libs/vte-0.16.8/work/vte-0.16.8' make[2]: Nothing to be done for `all-am'. make[2]: Leaving directory `/var/tmp/portage/x11-libs/vte-0.16.8/work/vte-0.16.8' make[1]: Leaving directory `/var/tmp/portage/x11-libs/vte-0.16.8/work/vte-0.16.8' >>> Source compiled. --------------------------- ACCESS VIOLATION SUMMARY --------------------------- LOG FILE = "/var/log/sandbox/sandbox-x11-libs_-_vte-0.16.8-6280.log" unlink: /usr/share/pygtk/2.0/codegen/argtypes.pyc unlink: /usr/share/pygtk/2.0/codegen/definitions.pyc unlink: /usr/share/pygtk/2.0/codegen/defsparser.pyc unlink: /usr/share/pygtk/2.0/codegen/scmexpr.pyc unlink: /usr/share/pygtk/2.0/codegen/override.pyc unlink: /usr/share/pygtk/2.0/codegen/reversewrapper.pyc -------------------------------------------------------------------------------- """
It's not related, your error is caused by broken ebuild, which is trying to delete some files from the live system.
i think the behavior we see in sandbox is correct and we dont want to change it that means portage itself will have to detect the symlink and add an appropriate entry to SANDBOX_WRITE during its init steps ...
This should already be solved on the portage side by resolving the symlink as part of the ebuild environment setup. Please reopen if necessary.