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:

  • systemd has 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