-
Notifications
You must be signed in to change notification settings - Fork 85
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
systemd: New bootc-fetch-apply-updates.{timer,service} #179
Conversation
1284cba
to
c035eff
Compare
OK per #179 (comment) let's think about this one a bit more. We should perhaps also have While this project is still classified as "interfaces subject to change", these particular units will be a really important "UX touchpoint" and it'd be good to get them as close to right as we think early on. This whole thread really intersects with #2 which is a tension I've felt since the start. |
I wonder when such a unit would be useful? Splitting fetching updates from applying them seems special. If there's a use case to check for an update prior to executing it, callers could do an PR as is LGTM |
With finalization locking, you can do all the steps ahead of time (fetch and deploy) and minimize down time to just updating the bootloader and restarting. |
Right, for locking let's reference ostreedev/ostree#3025 |
Actually one thing I'm really strongly opinionated on is that we should default to respecting systemd blocking inhibitors; see coreos/rpm-ostree#2862 It allows the use case of I am also thinking here that alongside it'd make sense to add an explicit For example, zincati today has code to invoke the classic notify via tty code. It's not clear to me that we should duplicate that in bootc, but we could easily support it externally via code that adds a systemd-drop-in that adds |
OK, did ostreedev/ostree#3090 |
Is this ready to merge? |
Let's ship a baseline systemd unit that can be enabled for automatic updates. Signed-off-by: Colin Walters <[email protected]>
c035eff
to
c13c9eb
Compare
We still don't do this...definitely in the nice to have. |
We're also not using finalization locking here yet. Not fatal, because we're doing an "all-in-one" unit that does everything in one go, so the case of handling out-of-cycle reboots is a bit moot. |
/lgtm |
Let's ship a baseline systemd unit that can be enabled for automatic updates.