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 your system.

Resolution
Relabel the files offered by the portage package.