Debian Codegraph @

upstream/debian-unstable/man8/rpm-plugins.8

raw
1 .\" Generated by scdoc 1.11.4
2 .\" Complete documentation for this program is not available as a GNU info page
3 .ie \n(.g .ds Aq \(aq
4 .el .ds Aq '
5 .nh
6 .ad l
7 .\" Begin generated content:
8 .TH "RPM-PLUGINS" "8" "2026-04-10" "RPM 6.0.1"
9 .PP
10 .SH NAME
11 .PP
12 rpm-plugins - Plugins for the RPM Package Manager
13 .PP
14 .SH DESCRIPTION
15 .PP
16 RPM plugins provide functionality that is not suited to be used
17 everywhere.\& They may not be built or shipped on some platforms or may
18 not be installed or be disabled on some systems.\&
19 .PP
20 This allows plugins to interface with systems that may not acceptable as
21 a dependency for RPM and to provide functionality that may be unwanted
22 under some circumstances.\&
23 .PP
24 .SH CONFIGURATION
25 .PP
26 Some plugins can be configured by specific macros or influenced by
27 command line parameters.\& But most can only be turned on or off.\& See the
28 plugin'\&s man page for details.\&
29 .PP
30 Plugins are controlled by a macro \fB%__transaction_NAME\fR which is set
31 to the location of the plugin file.\& Undefining the macro or setting it
32 to \fB%{nil}\fR will prevent the plugin from being run.\&
33 .PP
34 This can be done on the RPM command line e.\&g.\& with
35 \fB--undefine=__transaction_syslog\fR.\& To disable a plugin
36 permanently, place a \fImacros.\&*\fR file in \fI/etc/rpm/\fR that contains
37 .PP
38 .nf
39 .RS 4
40 %__transaction_NAME %{nil}
41 .fi
42 .RE
43 .PP
44 Another option is to remove the plugin from the system if it is packaged
45 in its own sub package.\&
46 .PP
47 For some operations it may be desirable to disable all plugins at once.\&
48 This can be done by passing \fB--noplugins\fR to \fBrpm\fR(8) at the command
49 line.\&
50 .PP
51 .SH SEE ALSO
52 .PP
53 \fBrpm\fR(8), \fBrpm-plugin-audit\fR(8), \fBrpm-plugin-ima\fR(8),
54 \fBrpm-plugin-prioreset\fR(8), \fBrpm-plugin-selinux\fR(8),
55 \fBrpm-plugin-syslog\fR(8), \fBrpm-plugin-systemd-inhibit\fR(8)