From Fedora Project Wiki
(Initial change)
 
m (Moving to F41)
 
(14 intermediate revisions by 4 users not shown)
Line 1: Line 1:
= Enable auto-updates by default in KDE Spin & Kinoite =
= Enable auto-updates by default in Fedora Kinoite =
 
{{Change_Proposal_Banner}}


== Summary ==
== Summary ==


In the KDE Spin and Kinoite, Plasma Discover supports automatically updating the system in a safe fashion, via offline updates for the KDE Spin and via rpm-ostree staged updates for Kinoite. We want users to benefit from bug fixes and updates in general by default thus we want to enable auto-updates by default in those two variants. Users will still have the option of disabling that or tuning the frequency at which updates happen.
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 ==
== Owner ==


* 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:ChangeAcceptedF41]]
<!-- 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/f41/ Fedora Linux 41]
* 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]


== Detailed Description ==
== 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:
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.


* offline updates for dnf based systems to download and prepare updates and then apply them on the next boot
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.
* 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.


Change in progress in PR: https://src.fedoraproject.org/rpms/plasma-discover/pull-request/14
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
* https://bugs.kde.org/show_bug.cgi?id=454422


== Feedback ==
== Feedback ==
Line 54: Line 55:


== Scope ==
== Scope ==
* Proposal owners: Implement and test the change (already in progress in https://src.fedoraproject.org/rpms/plasma-discover/pull-request/14)
* Proposal owners: Implement and test the change (https://pagure.io/workstation-ostree-config/pull-request/393)
* Other developers: N/A
* Other developers: N/A
* Release engineering: N/A
* Release engineering: N/A
Line 64: Line 65:
== Upgrade/compatibility impact ==
== Upgrade/compatibility impact ==


All KDE & Kinoite systems updated to Fedora 39 will have this setting set by default if the options have not been changed manually before.
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 ==
== How To Test ==


Copy the file from https://src.fedoraproject.org/rpms/plasma-discover/pull-request/14 in `/etc/xdg/PlasmaDiscoverUpdates` an 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.


== User Experience ==
== 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.


<!-- If this change proposal is noticeable by users, how will their experiences change as a result?
<!-- If this change proposal is noticeable by users, how will their experiences change as a result?
Line 95: Line 98:
== Documentation ==
== Documentation ==


None yet.
None needed.


== Release Notes ==
== Release Notes ==


To do.
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 16:29, 20 February 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):

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.

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.