Gentoo Archives: gentoo-hardened

From: Michael <mycroes@××××××.nl>
To: gentoo-hardened@l.g.o
Subject: Re: [gentoo-hardened] Migration problems
Date: Sun, 05 Feb 2006 00:43:56
Message-Id: 43E5498F.7070304@zonnet.nl
In Reply to: [gentoo-hardened] Migration problems by Darren Grant
1 I think your python is broken... Something is broken and since emerge
2 needs it there is no easy way to get it working again. The easiest is if
3 someone can provide the needed package as a tgz/tbz2 which you can
4 then extract to / to have emerge working again, after which you can
5 remerge the package that stopped working. My guess is it's python,
6 but I'm not 100% sure.
7 Good luck,
8
9 Michael
10
11 Darren Grant wrote:
12
13 > Heya
14 >
15 > I'm trying to migrate my system over to selinux using the gentoo
16 > handbook for selinux migration. I'm following the initial preperations
17 > page and so, changed my profile, ensured I had the latest kernel
18 > headers and then emerged glibc.
19 >
20 > After doing so, I'm not trying to emerge hardened-sources but my
21 > emerge seems to be broken.
22 >
23 > Exhibit A:
24 >
25 > # emerge hardened-sources
26 > Calculating dependencies ...done!
27 > >>> emerge (1 of 1) sys-kernel/hardened-sources-2.6.14-r5 to /
28 > >>> Downloading
29 > ftp://ftp.ucsb.edu/pub/mirrors/linux/gentoo/distfiles/hardened-patches-2.6.14-5.extras.tar.bz2
30 >
31 > Traceback (most recent call last):
32 > File "/usr/bin/emerge", line 3228, in ?
33 > mydepgraph.merge(pkglist)
34 > File "/usr/bin/emerge", line 1912, in merge
35 >
36 > retval=portage.doebuild(y,"merge",myroot,self.pkgsettings,edebug,tree="porttree")
37 >
38 > File "/usr/lib/portage/pym/portage.py", line 2704, in doebuild
39 > if mydo!="manifest" and not fetch(fetchme, mysettings,
40 > listonly=listonly, fetchonly=fetchonly):
41 > File "/usr/lib/portage/pym/portage.py", line 1914, in fetch
42 > con=selinux.getcontext()
43 > AttributeError: 'module' object has no attribute 'getcontext'
44 >
45 > In fact I can't emerge anything. Anyone please able to help me out and
46 > let me know what I've done wrong? Should I not be using this document
47 > for a 2005.1 install system?
48 >
49
50 --
51 gentoo-hardened@g.o mailing list

Replies

Subject Author
Re: [gentoo-hardened] Migration problems Darren Grant <dgrant@×××××××××××.ca>