Debian Codegraph @

upstream/debian-trixie/man8/rpm-plugin-systemd-inhibit.8

raw
1 .\" Automatically generated by Pandoc 3.1.11.1
2 .\"
3 .TH "RPM\-SYSTEMD\-INHIBIT" "8" "14 Apr 2016" "" ""
4 .SH NAME
5 rpm\-plugin\-systemd\-inhibit \- Plugin for the RPM Package Manager
6 .SH Description
7 This plugin for RPM prevents the system to enter shutdown, sleep or idle
8 mode while there is a rpm transaction running to prevent system
9 corruption that can occur if the transaction is interrupted by a reboot.
10 .PP
11 This is achieved by using the inhibit DBUS interface of
12 \f[B]systemd\f[R](1).
13 The call is roughly equivalent to executing
14 .PP
15 \f[B]systemd\-inhibit \-\-mode=block \-\-what=idle:sleep:shutdown
16 \-\-who=RPM \-\-why=\[dq]Transaction running\[dq]\f[R]
17 .PP
18 See \f[B]systemd\-inhibit\f[R](1) for the details of this mechanism.
19 .PP
20 It is strongly advised to have the plugin installed on all systemd based
21 systems.
22 .SH Prerequisites
23 For the plugin to work systemd has to be used as init system and the
24 DBUS system bus must be available.
25 If the plugin cannot access the interface it gives a warning but does
26 not stop the transaction.
27 .SH Configuration
28 There are currently no options for this plugin in particular.
29 See \f[B]rpm\-plugins\f[R](8) on how to control plugins in general.
30 .SH SEE ALSO
31 \f[B]systemd\-inhibit\f[R](1), \f[B]rpm\f[R](8),
32 \f[B]rpm\-plugins\f[R](8)