ZYPP-BOOT-PLUGIN(8)

πŸ“¦ version 0.0.11, in opensuse-leap 16.0

πŸ’… ZYPP-BOOT-PLUGIN(8) πŸ’…

okay so bestie, gather round, because today we're talking about zypp-boot-plugin β€” that's the zypp-boot-plugin manual page, section 8, and honestly? it's giving "tiny plugin, huge responsibility." let's get into it 🫢


✨ NAME ✨

zypp-boot-plugin β€” a Libzypp plugin that figures out whether you need a reboot after a package installation/update. yes, that vibe check. πŸ”„


🌸 DESCRIPTION 🌸

so this Zypp plugin gets called after every single package installation/update done by applications which use libzypp. every one. it's out here doing its little job in the background, no cap.

if needed, the plugin creates the file /run/reboot-needed β€” which is basically a sticky note for other applications going "hey bestie, a reboot is needed." πŸ’Œ

there are different boot levels, and they get stored in /run/reboot-needed as a normal ASCII string:

  • reboot β€” hard reboot. the classic. no thoughts, just restart. πŸ’€
  • kexec β€” booting a new kernel without initializing hardware and without using any bootloader like Grub2. lowkey iconic, skips the whole middleman situation. 🧚
  • soft-reboot β€” soft reboot, done by E.G. systemctl soft-reboot. gentle, polite, still a reboot. πŸŽ€

πŸŽ€ FILES πŸŽ€

  • /usr/etc/zypp/zypp-boot-plugin.conf β€” the file which defines package lists for which a reboot is needed after installation/update. > ⚠️ do NOT touch this file, bestie β€” it will be overwritten by a new package installation/update. read-only energy fr fr. 😭
  • /etc/zypp/zypp-boot-plugin.conf β€” despite the file described above, this one can be edited by the admin and will NOT be overwritten while a package installation/update happens. and here's the tea: these file entries have the highest priority and replace ALL entries defined in /usr/etc/zypp/zypp-boot-plugin.conf. all of them. it's the main character of config files, honestly. πŸ‘‘
  • /etc/zypp/zypp-boot-plugin.conf.d/* β€” allows individual entry changes which have been defined in the configuration files described above. have a look to https://opensuse.github.io/libeconf/ for more infmormation. (yes, that's how the original spells it β€” we keep the facts, we keep the spelling πŸ’–)

πŸ¦‹ SEE ALSO πŸ¦‹


🌈 AUTHORS 🌈

Stefan Schubert <schubi@suse.com>. thank you for your service, king πŸ«‘πŸ’œ


okay that's the whole page, you ate that β€” no notes. this was zypp-boot-plugin version 0.0.11, dated 07/11/2024, and you can find it hanging out on the ZYPP-BOOT-PLUGIN(8) page. now go install something and let the plugin do its thing πŸ’…βœ¨