View Issue Details

IDProjectCategoryView StatusLast Update
0000598AlmaLinux-10Generalpublic2025-12-20 03:52
Reportermvogt1 Assigned To 
PriorityhighSeverityminorReproducibilityalways
Status newResolutionopen 
Summary0000598: rpm missing in initrd 10.1
DescriptionWhen 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 InformationSame kickstart file works with RedHat initrd.
In the RedHat initrd rpm is present
TagsNo tags attached.

Activities

tbsky

2025-12-19 01:07

reporter   ~0001202

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

mvogt1

2025-12-19 08:50

reporter   ~0001203

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 ~]#

tbsky

2025-12-20 03:52

reporter   ~0001204

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.

Issue History

Date Modified Username Field Change
2025-12-18 14:58 mvogt1 New Issue
2025-12-19 01:07 tbsky Note Added: 0001202
2025-12-19 08:50 mvogt1 Note Added: 0001203
2025-12-20 03:52 tbsky Note Added: 0001204