rpm-plugin-unshare(8)

rpm-plugin-unshare8

Unshare plugin for the rpm package manager

Overview

This plugin allows using various Linux-specific namespace-related technologies inside transactions, such as to harden and limit scriptlet access to resources.

Configuration

This plugin implements the following configurables:

%__transaction_unshare_paths

A colon-separated list of paths to privately mount during scriptlet execution. Typical examples would be `/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).

Private mounts in chroot-operations is unimplemented.

%__transaction_unshare_nonet

Non-zero value disables network access during scriptlet execution.

See rpm-plugins(8) on how to control plugins in general.

Releases

2 releases since Debian 13 (Trixie); the text changed 1 time.

  1. 13
  2. Arch

From rpm-tools 6.0.1-2 in Arch Linux 2026-11-01. Parsed by carta from the page's man source.