Summary: | selinux/2007.0/amd64 profile should unmask multilib and x264 USE flags | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Jonathan Barnard <WineLauncher.Jonathan> |
Component: | Eclasses | Assignee: | SE Linux Bugs <selinux> |
Status: | RESOLVED FIXED | ||
Severity: | enhancement | ||
Priority: | High | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
Jonathan Barnard
2009-12-26 14:09:31 UTC
I did not tell you. You need to add 'x264' to your make.conf file. I messed up the text for steps 3 and 4 but I think you get the point. I think this not a enchancement but a bug. from the use.mask file: ># ppc and x86/amd64 >x264 That line should be removed because the x264 package and in turn the use flag is now for alpha, amd64, mips, ppc, ppc64, sparc, x86 and x86-fbsd. ># Only used by mips and old amd64 profiles >multilib In that comment the only thing wrong is the word old. From how I read that it's saying that multilib should be unmasked in the amd64 profile. Apparently this is still an issue. My setup: Hardened Gentoo amd64, no-multilib, SELinux, PaX, grsec, selinux/v2refpolicy/amd64/hardened profile. Steps to reproduce: 1. Start a fresh install from Gentoo minimal install cd 2. During the install grab stage3-amd64-hardened+nomultilib-20101230.tar.bz2 from the releases directory. 3. After install, try to emerge -uDN world 4. glibc and gcc fail to compile This most likely is due to the fact that I grab a nomultilib stage 3 during install, but SELinux profiles do not offer a nomultilib setting. However, when using emerge gcc glibc, they both have (-multilib) set, as in /usr/portage/profiles/selinux/use.mask it says multilib is masked. I however understood that there was no such thing as SELinux and nomultilib. Switching multilib to -multilib in /usr/portage/profiles/selinux/use.mask makes portage try and emerge glibc and gcc as multilib. They still fail on the same errors as before though: glibc: configure: error: C preprocessor "/lib/cpp" fails sanity check gcc: error: gnu/stubs-32.h: No such file or directory Searching the web I find that this is a circular dependency and so I am not able to resolve this (gcc requires multilib glibc and vice versa). Should there be a warning on the hardened nomultilib stage 3 that it cannot be used with SELinux at the moment? This has been resolved with the new selinux "feature" profile. |