Package: initramfs-tools Version: 0.130 Severity: normal Tags: patch Hi, In hook-funtions, dep_add_modules_mount() wants a real mount point while zfs only presents its mount point as a virtual one named by the underlying dataset in /proc/mounts, this makes the function abort claiming unable to detect the root device. Such behavior breaks the installation of kdump-tools with zfs as rootfs because it explictly generates a new initrd with MODULES=dep. Attached patch makes dep_add_modules_mount() return upon detecting a zfs rootfs. Because users who run zfs as rootfs are required to install zfs-initramfs package, where a lot more details are handled, there is no potential breakage for not handling zfs related kernel modules here. If someday we have built-in support of zfs in initramfs-tools package, this peice of code should be revisted, though. Regards, Aron
Attachment:
0001-hook-funtions-return-from-dep_add_modules_mount-for-.patch
Description: Binary data