Heya

I'm trying to migrate my system over to selinux using the gentoo handbook for selinux migration. I'm following the initial preperations page and so, changed my profile, ensured I had the latest kernel headers and then emerged glibc.

After doing so, I'm not trying to emerge hardened-sources but my emerge seems to be broken.

Exhibit A:

# emerge hardened-sources
Calculating dependencies ...done!
>>> emerge (1 of 1) sys-kernel/hardened-sources-2.6.14-r5 to /
>>> Downloading ftp://ftp.ucsb.edu/pub/mirrors/linux/gentoo/distfiles/hardened-patches-2.6.14-5.extras.tar.bz2
Traceback (most recent call last):
 File "/usr/bin/emerge", line 3228, in ?
   mydepgraph.merge(pkglist)
 File "/usr/bin/emerge", line 1912, in merge
retval=portage.doebuild(y,"merge",myroot,self.pkgsettings,edebug,tree="porttree")
 File "/usr/lib/portage/pym/portage.py", line 2704, in doebuild
if mydo!="manifest" and not fetch(fetchme, mysettings, listonly=listonly, fetchonly=fetchonly):
 File "/usr/lib/portage/pym/portage.py", line 1914, in fetch
   con=selinux.getcontext()
AttributeError: 'module' object has no attribute 'getcontext'

In fact I can't emerge anything. Anyone please able to help me out and let me know what I've done wrong? Should I not be using this document for a 2005.1 install system?

--
[email protected] mailing list

Reply via email to