Summary: | sec-policy/selinux-pulseaudio-2.20221101-r4 mcs policy fails to build | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Vytautas Krasauskas <bugs.gentoo.org> |
Component: | SELinux | Assignee: | SE Linux Bugs <selinux> |
Status: | UNCONFIRMED --- | ||
Severity: | normal | CC: | gentoo |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | AMD64 | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
emerge --info
build.log |
Created attachment 863497 [details]
build.log
This can happen if you are switching policy types without rebuilding the selinux-base package first. When this package is installed, it reads POLICY_TYPES from make.conf and installs the needed policy dependencies in /usr/share/selinux/<policy>. If 'mcs' is not specified in POLICY_TYPES, then the required files for the mcs policy won't be installed. Generally speaking when you are doing whole policy updates or rebuilds, it's a good idea to just merge the entire @selinux-rebuild set which pulls in everything correctly. |
Created attachment 863496 [details] emerge --info I am building Gentoo in a chroot on an Ubuntu system, but I don't think it matters in this case, as it's just the MCS policy that seems to be missing: ============================================= Makefile:8: /usr/share/selinux/mcs/include/Makefile: No such file or directory make: *** No rule to make target '/usr/share/selinux/mcs/include/Makefile'. Stop. =============================================