Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.kernel > #64771
| From | Aron Xu <aron@debian.org> |
|---|---|
| Newsgroups | linux.debian.bugs.dist, linux.debian.kernel |
| Subject | Bug#934736: initramfs-tools: MODULES=dep fails when rootfs is zfs |
| Date | 2019-08-14 10:00 +0200 |
| Message-ID | <yuWmm-50S-3@gated-at.bofh.it> (permalink) |
| Organization | linux.* mail to news gateway |
Cross-posted to 2 groups.
[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 linux.debian.kernel | Previous | Next | Find similar | Unroll thread
Bug#934736: initramfs-tools: MODULES=dep fails when rootfs is zfs Aron Xu <aron@debian.org> - 2019-08-14 10:00 +0200
csiph-web