From Fedora Project Wiki
mNo edit summary
mNo edit summary
 
(18 intermediate revisions by 4 users not shown)
Line 1: Line 1:
= Enable auto-updates by default in Fedora Kinoite =
= Enable auto-updates by default in Fedora Kinoite =
{{Change_Proposal_Banner}}


== Summary ==
== Summary ==
Line 10: Line 8:


* Name: [[User:Siosm|Timothée Ravier]], [[User:Ngompa|Neal Gompa]]
* Name: [[User:Siosm|Timothée Ravier]], [[User:Ngompa|Neal Gompa]]
Email: <siosm@fedoraproject.org>, <ngompa@fedoraproject.org>
* Email: <siosm@fedoraproject.org>, <ngompa@fedoraproject.org>


== Current status ==
== Current status ==
[[Category:ChangePageIncomplete]]
[[Category:ChangeAcceptedF42]]
<!-- When your change proposal page is completed and ready for review and announcement -->
<!-- When your change proposal page is completed and ready for review and announcement -->
<!-- remove Category:ChangePageIncomplete and change it to Category:ChangeReadyForWrangler -->
<!-- remove Category:ChangePageIncomplete and change it to Category:ChangeReadyForWrangler -->
Line 22: Line 20:
[[Category:SelfContainedChange]]
[[Category:SelfContainedChange]]


