Package: zfsutils-linux
Version: 2.0.3-1~bpo10+1
Severity: minor
Tags: patch

Dear Maintainer,

Please consider the patch below, based on current Salsa HEAD
(8cfc39d59fff85bdbefcee22c728aab83adb19eb).

Best,
наб

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

Kernel: Linux 4.19.0-14-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 zfsutils-linux depends on:
ii  init-system-helpers  1.56+nmu1
ii  libblkid1            2.33.1-0.1
ii  libc6                2.28-10
ii  libnvpair3linux      2.0.3-1~bpo10+1
ii  libuuid1             2.33.1-0.1
ii  libuutil3linux       2.0.3-1~bpo10+1
ii  libzfs4linux         2.0.3-1~bpo10+1
ii  libzpool4linux       2.0.3-1~bpo10+1
ii  python3              3.7.3-1

Versions of packages zfsutils-linux recommends:
ii  lsb-base                10.2019051400
ii  zfs-dkms [zfs-modules]  2.0.3-1~bpo10+1
pn  zfs-zed                 <none>

Versions of packages zfsutils-linux suggests:
ii  nfs-kernel-server           1:1.3.4-2.5+deb10u1
ii  samba-common-bin            2:4.9.5+dfsg-5+deb10u1
pn  zfs-initramfs | zfs-dracut  <none>

-- Configuration Files:
/etc/sudoers.d/zfs [Errno 13] Permission denied: '/etc/sudoers.d/zfs'

-- no debconf information
From 1cdba9cdaa30299cd1517f2cae39597be7c65558 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=D0=BD=D0=B0=D0=B1?= <[email protected]>
Date: Tue, 16 Mar 2021 13:01:22 +0100
Subject: [PATCH] /u/l/z-l/scrub: fix comment implying scrubs always fail on
 HDD-only pools
X-Mutt-PGP: OS

Also a scrub[b]ing typo
---
 debian/tree/zfsutils-linux/usr/lib/zfs-linux/scrub | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/debian/tree/zfsutils-linux/usr/lib/zfs-linux/scrub b/debian/tree/zfsutils-linux/usr/lib/zfs-linux/scrub
index 0fc0d793..7a913ec5 100755
--- a/debian/tree/zfsutils-linux/usr/lib/zfs-linux/scrub
+++ b/debian/tree/zfsutils-linux/usr/lib/zfs-linux/scrub
@@ -7,8 +7,7 @@ while read pool
 do
 	if ! zpool status "$pool" | grep -q "scrub in progress"
 	then
-		# Ignore errors (i.e. HDD pools),
-		# and continue with scrubing other pools.
+		# Ignore errors and continue with scrubbing other pools.
 		zpool scrub "$pool" || true
 	fi
 done
-- 
2.20.1

Attachment: signature.asc
Description: PGP signature

Reply via email to