| 1 |
.\" Automatically generated by Pandoc 3.1.11.1 |
| 2 |
.\" |
| 3 |
.TH "RPM\-PLUGINS" "8" "29 Jan 2020" "" "" |
| 4 |
.SH NAME |
| 5 |
rpm\-plugins \- Plugins for the RPM Package Manager |
| 6 |
.SH Description |
| 7 |
RPM plugins provide functionality that is not suited to be used |
| 8 |
everywhere. |
| 9 |
They may not be built or shipped on some platforms or may not be |
| 10 |
installed or be disabled on some systems. |
| 11 |
.PP |
| 12 |
This allows plugins to interface with systems that may not acceptable as |
| 13 |
a dependency for RPM and to provide functionality that may be unwanted |
| 14 |
under some circumstances. |
| 15 |
.PP |
| 16 |
For now the plugin API is internal only. |
| 17 |
So there is a limited number of plugins in the RPM sources. |
| 18 |
.SH Configuration |
| 19 |
Some plugins can be configured by specific macros or influenced by |
| 20 |
command line parameters. |
| 21 |
But most can only be turned on or off. |
| 22 |
See the plugin\[aq]s man page for details. |
| 23 |
.PP |
| 24 |
Plugins are controlled by a macro \f[I]%__transaction_NAME\f[R] which is |
| 25 |
set to the location of the plugin file. |
| 26 |
Undefining the macro or setting it to \f[I]%{nil}\f[R] will prevent the |
| 27 |
plugin from being run. |
| 28 |
.PP |
| 29 |
This can be done on the RPM command line e.g.\ with |
| 30 |
\f[B]\-\-undefine=__transaction_syslog\f[R]. |
| 31 |
To disable a plugin permantently drop a file in \f[I]/etc/rpm/\f[R] that |
| 32 |
contains |
| 33 |
.PP |
| 34 |
__transaction_NAME %{nil} |
| 35 |
.PP |
| 36 |
Another option is to remove the plugin from the system if it is packaged |
| 37 |
in its own sub package. |
| 38 |
.PP |
| 39 |
For some operations it may be desirable to disable all plugins at once. |
| 40 |
This can be done by passing \f[B]\-\-noplugins\f[R] to \f[B]rpm\f[R](8) |
| 41 |
at the command line. |
| 42 |
.SH SEE ALSO |
| 43 |
\f[B]rpm\f[R](8), \f[B]rpm\-plugin\-audit\f[R](8), |
| 44 |
\f[B]rpm\-plugin\-ima\f[R](8), \f[B]rpm\-plugin\-prioreset\f[R](8), |
| 45 |
\f[B]rpm\-plugin\-selinux\f[R](8), \f[B]rpm\-plugin\-syslog\f[R](8), |
| 46 |
\f[B]rpm\-plugin\-systemd\-inhibit\f[R](8) |