In my prefix environment inside a real Gentoo I get PREFIX: christoph@x61 ~ $ etc-update chown: changing ownership of ‘/var/tmp/etc-update-3830’: Operation not permitted etc-update: ERROR: failed to set ownership on temp dir PREFIX: christoph@x61 ~ $ type etc-update etc-update is hashed (/data/christoph/prefix/usr/sbin/etc-update) This error boils down two portage variable etc-update uses: PREFIX: christoph@x61 ~ $ portageq envvar -v PORTAGE_TMPDIR PORTAGE_INST_UID PORTAGE_TMPDIR='/var/tmp' PORTAGE_INST_UID='0' Strangely: PREFIX: christoph@x61 ~ $ emerge --info | grep PORTAGE_TMPDIR PORTAGE_TMPDIR="/data/christoph/prefix/var/tmp"
scary, looks like it gets portage (settings) from host -- assuming you didn't use root to install your prefix
(In reply to comment #1) > scary, looks like it gets portage (settings) from host -- assuming you > didn't use root to install your prefix I found it the environment was still polluted by PYTHONPATH="/usr/lib/portage/pym".
hmmm, ok next portage version should be more protective about that kind of stuff.