RPM-PLUGIN-SELINUX(8)
π rpm-plugin-selinux β the manual, but make it make sense π
okay bestie, so you know how rpm is out here doing the most, installing files and running scriptlets and everything? this is the lil plugin that handles the SELinux side of that whole situation. it lives in section 8 of the System Manager's Manual, so it's a big-girl admin tool. slay.
β¨ NAME β¨
rpm-plugin-selinux β it's the SELinux plugin for the RPM Package Manager, aka the little helper that keeps your contexts cute and correct π
πΈ DESCRIPTION πΈ
So here's the tea: this plugin sets SELinux contexts for two things β
- the files that get installed π
- the scriptlets that get executed πβοΈ
That's it. That's the whole job. And it's a pretty important job ngl.
lowkey the one requirement: SELinux has to be enabled for this to work at all. no SELinux, no plugin, no contexts, nothing. it's giving "you can't sit with us" π
But wait, the good news β it doesn't care which mode you're in. It works in enforcing mode AND in permissive mode. so whatever your vibe check says, it's fine. it just needs SELinux to actually be turned on. periodt. β¨
π CONFIGURATION π
Wanna turn it off? Valid. Sometimes you just need a break, and the plugin supports that β you can disable it temporarily in one of two ways:
- passing
--nocontextsright there on therpm(8)command line, bestie π«Ά - setting the transaction flag
RPMTRANS_FLAG_NOCONTEXTSin the API, for the dev girlies π»
Both are temporary. It's not a permanent breakup, it's just a "i need space" moment. π
And if you're wondering how to control plugins in general β like, the whole roster, not just this one β go read rpm-plugins(8). that's the group chat rules for all the plugins. iykyk. π
π¦ SEE ALSO π¦
π the sign-off π
this whole page is RPM 6.0.2, dated 2026-07-16, and it came to you straight from RPM-PLUGIN-SELINUX(8) in the System Manager's Manual. okay love u bye, go forth and have your contexts correctly labeled πβ¨π¦
π¦ where this page comes from
- fedora 43: rpm-plugin-selinux 6.0.2-1.fc43 Β· GPL-2.0-or-later
- fedora 44: rpm-plugin-selinux 6.0.2-1.fc44 Β· GPL-2.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms