1RPM-SYSTEMD-INHIBIT(8)      System Manager's Manual     RPM-SYSTEMD-INHIBIT(8)
2
3
4

NAME

6       rpm-plugin-systemd-inhibit - Plugin for the RPM Package Manager
7
8

Description

10       This  plugin  for  RPM  prevents the system to enter shutdown, sleep or
11       idle mode while there is a rpm transaction running  to  prevent  system
12       corruption  that  can  occur  if  the  transaction  is interrupted by a
13       reboot.
14
15       This is achieved by using the inhibit DBUS interface  of  systemd.  The
16       call is roughly equivalent to executing
17
18       systemd-inhibit   --mode=block   --what=idle:sleep:shutdown   --who=RPM
19       --why="Transaction running"
20
21       See systemd-inhibit(1) for the details of this mechanism.
22
23       It is strongly advised to have the  plugin  installed  on  all  systemd
24       based systems.
25
26

Prerequisites

28       For the plugin to work systemd has to be used as init system and though
29       the DBUS system bus must be available. If the plugin cannot access  the
30       interface it gives a warning but does not stop the transaction.
31
32

Configuration

34       The  plugin currently does not have any configuration option other than
35       turning it on and off.  It  can  be  disabled  by  commenting  out  the
36       %__transaction_systemd_inhibit  macro  in  main  macros file (typically
37       located at /usr/lib/rpm/macros) or otherwise change the  value  of  the
38       macro.
39
40       Another  option  is to remove the plugin from the system if it is pack‐
41       aged in its own sub package.
42
43
44
45Red Hat, Inc.                     14 Apr 2016           RPM-SYSTEMD-INHIBIT(8)
Impressum