[Pkg-zfsonlinux-devel] Bug#980464: zfs-dracut: dracut+ZFS-on-root systems rendered unbootable

наб nabijaczleweli at nabijaczleweli.xyz
Tue Jan 19 13:32:28 GMT 2021


Package: zfs-dracut
Version: 2.0.1-2
Severity: critical
Tags: patch
Justification: breaks the whole system

Dear Maintainer,

Because you install zgenhostid to sbin, the dracut module was broken,
so during a casual upgrade and rebuild (both on sid, reporting from
different system), on next boot the user is met with
"don't know how to handle root=zfs".

This has happened to a friend of mine's and my machines today,
thankfully we made backups of our ESPs, because our systems would've
run a high chance to become entirely broken, requiring mounting the
rootfses on other machines and regenerating there; this is not feasible
on a sealed system (mine) or one that boots off multiple striped NVMe
drives (his).

PLEASE apply this patch
(clean over b612af3ca30a04c5afbef1fcadeec76a516794ef)
and upload ASAP. I have verified it on my machine.

Best,
наб

-- System Information:
Debian Release: 10.7
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.19.0-13-amd64 (SMP w/24 CPU cores)
Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_WARN, TAINT_FIRMWARE_WORKAROUND, TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8), LANGUAGE=en_GB:en (charmap=UTF-8)
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages zfs-dracut depends on:
ii  dracut                  048+80-2+swapfile
ii  zfs-dkms [zfs-modules]  2.0.1-2~bpo10+1
ii  zfsutils-linux          2.0.1-2~bpo10+1

zfs-dracut recommends no packages.

zfs-dracut suggests no packages.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Check-zgenhostid-in-sbindir-in-dracut-module.patch
Type: text/x-diff
Size: 2910 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/pkg-zfsonlinux-devel/attachments/20210119/cfdcb374/attachment.patch>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/pkg-zfsonlinux-devel/attachments/20210119/cfdcb374/attachment.sig>


More information about the Pkg-zfsonlinux-devel mailing list