RPM-PLUGIN-UNSHARE(8)
π rpm-plugin-unshare(8) β the unshare plugin for the RPM Package Manager
okay so bestie, this is a page from the System Manager's Manual, and it's genuinely one of the coolest little gremlins in the RPM ecosystem. buckle up π
β¨ NAME β¨
rpm-plugin-unshare β the Unshare plugin for the RPM Package Manager π¦
πΈ DESCRIPTION πΈ
so basically this plugin lets you use all the Linux-specific namespace-related technologies inside transactions. why would you want that? to harden and limit scriptlet access to resources, that's why. it's giving bouncer-at-the-club energy for your scriptlets π
π CONFIGURATION π
this plugin implements the following configurables, and yes you have to spell them exactly like this, no cap:
%__transaction_unshare_pathsβ a colon-separated list of paths to privately mount during scriptlet execution. the typical iconic examples are/tmp, to protect against insecure temporary file usage inside scriptlets, and/home, to prevent scriptlets from accessing user home directories. when path unsharing is enabled, any mounts made from scriptlets are also private to the scriptlet β and vice versa, mount changes on the host are not visible to the scriptlet. it's a two-way boundary, not me making that up, fr fr.
private mounts in chroot-operations is unimplemented. so like, don't @ me about it, it's just not a thing yet π
%__transaction_unshare_nonetβ a non-zero value disables network access during scriptlet execution. bye bye network, no signal, blocked, ghosted π
see rpm-plugins(8) on how to control plugins in general β that's the group chat where all the plugin logistics live π«Ά
π SEE ALSO π
that's the whole vibe, bestie. this page is from RPM 6.0.2, dated 2026-07-16, and it ate. periodt β¨ππ
π¦ where this page comes from
- fedora 43: rpm-plugin-unshare 6.0.2-1.fc43 Β· GPL-2.0-or-later
- fedora 44: rpm-plugin-unshare 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