RPM-PLUGIN...MD-INHIBIT(8)
π rpm-plugin-systemd-inhibit β the NAME section, bestie
okay so the title is rpm-plugin-systemd-inhibit, it lives in the System Manager's Manual (section 8, obviously), and it's literally described as a Plugin for the RPM Package Manager. that's it. that's the name. short, sweet, iconic. π
β¨ DESCRIPTION β¨
so this plugin for RPM is giving bodyguard energy π«Ά β while there's an rpm transaction running, it stops the system from going into shutdown, sleep, or idle mode. why?? because if a reboot interrupts the transaction mid-way, you get system corruption. and not the cute kind of corruption, the bad kind. π
how does it do it? by using the inhibit DBUS interface of systemd(1). the call it makes is roughly the same as running this:
systemd-inhibit --mode=block --what=idle:sleep:shutdown --who=RPM
--why="Transaction running"
(yeah that's two lines up there, that's just how it's written, keep it moving β¨)
if you want the details of this whole mechanism, go read systemd-inhibit(1). it's all in there. iykyk.
π strongly advised: have this plugin installed on all systemd based systems. like, strongly advised. don't skip it. periodt.
π§ PREREQUISITES π§
for the plugin to actually work, two things have to be true:
systemdhas to be the init system- the DBUS system bus must be available
and if the plugin can't access the interface? it gives a warning but does not stop the transaction. so it's a gentle "bestie i couldn't do it π" rather than a hard fail. no cap.
πΈ CONFIGURATION πΈ
there are currently no options for this plugin in particular. none. zero. nada. π
but if you wanna know how to control plugins in general, go see rpm-plugins(8). that's where the general stuff lives.
π¦ SEE ALSO π¦
okay and for the lil sign-off: this page is from RPM 6.1.0, dated 2026-08-20, and it's the RPM-PLUGIN...MD-INHIBIT(8) page from the System Manager's Manual π go keep your transactions safe, queen πβ¨
π¦ where this page comes from
- ubuntu stonking: rpm 6.1.0-1 Β· GPL-2.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms