[prev in list] [next in list] [prev in thread] [next in thread] 

List:       gentoo-hardened
Subject:    Re: [gentoo-hardened] selinux - emerge sync error
From:       Jason Stubbs <jstubbs () work-at ! co ! jp>
Date:       2004-11-29 0:49:16
Message-ID: 200411290949.16638.jstubbs () work-at ! co ! jp
[Download RAW message or body]

On Friday 26 November 2004 17:45, Alexander Leonov wrote:
> !!! 'str' object has no attribute 'insert'
> !!! 'rm -Rf /usr/portage/profiles; emerge sync' may fix this. If it does
> !!! not then please report this to bugs.gentoo.org and, if possible, a dev
> !!! on #gentoo (irc.freenode.org)

http://bugs.gentoo.org/show_bug.cgi?id=63400

Essentially, to fix this, you'll need to:

# ARCH="$(portageq envvar ARCH)"
# echo ARCH=\"$ARCH\" >> /etc/make.conf
# echo ACCEPT_KEYWORDS=\"$ARCH\" >> /etc/make.conf
# OLDLINK="$(readlink -f /etc/make.profile)"
# rm /etc/make.profile
# emerge >=sys-apps/portage-2.0.51
# ln -s $OLDLINK /etc/make.profile

You should then remove ARCH and fix ACCEPT_KEYWORDS in make.conf. The solution 
would normally be to relink /etc/make.profile to a flat profile, but it seems 
that the flat selinux profile has been removed entirely.

Regards,
Jason Stubbs

--
gentoo-hardened@gentoo.org mailing list

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic