Bug 2332868 - RFE: Consider packaging an automatic update service for bootloader content
Summary: RFE: Consider packaging an automatic update service for bootloader content
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: rust-bootupd
Version: rawhide
Hardware: Unspecified
OS: Linux
unspecified
low
Target Milestone: ---
Assignee: Colin Walters
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2024-12-17 16:51 UTC by Micah Abbott
Modified: 2025-02-14 20:28 UTC (History)
6 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2025-02-14 20:28:14 UTC
Type: ---
Embargoed:
fedora-admin-xmlrpc: mirror+


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github coreos bootupd pull 803 0 None open packaging: Add systemd unit to trigger updates on boot 2024-12-18 11:22:22 UTC
Red Hat Issue Tracker FC-1387 0 None None None 2024-12-17 16:52:21 UTC

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


Note You need to log in before you can comment on or make changes to this bug.