Your message dated Wed, 26 Jul 2017 21:04:03 +0000
with message-id <[email protected]>
and subject line Bug#866265: fixed in bwbar 1.2.3-3
has caused the Debian Bug report #866265,
regarding bwbar: 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.)


-- 
866265: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=866265
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: bwbar
Version: 1.2.3-2.1+b2
Severity: normal
User: [email protected]
Usertags: colis-shparser

Dear maintainer,

at least one of the maintainer scripts (preinst, postinst, prerm,
postrm) of the package bwbar 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: bwbar
Source-Version: 1.2.3-3

We believe that the bug you reported is fixed in the latest version of
bwbar, 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.
Tobias Frost <[email protected]> (supplier of updated bwbar 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, 26 Jul 2017 21:49:52 +0200
Source: bwbar
Binary: bwbar
Architecture: source
Version: 1.2.3-3
Distribution: unstable
Urgency: medium
Maintainer: Debian QA Group <[email protected]>
Changed-By: Tobias Frost <[email protected]>
Description:
 bwbar      - generates text and graphical readout of current bandwidth use
Closes: 866265
Changes:
 bwbar (1.2.3-3) unstable; urgency=medium
 .
   * QA upload.
   * Set maintainer to the QA team
   * Switch to source format 3.0 (quilt)
     - revert all changes outside of debian/*
     - add the changes as patches
     - add d/patches/series
     - refresh patches
   * Overhauling package:
     - Move init.d and defaults file from d/otherfiles
       to d/bwbar.init and d/bwbar.default respectively.
     - source init functions and add dependency on lsb-base
     - Bump compat level to 10. (requires debhelper >10 as B-D, added)
     - Refactor d/rules to use short debhelper format.
     - Clean configure using d/clean
     - Remove cdbs from B-D
     - Remove maintainer scripts, debhelper will automatically add required
       snippets (Closes: #866265)
     - drop d/dirs, dirs are now automatically created.
     - Rewrite d/copyright in machine-readable format.
   * Create packaging repository in collab-maint
   * Bump S-V to 4.0.0 -- no changes required after package overhaul
Checksums-Sha1:
 0023ce7ed71f3fc04beabd00a560661acc908169 1772 bwbar_1.2.3-3.dsc
 887816a9d98f9f208629c5153a9b63609908eb2b 5776 bwbar_1.2.3-3.debian.tar.xz
 ba6f952b18470b982cf843de44b0bb87b058a257 5771 bwbar_1.2.3-3_source.buildinfo
Checksums-Sha256:
 ad13335c5edff0c48f13898a2d38e30794a43d93fec1b89e04a2092cdf0b0e21 1772 
bwbar_1.2.3-3.dsc
 ee8c04fb295391c3786ac6986c45a7915e4f9fa0a4fb3e45a2be486118feb9c6 5776 
bwbar_1.2.3-3.debian.tar.xz
 23d4aae5fcd7633d8f431bea9e5945af582d8eb07d19dcf0f54c3adc7b162f66 5771 
bwbar_1.2.3-3_source.buildinfo
Files:
 6d5fb168a964826f4b801d2102368de2 1772 net optional bwbar_1.2.3-3.dsc
 8fa497e6f6c0ee4ecb3fae27e7e24d81 5776 net optional bwbar_1.2.3-3.debian.tar.xz
 13dc1bcaec08c5b1d3eac86367110093 5771 net optional 
bwbar_1.2.3-3_source.buildinfo

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

iQIzBAEBCAAdFiEE/d0M/zhkJ3YwohhskWT6HRe9XTYFAll49A0ACgkQkWT6HRe9
XTangA/+KMtajJSYbiYx4W7sGOGdbzx8VlvMyRYG+SIVykD/QjUxBhz01hgmsnO7
ELMVld0TOals4EokfiR+CRUoO1p+2otAXD8zUKtpy3F6REbdh+HVBBJlVHqUv/m4
P2QJw6gcLHu7SE/k5bsczhBTuppzFmFuIQ2jXuAwyGbTwpW5Y46K9O/28guMLK17
DhiNFAKvAjCfS3bO1Bdip+FbzKG9aY2+0a36taPhBp8zI2qQ/qQ5sYM1NgjUfTe0
XtVP9jwubRVykwzL/IU42ENeZSd5JxX4Z3iYhXVMxk8UeKo2eCv+1oHsRzoauZ9N
3ym/gjqJGP4CLGVbd4vXexuxWCzpfAmNrRSNHHbANjVgAOXjIchC8Juo8i41i/18
xEsF0KM6rfkwpWB6JBypGOzSyK+Z2uMGynWz5S5N0MGWgD1VrFFVz8CDtv4GdYiA
S7Pb6jcUzqvaLy91pU+SGyW+dFgMlzvrYHLtkou5Urz+jXl0+HPEtZsqQAwi8tqs
PHsM0qqWn2MHyE2I1gJK4DU0g0Lzsgg2w22Bt44I4eAU+1JuMxaBqisTA1B7sK38
r3dqvkipxlsIMU0t7PMaXL5vWtaKW5wiKxB44COtB2Hm02ERW4JeJF6llvarqz4J
AcX8UWB3GvCgIC4M6VXkGVuAcdzo/+RCubs8bl7OY7raFXm4b0w=
=Djm6
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to