Knowledge Base:FEATURES variable contains unknown values loadpolicy
When running emerge, the following error is shown:
FEATURES variable contains unknown value(s): loadpolicy
This article is applicable to systems who have
loadpolicy listed in the Portage FEATURES variable:
emerge --info | grep ^FEATURES | grep loadpolicy
FEATURES="assume-digests binpkg-logs distlocks ebuild-locks fixlafiles loadpolicy news parallel-fetch protect-owned sandbox selinux sesandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
This is a remnant of the older SELinux policy module set where policy packages might require this FEATURE to be available. Older SELinux profiles set this variable, but this has since been removed from the tree. However, some users might still have this set in their /etc/portage/make.conf file.
loadpolicy is not used anymore, it can be removed from the FEATURES variable.
- Make sure a recent SELinux profile is used (the profile should end with
- Make sure the FEATURES variable, defined in /etc/portage/make.conf, does not contain