View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 0000598 | AlmaLinux-10 | General | public | 2025-12-18 14:58 | 2025-12-20 03:52 |
| Reporter | mvogt1 | Assigned To | |||
| Priority | high | Severity | minor | Reproducibility | always |
| Status | new | Resolution | open | ||
| Summary | 0000598: rpm missing in initrd 10.1 | ||||
| Description | When starting an anaconda kickstart install no "rpm" command is in iniitrd : - rpm is missing Why is this of high importance (for me): I use rpm / dnf to install packages before kickstart runs. For example: - support better luks passwords / python3-xkcdpass and clevis-luks, | ||||
| Additional Information | Same kickstart file works with RedHat initrd. In the RedHat initrd rpm is present | ||||
| Tags | No tags attached. | ||||
|
|
I am curious how to do things before kickstart. you said initrd so I think you mean stage1 at installation? lsinitrd initrd-rhel10.img | grep rpm -rwxr-xr-x 1 root root 196320 Aug 18 08:00 usr/lib64/librpmio.so.10.0.2 lrwxrwxrwx 1 root root 18 Aug 18 08:00 usr/lib64/librpmio.so.10 -> librpmio.so.10.0.2 -rwxr-xr-x 1 root root 2661960 Aug 18 08:00 usr/lib64/librpm_sequoia.so.1 -rwxr-xr-x 1 root root 546648 Aug 18 08:00 usr/lib64/librpm.so.10.0.2 lrwxrwxrwx 1 root root 16 Aug 18 08:00 usr/lib64/librpm.so.10 -> librpm.so.10.0.2 -rw-r--r-- 1 root root 4688 Aug 18 08:00 usr/lib/modules/6.12.0-124.8.1.el10_1.x86_64/kernel/drivers/misc/rpmb-core.ko.xz drwxr-xr-x 2 root root 0 Aug 18 08:00 usr/lib/rpm -rw-r--r-- 1 root root 18607 Aug 18 08:00 usr/lib/rpm/rpmrc |
|
|
The difference is in the squashfs and the file install.img from the directory dvd/images: copied from the dvd/images/ (alma/rhel) and renamed: [root ~]# md5sum /var/tmp/install.img.alma10.1 5a41600a2eb8f3f5e6d8e7cbc162261d /var/tmp/install.img.alma10.1 [root ~]# md5sum /var/tmp/install.img.rh10.1 36132e7c14f60dbb3c6917d9c865829d /var/tmp/install.img.rh10.1 [root ~]# mount /var/tmp/install.img.alma10.1 /mnt/ [root ~]# find /mnt/ | grep bin/rpm /mnt/usr/bin/rpm-ostree [root ~]# umount /mnt [root ~]# mount /var/tmp/install.img.rh10.1 /mnt/ [root ~]# find /mnt/ | grep bin/rpm /mnt/usr/bin/rpm /mnt/usr/bin/rpm-ostree /mnt/usr/bin/rpm2archive /mnt/usr/bin/rpm2cpio /mnt/usr/bin/rpmdb /mnt/usr/bin/rpmkeys /mnt/usr/bin/rpmquery /mnt/usr/bin/rpmsort /mnt/usr/bin/rpmverify [root ~]# umount /mnt [root ~]# |
|
|
install.img is stage2 with anaconda. you are correct. I am surprised that AlmaLinux misses many packages. a simple diff can show the result. it looks like the installation image is unfinished, not production quality. I also use rpm command in my kickstart config, but it only import some gpg keys. I think it failed silently and I didn't notice it. I will need to recheck my kickstart. thanks for your information. |