Debian Codegraph @

upstream/debian-unstable/man8/rpm-plugin-systemd-inhibit.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-PLUGIN-SYSTEMD-INHIBIT" "8" "2026-04-10" "RPM 6.0.1"
9 .PP
10 .SH NAME
11 .PP
12 rpm-plugin-systemd-inhibit - Plugin for the RPM Package Manager
13 .PP
14 .SH DESCRIPTION
15 .PP
16 This plugin for RPM prevents the system to enter shutdown, sleep or idle
17 mode while there is a rpm transaction running to prevent system
18 corruption that can occur if the transaction is interrupted by a reboot.\&
19 .PP
20 This is achieved by using the inhibit DBUS interface of \fBsystemd\fR(1).\& The
21 call is roughly equivalent to executing
22 .PP
23 \fBsystemd-inhibit --mode=block --what=idle:sleep:shutdown --who=RPM --why="Transaction running"\fR
24 .PP
25 See \fBsystemd-inhibit\fR(1) for the details of this mechanism.\&
26 .PP
27 It is strongly advised to have the plugin installed on all systemd based
28 systems.\&
29 .PP
30 .SH PREREQUISITES
31 .PP
32 For the plugin to work systemd has to be used as init system and
33 the DBUS system bus must be available.\& If the plugin cannot access the
34 interface it gives a warning but does not stop the transaction.\&
35 .PP
36 .SH CONFIGURATION
37 .PP
38 There are currently no options for this plugin in particular.\& See
39 \fBrpm-plugins\fR(8) on how to control plugins in general.\&
40 .PP
41 .SH SEE ALSO
42 .PP
43 \fBsystemd-inhibit\fR(1), \fBrpm\fR(8), \fBrpm-plugins\fR(8)