.\" Automatically generated by Pandoc 3.1.3 .\" .\" Define V font for inline verbatim, using C font in formats .\" that render this, and otherwise B font. .ie "\f[CB]x\f[]"x" \{\ . ftr V B . ftr VI BI . ftr VB B . ftr VBI BI .\} .el \{\ . ftr V CR . ftr VI CI . ftr VB CB . ftr VBI CBI .\} .TH "RPM-SYSTEMD-INHIBIT" "8" "14 Apr 2016" "" "" .hy .SH NAME .PP rpm-plugin-systemd-inhibit - Plugin for the RPM Package Manager .SH Description .PP This plugin for RPM prevents the system to enter shutdown, sleep or idle mode while there is a rpm transaction running to prevent system corruption that can occur if the transaction is interrupted by a reboot. .PP This is achieved by using the inhibit DBUS interface of systemd. The call is roughly equivalent to executing .PP \f[B]systemd-inhibit --mode=block --what=idle:sleep:shutdown --who=RPM --why=\[dq]Transaction running\[dq]\f[R] .PP See \f[B]systemd-inhibit\f[R](1) for the details of this mechanism. .PP It is strongly advised to have the plugin installed on all systemd based systems. .SH Prerequisites .PP For the plugin to work systemd has to be used as init system and though the DBUS system bus must be available. If the plugin cannot access the interface it gives a warning but does not stop the transaction. .SH Configuration .PP There are currently no options for this plugin in particular. See \f[B]rpm-plugins\f[R](8) on how to control plugins in general. .SH SEE ALSO .PP \f[B]systemd-inhibit\f[R](1), \f[B]rpm\f[R](8), \f[B]rpm-plugins\f[R](8)