Bug 2332868

Summary: RFE: Consider packaging an automatic update service for bootloader content
Product: [Fedora] Fedora Reporter: Micah Abbott <miabbott>
Component: rust-bootupdAssignee: Colin Walters <walters>
Status: CLOSED CURRENTRELEASE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: low Docs Contact:
Priority: unspecified    
Version: rawhideCC: coreos-sig, jonathan, pbrobinson, rust-sig, travier, walters
Target Milestone: ---Keywords: RFE
Target Release: ---Flags: fedora-admin-xmlrpc: mirror+
Hardware: Unspecified   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2025-02-14 20:28:14 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Micah Abbott 2024-12-17 16:51:54 UTC
Some Fedora variants have their own version of an automatic service that updates the bootloader via bootupd:

https://pagure.io/workstation-ostree-config/blob/main/f/bootupd.yaml
https://pagure.io/fedora-iot/ostree/blob/main/f/bootupd.yaml

It may be useful to have such a service generically available in the future for any Fedora edition/version that wants to enable automatic bootloader updates.

Perhaps providing a service as a sub-package would provide the flexibility for editions to choose how to opt-in to the idea of automatic bootloader updates.


Reproducible: Always

Comment 1 Colin Walters 2024-12-18 00:04:45 UTC
(This thing where we keep just copy-pasting content from Atomic Desktops into Fedora IoT is *crazy*)

> IIRC, upstream bootupd doesn't want to include a service to automatically update the bootloader content.

At this point I guess we might as well because having a copy-pasted version is strictly worse.

Comment 2 Timothée Ravier 2024-12-18 11:22:03 UTC
Made: https://github.com/coreos/bootupd/pull/803

Comment 3 Peter Robinson 2024-12-18 16:19:34 UTC
(In reply to Colin Walters from comment #1)
> (This thing where we keep just copy-pasting content from Atomic Desktops
> into Fedora IoT is *crazy*)

Well if upstream did the right thing the various editions wouldn't need to.

> > IIRC, upstream bootupd doesn't want to include a service to automatically update the bootloader content.
> 
> At this point I guess we might as well because having a copy-pasted version
> is strictly worse.

Just because it's included upstream doesn't mean it needs to be enabled by default, that is the whole point of the being able to set policies either distro-wide or by edition, it allows each variant to be able to set the default service state for all the various components they care about so we don't need to do crazy to end up with what works for the deliverable :)

Comment 4 Timothée Ravier 2025-02-06 16:40:46 UTC
Will be fixed with https://src.fedoraproject.org/rpms/rust-bootupd/pull-request/16

Comment 5 Timothée Ravier 2025-02-14 20:28:14 UTC
This landed in Rawhide & F42