Your message dated Fri, 22 Jan 2021 08:22:40 +0000
with message-id <[email protected]>
and subject line Bug#980464: fixed in zfs-linux 2.0.1-3
has caused the Debian Bug report #980464,
regarding zfs-dracut: dracut+ZFS-on-root systems rendered unbootable
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)
--
980464: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=980464
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
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.
From 78ef6ade07bb218edac9ed4abeb54115ec82c197 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=D0=BD=D0=B0=D0=B1?= <[email protected]>
Date: Tue, 19 Jan 2021 14:16:13 +0100
Subject: [PATCH] Check zgenhostid in sbindir in dracut module
X-Mutt-PGP: OS
---
debian/changelog | 7 +++++
.../0014-Check-zgenhostid-in-sbindir.patch | 30 +++++++++++++++++++
debian/patches/series | 1 +
3 files changed, 38 insertions(+)
create mode 100644 debian/patches/0014-Check-zgenhostid-in-sbindir.patch
diff --git a/debian/changelog b/debian/changelog
index 2c60c679..29adc43b 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,10 @@
+zfs-linux (2.0.1-3) UNRELEASED; urgency=medium
+
+ * Check zgenhostid in sbindir in dracut module. This renders systems that
+ rely on zfs-dracut for booting (i.e. use ZFS on root) bootable again.
+
+ -- наб <[email protected]> Tue, 19 Jan 2021 14:16:24 +0100
+
zfs-linux (2.0.1-2) unstable; urgency=medium
* Patch: move manpage arcstat(1) to arcstat(8). (Closes: #980105)
diff --git a/debian/patches/0014-Check-zgenhostid-in-sbindir.patch b/debian/patches/0014-Check-zgenhostid-in-sbindir.patch
new file mode 100644
index 00000000..e7f09f0a
--- /dev/null
+++ b/debian/patches/0014-Check-zgenhostid-in-sbindir.patch
@@ -0,0 +1,30 @@
+From: =?utf-8?b?0L3QsNCx?= <[email protected]>
+Date: Tue, 19 Jan 2021 14:13:44 +0100
+Subject: Check zgenhostid in sbindir
+
+---
+ contrib/dracut/90zfs/module-setup.sh.in | 4 ++--
+ 1 file changed, 2 insertions(+), 2 deletions(-)
+
+diff --git a/contrib/dracut/90zfs/module-setup.sh.in b/contrib/dracut/90zfs/module-setup.sh.in
+index ec5e6e3..da2b097 100755
+--- a/contrib/dracut/90zfs/module-setup.sh.in
++++ b/contrib/dracut/90zfs/module-setup.sh.in
+@@ -5,7 +5,7 @@ check() {
+ [ "${1}" = "-d" ] && return 0
+
+ # Verify the zfs tool chain
+- for tool in "@bindir@/zgenhostid" "@sbindir@/zpool" "@sbindir@/zfs" "@mounthelperdir@/mount.zfs" ; do
++ for tool in "@sbindir@/zgenhostid" "@sbindir@/zpool" "@sbindir@/zfs" "@mounthelperdir@/mount.zfs" ; do
+ test -x "$tool" || return 1
+ done
+ # Verify grep exists
+@@ -38,7 +38,7 @@ install() {
+ inst_rules @udevruledir@/60-zvol.rules
+ dracut_install hostid
+ dracut_install grep
+- dracut_install @bindir@/zgenhostid
++ dracut_install @sbindir@/zgenhostid
+ dracut_install @sbindir@/zfs
+ dracut_install @sbindir@/zpool
+ # Workaround for https://github.com/openzfs/zfs/issues/4749 by
diff --git a/debian/patches/series b/debian/patches/series
index d52b62f3..25681344 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -18,3 +18,4 @@ force-verbose-rules.patch
4620-zfs-vol-wait-fix-locked-encrypted-vols.patch
move-arcstat-1-to-8.patch
0001-zpool-Dryrun-fails-to-list-some-devices.patch
+0014-Check-zgenhostid-in-sbindir.patch
--
2.20.1
signature.asc
Description: PGP signature
--- End Message ---
--- Begin Message ---
Source: zfs-linux
Source-Version: 2.0.1-3
Done: Mo Zhou <[email protected]>
We believe that the bug you reported is fixed in the latest version of
zfs-linux, which is due to be installed in the Debian FTP archive.
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Mo Zhou <[email protected]> (supplier of updated zfs-linux package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512
Format: 1.8
Date: Thu, 21 Jan 2021 17:09:02 +0800
Source: zfs-linux
Architecture: source
Version: 2.0.1-3
Distribution: unstable
Urgency: medium
Maintainer: Debian ZFS on Linux maintainers
<[email protected]>
Changed-By: Mo Zhou <[email protected]>
Closes: 980464
Changes:
zfs-linux (2.0.1-3) unstable; urgency=medium
.
[ Antonio Russo ]
* Install zgenhostid in /sbin (Closes: #980464)
* Three ZTS patches
Checksums-Sha1:
541160392d067b8eac1ee133dbb48d87f9e7d1b3 3563 zfs-linux_2.0.1-3.dsc
89a1001c41e60bdee0442d4a982180eae8b8aa35 91356 zfs-linux_2.0.1-3.debian.tar.xz
07ef3a4132a119d350f27ea7ddb8e6851cb851e2 7033
zfs-linux_2.0.1-3_source.buildinfo
Checksums-Sha256:
8b46f96da841b03cc83cd6a6041f4ea6c54994be45108852724117d8ecbdadf4 3563
zfs-linux_2.0.1-3.dsc
1888d8a281c222b431ab9f9dff4d2616bc93fdbda76743264abc2acb3522c2c7 91356
zfs-linux_2.0.1-3.debian.tar.xz
cc6bab6416a63ffc8ce16742697ef91f09ac3ba3e9ef47f5721da8eb96dc687c 7033
zfs-linux_2.0.1-3_source.buildinfo
Files:
d687005ad05b5209d8f0c2dd5c8515c8 3563 contrib/kernel optional
zfs-linux_2.0.1-3.dsc
a88e81f1f044e32e766f04ef64f06630 91356 contrib/kernel optional
zfs-linux_2.0.1-3.debian.tar.xz
9fa0ba1670dce7ec7300382baaa12f71 7033 contrib/kernel optional
zfs-linux_2.0.1-3_source.buildinfo
-----BEGIN PGP SIGNATURE-----
iQJFBAEBCgAvFiEEY4vHXsHlxYkGfjXeYmRes19oaooFAmAKhDsRHGx1bWluQGRl
Ymlhbi5vcmcACgkQYmRes19oaooLZg//S9uVeJk2Eqp+tNO9cGSGeLXxwPIou3ty
XEb2V19X+RXjni//+nFO5TJKrE6URnk+DA+A2d5EaZ891qb+SepDsQusAIRLvUGp
QFw7fg37IFaYrMlb0g64GQLjrtnrhL1IpikVXVLmzpFLb7Tbz5NHOEyevpT9MCA3
iKqZW1IhGEGqfkQwRGYK5eIyza4DW+xIifNSLZw7/lQwMLaKZSeHj4PtsGrXO3Un
VxmX3YK1OBYbAVF9ubmv3aTdGKtRgv16Wmycy4OMfjm1Xsq+tPdzLCzY+FKM8lwg
mYF2TF+P8Jjym8oRrvCEfPMt+TyJQXBydmAM8dEydyAzJUE4ve2AfJDhrcr6MGp8
8ep2iweYyhMhXjwqI3rLDLJfSY6MNWFo88lIHp1lwCDCPkFXwnbMoRmYmvkNwPLm
jAqhJgvz9G1x00qB89h0OfyBp8hOiYzvNIqNawwMXtzdhIPuXWOl5RYs/qzLoBdM
fm1LE4nIdospLzYZX7rVJ7eEDNkxvl3kY175FvA+EDvKGcQrpjyAxj1nkUH9p0tJ
sOKQGKn7mNBtNFdFEl/R+DsWGooIJ/wfrivGXFnrPS8jcjCAwkDlaBbF1wwNk6O9
F7FYwEZ21jLbMeVSU/KQWuJfkZ+vppfjKd71b5gS2EjtgeLxau5yQY9CeS9zR2F9
4pfUz0Cv3Po=
=JMJ1
-----END PGP SIGNATURE-----
--- End Message ---