On 02/23/2014 06:18 PM, Erik Mackdanz wrote:
> I'm attempting to convert my laptop to SELinux using the conversion
> guide, and I've run into a few snags with documentation.  I've consulted
> the troubleshooting page, archives and forums, and now am reaching out
> directly.
> 
> 1) When I get to the world update ('emerge -uDN world'), every package
> fails at install with 'Failed to set SELinux security labels.'  Don't I
> also need 'FEATURES="-selinux"' for that step (like the preceding step)?
> 
I am fairly sure FEATURES=selinux is pretty important at this step; this
is where you are re-installing all packages with SELinux support, and
the security labels are supposed to be set.

I had the same problem, though, on a recent conversion. In my case, the
problem was emerge was using python3, but the selinux module only exists
for python2. Try setting python2.7 as your default interpreter, or
re-emerge portage with USE=python2. The latter is what I did and now
everything works fine.

-- 
♫Dustin
http://dustin.hatch.name/

Reply via email to