1 |
On 02/23/2014 06:18 PM, Erik Mackdanz wrote: |
2 |
> I'm attempting to convert my laptop to SELinux using the conversion |
3 |
> guide, and I've run into a few snags with documentation. I've consulted |
4 |
> the troubleshooting page, archives and forums, and now am reaching out |
5 |
> directly. |
6 |
> |
7 |
> 1) When I get to the world update ('emerge -uDN world'), every package |
8 |
> fails at install with 'Failed to set SELinux security labels.' Don't I |
9 |
> also need 'FEATURES="-selinux"' for that step (like the preceding step)? |
10 |
> |
11 |
I am fairly sure FEATURES=selinux is pretty important at this step; this |
12 |
is where you are re-installing all packages with SELinux support, and |
13 |
the security labels are supposed to be set. |
14 |
|
15 |
I had the same problem, though, on a recent conversion. In my case, the |
16 |
problem was emerge was using python3, but the selinux module only exists |
17 |
for python2. Try setting python2.7 as your default interpreter, or |
18 |
re-emerge portage with USE=python2. The latter is what I did and now |
19 |
everything works fine. |
20 |
|
21 |
-- |
22 |
♫Dustin |
23 |
http://dustin.hatch.name/ |