| 1 |
.\" Automatically generated by Pandoc 3.1.11.1 |
| 2 |
.\" |
| 3 |
.TH "RPM\-UNSHARE" "8" "15 Sep 2023" "" "" |
| 4 |
.SH NAME |
| 5 |
rpm\-plugin\-unshare \- Unshare plugin for the RPM Package Manager |
| 6 |
.SH Description |
| 7 |
This plugin allows using various Linux\-specific namespace\-related |
| 8 |
technologies inside transactions, such as to harden and limit scriptlet |
| 9 |
access to resources. |
| 10 |
.SH Configuration |
| 11 |
This plugin implements the following configurables: |
| 12 |
.TP |
| 13 |
\f[CR]%__transaction_unshare_paths\f[R] |
| 14 |
A colon\-separated list of paths to privately mount during scriptlet |
| 15 |
execution. |
| 16 |
Typical examples would be \f[CR]/tmp\f[R] to protect against insecure |
| 17 |
temporary file usage inside scriptlets, and \f[CR]/home\f[R] to prevent |
| 18 |
scriptlets from accessing user home directories. |
| 19 |
When path unsharing is enabled, any mounts made from scriptlets are also |
| 20 |
private to the scriptlet (and vice versa, mount changes on the host are |
| 21 |
not visible to the scriptlet). |
| 22 |
.RS |
| 23 |
.PP |
| 24 |
Private mounts in chroot\-operations is unimplemented. |
| 25 |
.RE |
| 26 |
.TP |
| 27 |
\f[CR]%__transaction_unshare_nonet\f[R] |
| 28 |
Non\-zero value disables network access during scriptlet execution. |
| 29 |
.PP |
| 30 |
See \f[B]rpm\-plugins\f[R](8) on how to control plugins in general. |
| 31 |
.SH SEE ALSO |
| 32 |
\f[B]dbus\-monitor\f[R](1), \f[B]rpm\-plugins\f[R](8) |