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