Skip to content

Conversation

@cgwalters
Copy link
Collaborator

We debugged ostreedev/ostree#3503 and it's basically a systemd/Anaconda bug. So we can consider soft reboots an available feature from our end (as systemd does), but certainly one that will require integration testing on the OS/distro side.

If you're building a system and you don't want to enable soft reboots, just rm /usr/lib/systemd/system/soft-reboot.target or so should do the trick.

@bootc-bot bootc-bot bot requested a review from jeckersb September 3, 2025 15:22
We debugged ostreedev/ostree#3503 and
it's basically a systemd/Anaconda bug. So we can consider
soft reboots an available feature from our end (as systemd
does), but certainly one that will require integration testing on
the OS/distro side.

If you're building a system and you don't want to enable
soft reboots, just `rm /usr/lib/systemd/system/soft-reboot.target`
or so should do the trick.

Signed-off-by: Colin Walters <[email protected]>
Copy link
Contributor

@gemini-code-assist gemini-code-assist bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request un-hides the --soft-reboot command-line option for upgrade, switch, and rollback commands. The changes are straightforward, but there are a few areas for improvement. I've noted some obsolete comments that should be removed for consistency and suggested expanding the new test to cover all affected commands. Overall, a good change to expose this feature.

Copy link
Contributor

@jmarrero jmarrero left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@cgwalters cgwalters merged commit 6a06085 into bootc-dev:main Sep 3, 2025
28 checks passed
@bshephar
Copy link
Contributor

bshephar commented Sep 6, 2025

This feature is great btw @jmarrero. Really cool:

❯ sudo target/release/bootc upgrade --soft-reboot required --apply

So fast, and I really think this will help me with my bootc sales pitch!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants