---
name: "rpm-plugin-systemd-inhibit"
section: "8"
platform: "linux"
package: "rpm"
version: "4.20.1+dfsg-3"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/rpm-plugin-systemd-inhibit"
---

# rpm-plugin-systemd-inhibit(8)

Plugin for the RPM Package Manager

## NAME

rpm-plugin-systemd-inhibit - Plugin for the RPM Package Manager

## Description

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.

This is achieved by using the inhibit DBUS interface of [**systemd**(1)](/systemd/1.md). The call is roughly equivalent to executing

**systemd-inhibit --mode=block --what=idle:sleep:shutdown** **--who=RPM --why="Transaction running"**

See [**systemd-inhibit**(1)](/systemd-inhibit/1.md) for the details of this mechanism.

It is strongly advised to have the plugin installed on all systemd based systems.

## Prerequisites

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

## Configuration

There are currently no options for this plugin in particular. See [**rpm-plugins**(8)](/rpm-plugins/8.md) on how to control plugins in general.

## SEE ALSO

[**systemd-inhibit**(1)](/systemd-inhibit/1.md), [**rpm**(8)](/rpm/8.md), [**rpm-plugins**(8)](/rpm-plugins/8.md)
