Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.kernel > #64771 > unrolled thread
| Started by | Aron Xu <aron@debian.org> |
|---|---|
| First post | 2019-08-14 10:00 +0200 |
| Last post | 2019-08-14 10:00 +0200 |
| Articles | 1 — 1 participant |
Back to article view | Back to linux.debian.kernel
Bug#934736: initramfs-tools: MODULES=dep fails when rootfs is zfs Aron Xu <aron@debian.org> - 2019-08-14 10:00 +0200
| From | Aron Xu <aron@debian.org> |
|---|---|
| Date | 2019-08-14 10:00 +0200 |
| Subject | Bug#934736: initramfs-tools: MODULES=dep fails when rootfs is zfs |
| Message-ID | <yuWmm-50S-3@gated-at.bofh.it> |
[Multipart message — attachments visible in raw view] — view raw
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
Back to top | Article view | linux.debian.kernel
csiph-web