Created attachment 922958 [details] logs and environment info I am installing a new gentoo hardened system (the profile is [33] default/linux/amd64/23.0/no-multilib/hardened/selinux (stable)) and am unable to complete the installation due to grub depending on sec-policy/selinux-makewhatis and this in turn failing to build. Full details are in the attached file. I am seeing the following error: Makefile:8: /usr/share/selinux/mcs/include/Makefile: No such file or directory This appears to be due to /usr/share/selinux/mcs not existing. The issue has also been reproduced by another user on the #gentoo-hardened irc channel.
(In reply to herespam1 from comment #0) > Created attachment 922958 [details] > logs and environment info > > I am installing a new gentoo hardened system (the profile is [33] > default/linux/amd64/23.0/no-multilib/hardened/selinux (stable)) and am > unable to complete the installation due to grub depending on > sec-policy/selinux-makewhatis and this in turn failing to build. Full > details are in the attached file. > > I am seeing the following error: > > Makefile:8: /usr/share/selinux/mcs/include/Makefile: No such file or > directory > > This appears to be due to /usr/share/selinux/mcs not existing. > > The issue has also been reproduced by another user on the #gentoo-hardened > irc channel. Hello, Not a fix, but this workaround worked for me: reinstall selinux-base . This fixed the same problem I was having.
I have the same problem with sec-policy/selinux-kerberos-2.20240916-r1 Re-emerging selinux-base does not change anything.