Your message dated Sun, 22 Apr 2018 22:49:22 +0000
with message-id <[email protected]>
and subject line Bug#866250: fixed in bcache-tools 1.0.8-3
has caused the Debian Bug report #866250,
regarding bcache-tools: maintainer script(s) not using strict mode
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.)
--
866250: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=866250
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: bcache-tools
Version: 1.0.8-2+b1
Severity: normal
User: [email protected]
Usertags: colis-shparser
Dear maintainer,
at least one of the maintainer scripts (preinst, postinst, prerm,
postrm) of the package bcache-tools does not use strict mode. Policy
section 10.4 says:
"Shell scripts (sh and bash) [..] should almost certainly start with
set -e so that errors are detected."
"Every script should use set -e or check the exit status of every
command."
Please insert a "set -e" at the beginning of your script to enable
strict mode. You should not replace this by a first line "#!/bin/sh
-e" as it is not effective when your script is executed by an
explicit invocation of sh.
Note that this might make your script fail in cases where it did not
fail before. This is the purpose of strict mode - make it fail when
any unexpected error is encountered. You should make sure that you
catch any error (non-zero exit codes of commands) that you decide to
tolerate. Techniques to locally catch an error include using
appropriate options to your command when available, adding a " ||
true" at the end of the command, or selectively switching off strict
mode by "set +e" and switching it back on again later by "set -e".
This bug filing has been discussed and approved in thread [1].
-Ralf.
[1] https://lists.debian.org/debian-devel/2017/06/msg00342.html
--- End Message ---
--- Begin Message ---
Source: bcache-tools
Source-Version: 1.0.8-3
We believe that the bug you reported is fixed in the latest version of
bcache-tools, 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.
Robie Basak <[email protected]> (supplier of updated bcache-tools 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: Tue, 27 Mar 2018 18:56:23 +0100
Source: bcache-tools
Binary: bcache-tools
Architecture: source
Version: 1.0.8-3
Distribution: unstable
Urgency: medium
Maintainer: David Mohr <[email protected]>
Changed-By: Robie Basak <[email protected]>
Description:
bcache-tools - bcache userspace tools
Closes: 866250
Changes:
bcache-tools (1.0.8-3) unstable; urgency=medium
.
* d/bcache-tools.preinst: fail on unexpected error (Closes: #866250).
* Drop buggy and prehistoric upgrade path. This removes the need for
d/bcache-tools.preinst entirely.
* Fix spelling mistake in quilt patch to fix lintian warning.
* Switch from commands in postinst to update-initramfs trigger. This
applies to both initramfs-tools and dracut and removes the need for
d/bcache-tools.postinst entirely.
* Update URLs to use SSL where possible.
* Update Standards-Version to 4.1.3. The only change needed was some
of the moves to SSL URLs as above.
* wrap-and-sort.
* Update debhelper compat level to 11. No changes needed.
* Update dep3 headers following patch resubmission.
Checksums-Sha1:
2cc4d36d28f915c44f9b1e2e61ec46e3430dddc4 1960 bcache-tools_1.0.8-3.dsc
d5533ddd161f34d8d8c0830e33a6fd8abb3b0632 4488
bcache-tools_1.0.8-3.debian.tar.xz
Checksums-Sha256:
f4b6d4153b09deb1fcba3fc35fee54279be32978026a1bce7df58b88895af0b8 1960
bcache-tools_1.0.8-3.dsc
1ca15ed81791ab585e5796fa7d125a5e36c3a55bf162c86478240ceb437ef977 4488
bcache-tools_1.0.8-3.debian.tar.xz
Files:
2419ef68b96d6faf41f7a40986f8a6c8 1960 utils optional bcache-tools_1.0.8-3.dsc
c24ef1290ff0a076e7baaf0e6b10e222 4488 utils optional
bcache-tools_1.0.8-3.debian.tar.xz
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1
iQIcBAEBCgAGBQJa3Q14AAoJEOVkucJ1vdUuK8oP+weCGQLolDD2Qept2MIb+aSf
p8TgGeKzBuI6iPgf03rktvaD4VRuP2W26DKe18n+R/rpi4tHNuXxiq4TD89dminX
Ka5bSjNECxU2CEZIBpnc4SOX7fz/MkXzJ0xVBOe1rOEmgcfUpmBlz1KFnFtKlYCw
sQDAjE03+p9ap9QjUJAaFrieqSJSFNe7JpK3yAd1u6A/TS30+4e7YbQvnm9I+dFO
rNW0HL8DfATKAhqBMekeJ7RuoEDoEXTHeaQBM63LdzF9AX3GkjdJhju6HqzvG7xZ
i9drPv65xgJ7vUwMWqAbyofiJm8aEaP7zHxWaalbtgUWEXLJh6+1oQNRCHjxcEfu
3p+H73nhShz9q2R5Rtb5qbrx+pk9Z9waRvGjzje79lPUyo4vWnq46rmc8SdhCTqK
+IX6dVI0r4Je6rbr/tyQs929F4j1isJku/G37QRWAxH4v7kwlK9V2WBFyjprJKuX
RbTleSJ6/Fk4jownehajtG7J15JoVS15W4mYpOsEEs0YjxX2qn/Q1SBsXd5xIS5U
yx5GI9Z1c94w6BCRV6lx7tgieTOPA7QF5baLSuxRotEkOU2qWfU5WkBbMcDtesvb
PvDRyfgQmxkDHpSh2wWchYQQVlH6kHyfTxZop/0iIxxJzNfrfQCKQAlzLl/LIO81
CDrYfgGX7XByg2QlH/zg
=6nrj
-----END PGP SIGNATURE-----
--- End Message ---