What were you trying to do that didn't work?
Unlike on RHEL-9, the device /dev/zram0 doesn't exist in the installation environment:
[anaconda root@localhost ~]# swapon -s [anaconda root@localhost ~]# ls /dev/zram* ls: cannot access '/dev/zram*': No such file or directory [anaconda root@localhost ~]#
What is the impact of this issue to you?
No zram device in the installer environment, possibly impacting systems with low memory configuration.
Please provide the package NVR for which the bug is seen:
RHEL-10.2-20250925.1
anaconda-40.22.3.34-1.el10
rust-zram-generator-1.1.2-14.el10
How reproducible is this bug?:
Always
Steps to reproduce
- Boot to the installer environemnt
- # ls /dev/zram*
- # swapon -s
Expected results
/dev/zram0 exists and it's used as a swap space in the installer environment.
Actual results
/dev/zram0 doesn't exist in the installer.
Additional info
The file /usr/lib/systemd/zram-generator.conf doesn't exist in the installation environment, so zram-generator is not activated. This is caused by the following issues:
- /usr/lib/systemd/zram-generator.conf is part of the zram-generator-defaults package (a subpackage of rust-zram-generator), which is not included in RHEL-10 (bug RHEL-117706).
- Even if zram-generator-defaults existed in RHEL-10, it would not be included in the installer because the current anaconda.spec requires only zram-generator:
https://github.com/rhinstaller/anaconda/blob/1ce03e34962938f0186a987c0123c40d1f1cc195/anaconda.spec.in#L252
- is blocked by
-
RHEL-117706 zram-generator-defaults is not present in RHEL-10 BaseOS/AppStream repos
-
- Planning
-