Knowledge Base:SELinux module not found during emerge

Synopsis
During any emerge operation, Portage bails out with the following error:

Environment
This article is applicable to Gentoo Linux installations using a selinux profile:

Analysis
This indicates that the Portage SELinux module is missing or damaged. Recent Portage versions provide this module out-of-the-box, but the security contexts of the necessary files might be wrong on the system.

Resolution
Relabel the files offered by the Portage package: