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)?
2) The conversion guide states 'We recommend to use PaX as well'. Would it
be accurate (and maybe helpful) to append 'but installing without PaX can
be accomplished with USE=-pax_kernel in make.conf'? I configured this
change because I don't want to learn PaX today but all hardened profiles
include USE=pax_kernel in make.defaults, making PaX more of a requirement
than a recommendation. I assume that allowing USE=pax_kernel on a non-PaX
kernel (I'm building the kernel from gentoo-sources not hardened-sources)
is invalid.
3) The conversion guide states 'switch the Gentoo profile to the right
SELinux profile' but then immediately shows an example which selects '[11]
hardened/linux/amd64/no-multilib *', a non-SELinux profile. Shouldn't
item [10] or [12] be selected?
I have a feeling these are all documentation bugs but as a hardened-n00b, I
don't know what I don't know.
Thanks all, especially devs, for all the hard work into making Gentoo great.
Erik
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)?
2) The conversion guide states 'We recommend to use PaX as well'. Would it
be accurate (and maybe helpful) to append 'but installing without PaX can
be accomplished with USE=-pax_kernel in make.conf'? I configured this
change because I don't want to learn PaX today but all hardened profiles
include USE=pax_kernel in make.defaults, making PaX more of a requirement
than a recommendation. I assume that allowing USE=pax_kernel on a non-PaX
kernel (I'm building the kernel from gentoo-sources not hardened-sources)
is invalid.
3) The conversion guide states 'switch the Gentoo profile to the right
SELinux profile' but then immediately shows an example which selects '[11]
hardened/linux/amd64/no-multilib *', a non-SELinux profile. Shouldn't
item [10] or [12] be selected?
I have a feeling these are all documentation bugs but as a hardened-n00b, I
don't know what I don't know.
Thanks all, especially devs, for all the hard work into making Gentoo great.
Erik