Your message dated Mon, 11 Nov 2024 00:18:59 +0000
with message-id <[email protected]>
and subject line Bug#866249: fixed in authbind 2.2.0
has caused the Debian Bug report #866249,
regarding authbind: 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.)


-- 
866249: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=866249
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: authbind
Version: 2.1.2
Severity: normal
User: [email protected]
Usertags: colis-shparser

Dear maintainer,

at least one of the maintainer scripts (preinst, postinst, prerm,
postrm) of the package authbind 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: authbind
Source-Version: 2.2.0
Done: Ian Jackson <[email protected]>

We believe that the bug you reported is fixed in the latest version of
authbind, 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.
Ian Jackson <[email protected]> (supplier of updated authbind 
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: Mon, 11 Nov 2024 00:04:16 +0000
Source: authbind
Architecture: source
Version: 2.2.0
Distribution: unstable
Urgency: medium
Maintainer: Ian Jackson <[email protected]>
Changed-By: Ian Jackson <[email protected]>
Closes: 866249 949949 1086628
Changes:
 authbind (2.2.0) unstable; urgency=medium
 .
   Upstream build system:
   * Makefile: Fix missing `install -d` of `$(bin_dir)`.  [Niels Thykier]
   * Makefile: Support `DESTDIR` convention.  [Niels Thykier]
   * Makefile: Fix race creating manpage dirs.
 .
   Debian packaging:
   * Rewrite packaging to use dh sequencer.  Packaging output greatly improved.
     Removes the need for fakeroot.  Closes: #1086628.  [Niels Thykier]
     Probably also fixes #1075720.
   * Description: Mention LD_PRELOAD.  Closes: #949949.
   * d/control: Add `Vcs-*` headers.   [Niels Thykier]
   * Abolish the prerm and postinst (/usr/share transition).  Closes: #866249.
   * Add an autopkgtest.
Checksums-Sha1:
 e23e04c17ee52f0ec576e480d1fd6709c8ba26eb 1384 authbind_2.2.0.dsc
 f2fce157b8a4fddefcf616c845bd9602d183f0a9 15881 authbind_2.2.0.tar.gz
Checksums-Sha256:
 f9a0cecd908bc745e46a47a13ebfef82837a10e34766ee92d860747fab41f1b9 1384 
authbind_2.2.0.dsc
 8d265ee08e66fbda2e6c2b348624cd4552ff2c8fe72247d8904b06500c476adf 15881 
authbind_2.2.0.tar.gz
Files:
 f084eddcaa486eb167b83b6151835fa7 1384 utils optional authbind_2.2.0.dsc
 53a5755597388509a26602b7d2df711d 15881 utils optional authbind_2.2.0.tar.gz

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

iQEzBAEBCAAdFiEEVZrkbC1rbTJl58uh4+M5I0i1DTkFAmcxSjYACgkQ4+M5I0i1
DTnbwAf9E1+DdByiSBFeGUWWQTJOgNGI+3dVaSU9k2hH5vJ924ns0c/0x6T35VIL
OzGeJ1nAi+hqnmXriXloau+TolGYrsd5Qq5/mvtbPzgnpBgKzomEzvbKdxpIhIr1
vocyg4blskhDZ80dpUdKn/GWZG/pcuLbV+jZfGizwjL4UNcyesAHGANUtCn0fRNX
z04YW0zr2DQsuOwol3ijh5R3KUGwW1lxN7ATkhbTyp8QBKSMXojHpR0ZvpE4Ztyb
O0HlJ7N173H8rqpoBhTGBvoEDLwlQoAXVRlKGalst8HDpQhUqCttfCcgZJtYAQJG
6V9ljkUSfxyTs4ONnMtJ3/p/5qEMNg==
=GJPP
-----END PGP SIGNATURE-----

Attachment: pgp8rYNNiDTGg.pgp
Description: PGP signature


--- End Message ---

Reply via email to