While upgrading fedora from 30 to 31, does default settings apply

When I will upgrade my system from 30 to 31, will default settings changes in 31 will be applied or settings of fedora 30 will be kept as it is?
Ex. SSD trim is enabled by default in 31. So after upgrading will it be enabled or kept as disabled.


Usually, changes you make within User’s home don’t change … if your changes happened in ${HOME}/* they will remain. Some things you changed within the root space may reset especially if the associated packages are updated. Changes in /etc/* usually persist. Your desktop background may change if you are using defaults. Generally, Hardware defaults are usually preserved across releases.


To clarify:

  • only files that are owned by rpms will be updated. that’s how you end up with newer versions of software.
  • no files that are marked as configuration files are updated by rpm packages. Instead, newer versions are added as <filename>.rpmnew You must go through these manually and choose if you want to keep your version or the new one. This is documented here:



The default has not changed, so this will remain enabled.

SSD trim will be enabled by default starting in F32, not F31.

Since the default hasn’t changed, you mean it will remain disabled. (until user enables it).

So, if I take your question one release further, after upgrading from F31 to F32, the fstrim timer will be activated (and SSD trim enabled) during upgrade. (EDIT: see here.)
In case you are interested in the technical details, the timer is enabled by the package util-linux, which will be updated during upgrade process


Ah, yes. I think I assumed that the user had enabled it. Need :coffee:

1 Like

TIL rpmconf. I was manually diffing rpmnew files like a caveman.

1 Like