* Targeted release: [https://docs.fedoraproject.org/en-US/releases/f39/ Fedora Linux 39]
* Targeted release: [https://docs.fedoraproject.org/en-US/releases/f42/ Fedora Linux 42]
* Last updated: <!-- this is an automatic macro — you don't need to change this line -->  {{REVISIONYEAR}}-{{REVISIONMONTH}}-{{REVISIONDAY2}}  
* Last updated: <!-- this is an automatic macro — you don't need to change this line -->  {{REVISIONYEAR}}-{{REVISIONMONTH}}-{{REVISIONDAY2}}  
<!-- After the change proposal is accepted by FESCo, tracking bug is created in Bugzilla and linked to this page  
<!-- After the change proposal is accepted by FESCo, tracking bug is created in Bugzilla and linked to this page  
Line 30: Line 28:
ON_QA -> change is fully code complete
ON_QA -> change is fully code complete
-->
-->
* FESCo issue: <will be assigned by the Wrangler>
* [https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org/thread/QCRUCIO4MSLSVPY6PFQCX3UT5NF56VCM/ devel thread]
* Tracker bug: <will be assigned by the Wrangler>
* FESCo issue: https://pagure.io/fesco/issue/3042
* Release notes tracker: <will be assigned by the Wrangler>
* Tracker bug: [https://bugzilla.redhat.com/show_bug.cgi?id=2233192 #2233192]
* Release notes tracker: [https://pagure.io/fedora-docs/release-notes/issue/1025 #1025] & [https://gitlab.com/fedora/docs/fedora-linux-documentation/release-notes/-/issues/51 #51]


== Detailed Description ==
== Detailed Description ==
Line 40: Line 39:
The user will only be notified to reboot their system once the updates have been applied and once a given amount of time has passed before the last time an update was applied.
The user will only be notified to reboot their system once the updates have been applied and once a given amount of time has passed before the last time an update was applied.


Pull request for the change: https://pagure.io/workstation-ostree-config/pull-request/393
This should not apply firmware updates automatically as it might not be safe to do so and might require user intervention.
 
Pull request for the change: https://pagure.io/workstation-ostree-config/pull-request/393<BR>
Bugs related to the change (that the change owner will fix):
* [https://bugs.kde.org/show_bug.cgi?id=471548 Auto-Update for flatpaks, via Discover appears to be non-functional]
* [https://bugs.kde.org/show_bug.cgi?id=454422 RFE: Add per-backend update frequency]
 
Tracker in the KDE SIG issue tracker: [https://pagure.io/fedora-kde/SIG/issue/342 #342]


== Feedback ==
== Feedback ==
Line 66: Line 72:


Run `echo -e "[Global]\nUseUnattendedUpdates=true\n" > /etc/xdg/PlasmaDiscoverUpdates` as `root` and reset the Update setting page to the defaults. The system should now download updates automatically and asks for a reboot once a week.
Run `echo -e "[Global]\nUseUnattendedUpdates=true\n" > /etc/xdg/PlasmaDiscoverUpdates` as `root` and reset the Update setting page to the defaults. The system should now download updates automatically and asks for a reboot once a week.
Note that this is currently not functional, likely due to the same issue as https://bugs.kde.org/show_bug.cgi?id=471548.


== User Experience ==
== User Experience ==
Line 98: Line 106:
== Release Notes ==
== Release Notes ==


Update on Fedora Kinoite are now automatically downloaded and applied.
Update on Fedora Kinoite are now downloaded automatically and applied on the next reboot.
<!-- The Fedora Release Notes inform end-users about what is new in the release.  Examples of past release notes are at https://docs.fedoraproject.org/en-US/fedora/latest/release-notes/ -->
<!-- The Fedora Release Notes inform end-users about what is new in the release.  Examples of past release notes are at https://docs.fedoraproject.org/en-US/fedora/latest/release-notes/ -->
<!-- The release notes also help users know how to deal with platform changes such as ABIs/APIs, configuration or data file formats, or upgrade concerns.  If there are any such changes involved in this change, indicate them here.  A link to upstream documentation will often satisfy this need.  This information forms the basis of the release notes edited by the documentation team and shipped with the release.  
<!-- The release notes also help users know how to deal with platform changes such as ABIs/APIs, configuration or data file formats, or upgrade concerns.  If there are any such changes involved in this change, indicate them here.  A link to upstream documentation will often satisfy this need.  This information forms the basis of the release notes edited by the documentation team and shipped with the release.  

Latest revision as of 12:23, 9 September 2024

Enable auto-updates by default in Fedora Kinoite

Summary

On Fedora Kinoite, Plasma Discover supports automatically updating the system in a safe fashion via rpm-ostree staged updates. We want users to benefit from bug fixes and updates in general by default thus we want to enable auto-updates by default. Users will still have the option of disabling that or tuning the frequency at which updates happen.

Owner

Current status

Detailed Description

We will enable a setting named "Unattended Updates" in Plasma Discover that will enable background updates by default in new installations and existing installations. This process uses rpm-ostree staged updates support to download and prepare the new version of the system in the background, which is then used on reboot.

The user will only be notified to reboot their system once the updates have been applied and once a given amount of time has passed before the last time an update was applied.

This should not apply firmware updates automatically as it might not be safe to do so and might require user intervention.

Pull request for the change: https://pagure.io/workstation-ostree-config/pull-request/393
Bugs related to the change (that the change owner will fix):

Tracker in the KDE SIG issue tracker: #342

Feedback

None so far.

Benefit to Fedora

Users benefit from updates quickly and by default. Users don't have to worry about updating their system anymore.

Scope

  • Alignment with Community Initiatives: N/A

Upgrade/compatibility impact

All Kinoite systems updated to Fedora 39 will have this setting set by default if the options have not been changed manually before.

How To Test

Run echo -e "[Global]\nUseUnattendedUpdates=true\n" > /etc/xdg/PlasmaDiscoverUpdates as root and reset the Update setting page to the defaults. The system should now download updates automatically and asks for a reboot once a week.

Note that this is currently not functional, likely due to the same issue as https://bugs.kde.org/show_bug.cgi?id=471548.

User Experience

User will not have to manually check for updates, they will be applied automatically in the background. After a week without a reboot, they will be offered to reboot to apply system updates.


Dependencies

N/A

Contingency Plan

  • Contingency mechanism: Push the change to the next release or undo the change.
  • Contingency deadline: N/A. Any time before we GA
  • Blocks release? No

Documentation

None needed.

Release Notes

Update on Fedora Kinoite are now downloaded automatically and applied on the next reboot.