OpenSUSE Leap 15.4 Release Notes: Difference between revisions
Created page |
m →Using Atomic Updates With the System Role Transactional Server: Added space between infoboxes |
||
Line 40: | Line 40: | ||
The system role ''Transactional Server'' needs a disk size of at least 12 GB to accommodate Btrfs snapshots. | The system role ''Transactional Server'' needs a disk size of at least 12 GB to accommodate Btrfs snapshots. | ||
</div> | </div> | ||
<br> | |||
<div style="background:#FDDFA6;border:1px solid #BB7B03;padding-left:5px;padding-right:5px;padding-bottom:5px;padding-top:5px;"> | <div style="background:#FDDFA6;border:1px solid #BB7B03;padding-left:5px;padding-right:5px;padding-bottom:5px;padding-top:5px;"> | ||
'''Important: YaST Does Not Work Transactional Mode''' | '''Important: YaST Does Not Work Transactional Mode''' |
Revision as of 20:46, 13 July 2022
openSUSE Leap is a free and Linux-based operating system for your PC, Laptop or Server. You can surf the Web, manage your e-mails and photos, do office work, play videos or music and have a lot of fun!
Publication Date: 2022-05-11, Version: 15.4.20220511.17f1214
This is the initial version of the release notes for the forthcoming openSUSE 15.4.
If you upgrade from an older version to this openSUSE Leap release, see previous release notes listed here: https://en.opensuse.org/openSUSE:Release_Notes.
Information about the project is available at https://www.opensuse.org.
To report bugs against this release, use the openSUSE Bugzilla. For more information, see https://en.opensuse.org/Submitting_Bug_Reports. If you would like to see anything added to the release notes, file a bug report against the component "Release Notes".
Installation
This section contains installation-related notes. For detailed upgrade instructions, see the documentation at https://doc.opensuse.org/documentation/leap/startup/html/book.opensuse.startup/part-basics.html.
Using Atomic Updates With the System Role Transactional Server
The installer supports the system role Transactional Server. This system role features an update system that applies updates atomically (as a single operation) and makes them easy to revert should that become necessary. These features are based on the package management tools that all other SUSE and openSUSE distributions also rely on. This means that the vast majority of RPM packages that work with other system roles of openSUSE Leap 15.4 also work with the system role Transactional Server.
Note: Incompatible packages
Some packages modify the contents of /var
or /srv
in their RPM %post
scripts. These packages are incompatible. If you find such a package, file a bug report.
To provide these features, this update system relies on:
- Btrfs snapshots. Before a system update is started, a new Btrfs snapshot of the root file system is created. Then, all the changes from the update are installed into that Btrfs snapshot. To complete the update, you can then restart the system into the new snapshot.
To revert the update, simply boot from the previous snapshot instead.
- A read-only root file system. To avoid issues with and data loss because of updates, the root file system must not be written to otherwise. Therefore, the root file system is mounted read-only during normal operation.
To make this setup work, two additional changes to the file system needed to be made: To allow writing user configuration in /etc
, this directory is automatically configured to use OverlayFS. /var
is now a separate subvolume which can be written to by processes.
Important: Transactional Server Needs At Least 12 GB of Disk Space
The system role Transactional Server needs a disk size of at least 12 GB to accommodate Btrfs snapshots.
Important: YaST Does Not Work Transactional Mode
Currently, YaST does not work with transactional updates. This is because YaST performs things immediately and because it cannot edit a read-only filesystem.
To work with transactional updates, always use the command transactional-update
instead of YaST and Zypper for all software management:
- Update the system:
transactional-update up
- Install a package:
transactional-update pkg in PACKAGE_NAME
- Remove a package:
transactional-update pkg rm PACKAGE_NAME
- To revert the last snapshot, that is the last set of changes to the root file system, make sure your system is booted into the next to last snapshot and run:
transactional-update rollback
Optionally, add a snapshot ID to the end of the command to rollback to a specific ID.
When using this system role, by default, the system will perform a daily update and reboot between 03:30 am and 05:00 am. Both of these actions are systemd-based and if necessary can be disabled using systemctl
:
systemctl disable --now transactional-update.timer rebootmgr.service
For more information about transactional updates, see the openSUSE Kubic blog posts https://kubic.opensuse.org/blog/2018-04-04-transactionalupdates/ and https://kubic.opensuse.org/blog/2018-04-20-transactionalupdates2/.
Installing on Hard Disks With Less Than 12 GB of Capacity
The installer will only propose a partitioning scheme if the available hard disk size is larger than 12 GB. If you want to set up, for example, very small virtual machines images, use the guided partitioner to tune partitioning parameters manually.
UEFI - Unified Extensible Firmware Interface
Prior to installing openSUSE on a system that boots using UEFI (Unified Extensible Firmware Interface), you are urgently advised to check for any firmware updates the hardware vendor recommends and, if available, to install such an update. A pre-installation of Windows 8 or later is a strong indication that your system boots using UEFI.
Background: Some UEFI firmware has bugs that cause it to break if too much data gets written to the UEFI storage area. However, there is no clear data of how much is "too much".
openSUSE minimizes the risk by not writing more than the bare minimum required to boot the OS. The minimum means telling the UEFI firmware about the location of the openSUSE boot loader. Upstream Linux kernel features that use the UEFI storage area for storing boot and crash information (pstore
) have been disabled by default. Nevertheless, it is recommended to install any firmware updates the hardware vendor recommends.
UEFI, GPT and MS-DOS Partitions
Together with the EFI/UEFI specification, a new style of partitioning arrived: GPT (GUID Partition Table). This new schema uses globally unique identifiers (128-bit values displayed in 32 hexadecimal digits) to identify devices and partition types.
Additionally, the UEFI specification also allows legacy MBR (MS-DOS) partitions. The Linux boot loaders (ELILO or GRUB 2) try to automatically generate a GUID for those legacy partitions, and write them to the firmware. Such a GUID can change frequently, causing a rewrite in the firmware. A rewrite consists of two different operations: Removing the old entry and creating a new entry that replaces the first one.
Modern firmware has a garbage collector that collects deleted entries and frees the memory reserved for old entries. A problem arises when faulty firmware does not collect and free those entries. This can result in a non-bootable system.
To work around this problem, convert the legacy MBR partition to GPT.
System upgrade
This section lists notes related to upgrading the system. For supported scenarios and detailed upgrade instructions, see the documentation at:
- https://doc.opensuse.org/documentation/leap/startup/html/book.opensuse.startup/cha-update-osuse.html
Additionally, check Section 3, "Removed and deprecated packages and features".
Packaging Changes
Deprecated Packages
Deprecated packages are still shipped as part of the distribution but are scheduled to be removed the next version of openSUSE Leap. These packages exist to aid migration, but their use is discouraged and they may not receive updates.
To check whether installed packages are no longer maintained, make sure that lifecycle-data-openSUSE
package is installed, then use the command:
zypper lifecycle
Removed Packages
Removed packages are not shipped as part of the distribution anymore.
python2
: Python 2 reached EOL and will no longer be part of distribution. For more information, see https://code.opensuse.org/leap/features/issue/15.
cloud-init-vmware-guestinfo
:Package does not work withcloud-init
version 21.2 and later versions. Incloud-init
21.4 there is a new data source that replaces it.
digikam
: Digikam is no longer available on ppc64le as libqt5-qtwebkit was dropped. Package will be provided only for x86_64, aarch64, and armv7 architectures.
chessx
: Removed because of a startup issue and problems with upstream. For more information, see https://bugzilla.opensuse.org/show_bug.cgi?id=1192907.
gap
: Removed because the package is not FHS-compliant. For more information, see https://code.opensuse.org/leap/features/issue/24.
tensorflow
: Removed because the package Tensorflow 1.x is deprecated, package tensorflow2 should be used instead.
Drivers and Hardware
Secure Boot: Third-Party Drivers Need to Be Properly Signed
openSUSE Leap 15.2, kernel module signature check for third-party drivers (CONFIG_MODULE_SIG=y
) is now enabled. This is an important security measure to avoid untrusted code running in the kernel.
This may prevent third-party kernel modules from being loaded if UEFI Secure Boot is enabled. Kernel Module Packages (KMPs) from the official openSUSE repositories are not affected, because the modules they contain are signed with the openSUSE key. The signature check has the following behaviour:
- Kernel modules that are unsigned or signed with a key that is either known as untrusted or cannot be verified against the system's trusted key data base will be blocked.
It is possible to generate a custom certificate, enroll it into the system's Machine Owner Key (MOK) data base, and sign locally compiled kernel modules with this certificate's key. Modules signed in this manner will neither be blocked nor cause warnings. See https://en.opensuse.org/openSUSE:UEFI.
Since this also affects NVIDIA graphics drivers, we addressed this in our official packages for openSUSE. However, you need to manually enroll a new MOK key after installation to make the new packages work. For instructions how to install the drivers and enroll the MOK key, see https://en.opensuse.org/SDB:NVIDIA_drivers#Secureboot.
Desktop
This section lists desktop issues and changes in openSUSE Leap 15.4.
KDE 4 and Qt4 have been removed
KDE 4 packages will not be part of openSUSE Leap 15.4. Please update your system to Plasma 5 and Qt 5. Some Qt 4 packages may still remain for compatibility reasons. https://bugzilla.opensuse.org/show_bug.cgi?id=1179613.
More information and feedback
- Read the
README
documents on the medium.
- View a detailed changelog information about a particular package from its RPM:
rpm --changelog -qp FILENAME.rpm
- Replace
FILENAME
with the name of the RPM.
- Check the
ChangeLog
file in the top level of the medium for a chronological log of all changes made to the updated packages.
- Find more information in the
docu
directory on the medium.
- For additional or updated documentation, see https://doc.opensuse.org/.
- For the latest product news, from openSUSE, visit https://www.opensuse.org.
Copyright © 2022 SUSE LLC