Your message dated Tue, 18 Apr 2023 16:49:14 +0000
with message-id <[email protected]>
and subject line Bug#1030316: fixed in zfs-linux 2.1.9-4
has caused the Debian Bug report #1030316,
regarding zfsutils-linux: trim script exits 1 if last pool not nvme-only
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.)


-- 
1030316: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1030316
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: zfsutils-linux
Version: 2.1.7-1~bpo11+1

When I invoke `sh /usr/lib/zfs-linux/trim`, the script always exits
1 despite operating properly. This is causing me some pain when
trying to automate calling this script with a systemd timer, since
I can't differentiate some other reason of the script exiting 1
from a successful run.

I believe this is caused by the final command of the script being
`zpool list ... | while read -r pool do ...; done`. When the output
of `zpool list` is exhausted, `read` returns an error, and thus the
script exits with that status. I have confirmed this by running the
script with `sh -x` and seeing that the last output line is
`+ read -r pool`.

I'm not sure what the right solution to this would be, but I think
that it should be addressed.

Thank you,
Scott Colby

--- End Message ---
--- Begin Message ---
Source: zfs-linux
Source-Version: 2.1.9-4
Done: Aron Xu <[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.
Aron Xu <[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: SHA256

Format: 1.8
Date: Wed, 19 Apr 2023 00:18:07 +0800
Source: zfs-linux
Architecture: source
Version: 2.1.9-4
Distribution: unstable
Urgency: medium
Maintainer: Debian ZFS on Linux maintainers 
<[email protected]>
Changed-By: Aron Xu <[email protected]>
Closes: 1030316
Changes:
 zfs-linux (2.1.9-4) unstable; urgency=medium
 .
   [ Mo Zhou ]
   * Tentative fix for armel CI due to missing kernel headers.
 .
   [ наб ]
   * /lib/zfs-linux/trim: don't exit 1 if last pool isn't nvme-only (Closes: 
#1030316)
 .
   [ Aron Xu ]
   * cherry pick patches from upstream 2.1.10 stable branch
   * libzpool5linux: update symbols
Checksums-Sha1:
 478bae65bc8136c99c4af5fcad035c7eb8b43df8 3183 zfs-linux_2.1.9-4.dsc
 d32b4e6e88de93952a1c09d3998618407d4e75db 125812 zfs-linux_2.1.9-4.debian.tar.xz
 95baf4cf18cf85988609a6d484dd644ee100257f 8044 
zfs-linux_2.1.9-4_source.buildinfo
Checksums-Sha256:
 936ac8675be03c6afe91f1db38d152e174f4ea5a6dc99c5428e3c7e99682554d 3183 
zfs-linux_2.1.9-4.dsc
 3422ecfafb429b16fd2bc067ea63d517b670880d56812fa0eb0b52b8e5ecd644 125812 
zfs-linux_2.1.9-4.debian.tar.xz
 517d889021284c6027f288dd03fb8808e7f4a6e095aec82c2bba9d34c7dc38cc 8044 
zfs-linux_2.1.9-4_source.buildinfo
Files:
 d3a632b91b0048a1d1bf93e3941366ff 3183 contrib/kernel optional 
zfs-linux_2.1.9-4.dsc
 78eabf5567e227e39e8b3742658cac6a 125812 contrib/kernel optional 
zfs-linux_2.1.9-4.debian.tar.xz
 75087c0ec65987fddba9b6c81fa8e1a5 8044 contrib/kernel optional 
zfs-linux_2.1.9-4_source.buildinfo

-----BEGIN PGP SIGNATURE-----

iQEzBAEBCAAdFiEEhhz+aYQl/Bp4OTA7O1LKKgqv2VQFAmQ+xIQACgkQO1LKKgqv
2VQaWgf/SfwyPNbNypQJ1lipDiHlOB+J6E8Ywawnl0S7Nw2LqbwbzWTlRgHcPzeT
/A+onGEeY7gTMxaOibB72jjWwnSXeKPdVpBnDQyLx31JSmCxc2EQpPAzbZMWC8Be
RznQVHIQMZr1G7oQNDtJpLYpEOLRulYcV6sIYajgqv8Idks6NBXTJXSzJ7QCYIRt
MNpzsIcPGp3moAM5cnW/KWiTD1dZCTznOqWgj/c7/UYelnkIh+HBUxR6Dje//uWT
3Z4HBdtHyXV5112RI5CitWJ9X9O9yrtsy8WPksa0YjE8UzrdBX+m0l52vbV1n07k
KN8TMAklBjYbkSYgLG06yUmtj2ejoQ==
=eK7K
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to