---
name: "rpm-plugin-selinux"
section: "8"
platform: "linux"
package: "rpm"
version: "4.20.1+dfsg-3"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/rpm-plugin-selinux"
---

# rpm-plugin-selinux(8)

SELinux plugin for the RPM Package Manager

## NAME

rpm-plugin-selinux - SELinux plugin for the RPM Package Manager

## Description

The plugin sets SELinux contexts for installed files and executed scriptlets. It needs SELinux to be enabled to work but will work in both enforcing and permissive mode.

## Configuration

The plugin can be disabled temporarily by passing **--nocontexts** at the [**rpm**(8)](/rpm/8.md) command line or setting the transaction flag **RPMTRANS\_FLAG\_NOCONTEXTS** in the API.

See [**rpm-plugins**(8)](/rpm-plugins/8.md) on how to control plugins in general.

## SEE ALSO

[**rpm**(8)](/rpm/8.md), [**rpm-plugins**(8)](/rpm-plugins/8.md)
