2
0
mirror of https://github.com/xcat2/confluent.git synced 2026-09-09 22:46:45 +00:00

Give the SUSE 16 initramfs libkmod

udev's kmod builtin dlopens libkmod, and dracut installs it from an
inst_libdir_file line in a module-setup.sh rather than by following
NEEDED. Which module carries that line moved: the dracut on SLE 16
media declares it only in 00systemd, which the diskless module set
never loads, so the image came up with no libkmod, udev autoloaded
nothing, and the guest reached the network scan with only loopback.
Leap's newer dracut also declares it in 95udev-rules, which base
depends on, which is why Leap was unaffected.
This commit is contained in:
Markus Hilger
2026-09-07 13:19:36 +02:00
parent d069328dd2
commit c66d7bcb7e
+4
View File
@@ -12,6 +12,10 @@ dracut_install ssh sshd reboot parted mkfs mkfs.ext4 mkfs.xfs xfs_db mkswap
dracut_install /usr/libexec/ssh/sshd-session /usr/libexec/ssh/sshd-auth
dracut_install efibootmgr uuidgen
dracut_install du df ssh-keygen scp clear dhcpcd
# udev's kmod builtin dlopens this. The dracut on SLE 16 media declares it
# only in 00systemd, which the diskless module set never loads, so without
# this line udev autoloads nothing at all
dracut_install /usr/lib64/libkmod.so.2
dracut_install /lib64/libnss_dns.so.2 # glibc dropped the versioned name
dracut_install /lib64/libnss_compat*
dracut_install /usr/lib64/libnl-3.so.200