BOOTC-ROLLBACK(8)

πŸ’« BOOTC-ROLLBACK β€” bestie edition (section 8, System Manager's Manual) πŸ’«

okay so you found bootc-rollback, and honestly? she's a shapeshifter for your bootloader. let's get into it 🫢


✨ NAME ✨

bootc-rollback β€” change the bootloader entry ordering (yes, that's it, that's the whole personality, and she slays at it)


🌸 SYNOPSIS 🌸

bootc rollback [OPTIONS...]

πŸ’… DESCRIPTION πŸ’…

so what she does is: she changes the bootloader entry ordering. the deployment sitting under the rollback gets queued up for your next boot, and the one you're on right this second becomes the rollback. it's giving musical chairs but make it systemd πŸ”₯

and listen β€” if there's a staged entry (that's an unapplied, queued upgrade, a lil upgrade ghost just vibing in the queue), she discards it. gone. bye. πŸ’€

⚠️ big brain warning: with no extra control logic on top, if there's an active agent out here doing automated upgrades β€” think the default bootc-fetch-apply-updates.timer and its associated .service β€” the change you make here may be reverted. so basically it's recommended to only use this in concert with an agent that's in active control. don't fight the automation, coordinate with it, iykyk 😭

also she logs a systemd journal message with MESSAGE_ID=26f3b1eb24464d12aa5e7b544a6b5468 so that a rollback invocation can be detected. lowkey a little signature tag, iconic of her πŸ’–

πŸŽ€ Note on Rollbacks and the /etc Directory πŸŽ€

bestie this part matters, sit with me for a sec 🌸

when you do a rollback (like with bootc rollback), any changes you made to files in the /etc directory won't carry over to the rolled-back deployment. nope! those /etc files revert to their state from that previous deployment instead. ngl that surprises people every single time πŸ™ˆ

and the why is actually really cute and simple: bootc rollback just reorders the existing deployments. she doesn't create new ones. periodt. the /etc merges happen when new deployments are created β€” different event, different queen πŸ‘‘


⭐ OPTIONS ⭐

  • --apply β€” restart or reboot into the rollback image. she doesn't just queue it, she goes πŸ‘‘
  • --soft-reboot=SOFT_REBOOT β€” configure soft reboot behavior. it's giving "how dramatic should this reboot be"

possible values:

  • required
  • auto

πŸ¦‹ EXAMPLES πŸ¦‹

rollback to the previous deployment β€” the classic, the og:

bootc rollback

rollback and immediately apply the changes β€” no waiting, main character energy:

bootc rollback --apply

rollback with soft reboot if possible β€” polite and efficient, we stan:

bootc rollback --apply --soft-reboot=auto

πŸ“ SEE ALSO πŸ“

bootc(8), bootc-upgrade(8), bootc-switch(8), bootc-status(8) β€” go read the whole friend group, they're all gorgeous ✨


πŸ’œ VERSION πŸ’œ

v1.17.1


and that's a wrap on bootc-rollback(8) from your System Manager's Manual, bestie πŸ’– go forth, roll back responsibly, and remember: reordering is a love language. no cap. βœ¨πŸŽ€πŸ¦‹πŸŒΈ

mwah πŸ’…

πŸ“¦ where this page comes from
  • fedora 43: bootc 1.17.1-1.fc43 Β· Apache-2.0 AND BSD-3-Clause AND MIT AND (Apache-2.0 OR BSL-1.0) AND (Apache-2.0 OR MIT) AND (Apache-2.0 WITH LLVM-exception OR Apache-2.0 OR MIT) AND (Unlicense OR MIT)
  • fedora 44: bootc 1.17.1-1.fc44 Β· Apache-2.0 AND BSD-3-Clause AND MIT AND (Apache-2.0 OR BSL-1.0) AND (Apache-2.0 OR MIT) AND (Apache-2.0 WITH LLVM-exception OR Apache-2.0 OR MIT) AND (Unlicense OR MIT)
  • πŸ’– girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms