From Fedora Project Wiki
(Initial change)
 
mNo edit summary
Line 1: Line 1:
= Enable auto-updates by default in KDE Spin & Kinoite =
= Enable auto-updates by default in Fedora Kinoite =


{{Change_Proposal_Banner}}
{{Change_Proposal_Banner}}
Line 5: Line 5:
== 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 ==
Line 36: Line 36:
== 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
* 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.
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.


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


== Feedback ==
== Feedback ==
Line 54: Line 51:


== 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 61:
== 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 94:
== Documentation ==
== Documentation ==


None yet.
None needed.


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


To do.
Update on Fedora Kinoite are now automatically downloaded and applied.
<!-- 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.  

Revision as of 16:56, 26 June 2023

Enable auto-updates by default in Fedora Kinoite

Important.png
This is a proposed Change for Fedora Linux.
This document represents a proposed Change. As part of the Changes process, proposals are publicly announced in order to receive community feedback. This proposal will only be implemented if approved by the Fedora Engineering Steering Committee.

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

Email: <siosm@fedoraproject.org>, <ngompa@fedoraproject.org>

Current status

  • Targeted release: Fedora Linux 39
  • Last updated: 2023-06-26
  • FESCo issue: <will be assigned by the Wrangler>
  • Tracker bug: <will be assigned by the Wrangler>
  • Release notes tracker: <will be assigned by the Wrangler>

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.

Pull request for the change: https://pagure.io/workstation-ostree-config/pull-request/393

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 automatically downloaded and applied.