Install this package:
emerge -a sec-policy/selinux-base
If the package is masked, you can unmask it using the autounmask tool or standard emerge options:
autounmask sec-policy/selinux-base
Or alternatively:
emerge --autounmask-write -a sec-policy/selinux-base
| Version | EAPI | Keywords | Slot |
|---|---|---|---|
| 9999 | 7 | ~amd64 ~arm ~arm64 ~riscv ~x86 | 0 |
| 2.20250618-r1 | 7 | amd64 arm arm64 ~riscv x86 | 0 |
| 2.20250213-r1 | 7 | amd64 arm arm64 ~riscv x86 | 0 |
<pkgmetadata> <maintainer type="project"> <email>selinux@gentoo.org</email> <name>SELinux Team</name> </maintainer> <longdescription> Gentoo SELinux base policy. This contains policy for a system at the end of system installation. There is no extra policy in this package. </longdescription> <use> <flag name="ubac">Enable User Based Access Control (UBAC) in the SELinux policy</flag> <flag name="unconfined">Enable support for the unconfined SELinux module</flag> <flag name="unknown-perms">Default allow unknown classes in kernels newer than the policy (SELinux policy capability).</flag> </use> </pkgmetadata>
Manage flags for this package:
euse -i <flag> -p sec-policy/selinux-base |
euse -E <flag> -p sec-policy/selinux-base |
euse -D <flag> -p sec-policy/selinux-base
| Flag | Description | 9999 | 2.20250618-r1 | 2.20250213-r1 |
|---|---|---|---|---|
| doc | Add extra documentation (API, Javadoc, etc). It is recommended to enable per package instead of globally | ✓ | ✓ | ✓ |
| systemd | Enable use of systemd-specific libraries and features like socket activation or session tracking | ✓ | ✓ | ✓ |
| ubac | Enable User Based Access Control (UBAC) in the SELinux policy | ⊕ | ⊕ | ⊕ |
| unconfined | Enable support for the unconfined SELinux module | ⊕ | ⊕ | ⊕ |
| unknown-perms | Default allow unknown classes in kernels newer than the policy (SELinux policy capability). | ⊕ | ⊕ | ⊕ |
| Type | File | Size | Versions |
|---|
| Type | File | Size |
|---|---|---|
| DIST | patchbundle-selinux-base-policy-2.20250213-r1.tar.bz2 | 276621 bytes |
| DIST | patchbundle-selinux-base-policy-2.20250618-r1.tar.bz2 | 306720 bytes |
| DIST | refpolicy-2.20250213.tar.bz2 | 627837 bytes |
| DIST | refpolicy-2.20250618.tar.bz2 | 632711 bytes |