On 09/11/13 00:01, Alan McKinnon wrote:
> Do you have userpriv set in FEATURES?
> 
> That makes emerge run as portage which cannot read /root.

Here is the value of FEATURES, based on the output of emerge --info:

FEATURES="assume-digests binpkg-logs config-protect-if-modified
distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch
preserve-libs protect-owned sandbox sfperms strict unknown-features-warn
unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync"

So as you say, userpriv is set and it explains why /root/overlay doesn't
work.

> 
> I suspect your make.conf is faulty.
> 
> What is the contents of make.conf?
> what is ls -al $PORTDIR/eclass/pam.eclass
> 

Here are the contents of /etc/portage/make.conf:

======================================================================
# These settings were set by the catalyst build script that automatically
# built this stage.
# Please consult /usr/share/portage/config/make.conf.example for a more
# detailed example.
CFLAGS="-O2 -pipe"
CXXFLAGS="${CFLAGS}"
# WARNING: Changing your CHOST is not something that should be done lightly.
# Please consult http://www.gentoo.org/doc/en/change-chost.xml before
changing.
CHOST="x86_64-pc-linux-gnu"
# These are the USE flags that were used in addition to what is provided
by the
# profile used for building.
MAKEOPTS="-j8"
GENTOO_MIRRORS="ftp://ftp.linux.org.tr/pub/gentoo";
USE="nptl nptlonly unicode minizip tk udev python threads xvfb perl dlz
caps sqlite upcall systemd -gtk2 -gtk3 -acl"
ACCEPT_KEYWORDS="~amd64"
ACCEPT_LICENSE="*"
VIDEO_CARDS="intel"
INPUT_DEVICES="evdev keyboard mouse"
FEATURES="-test"
PORTDIR_OVERLAY="/usr/local/portage"
======================================================================

And here is the pam.eclass perms:

bonsai ~ # ls -al /usr/portage/eclass/pam.eclass
-rw-r--r-- 1 portage portage 6455 Aug  5  2012
/usr/portage/eclass/pam.eclass


Reply via email to