Your message dated Fri, 20 Dec 2024 09:49:16 +0000
with message-id <[email protected]>
and subject line Bug#866295: fixed in mgetty 1.2.1-2
has caused the Debian Bug report #866295,
regarding mgetty-fax: 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.)
--
866295: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=866295
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: mgetty-fax
Version: 1.1.36-3+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 mgetty-fax 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: mgetty
Source-Version: 1.2.1-2
Done: наб <[email protected]>
We believe that the bug you reported is fixed in the latest version of
mgetty, 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.
наб <[email protected]> (supplier of updated mgetty 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: Mon, 18 Nov 2024 17:52:05 +0100
Source: mgetty
Architecture: source
Version: 1.2.1-2
Distribution: unstable
Urgency: medium
Maintainer: Package Salvaging Team <[email protected]>
Changed-By: наб <[email protected]>
Closes: 647761 866271 866288 866295 1014704 1032714 1039264 1087878 1089388
Changes:
mgetty (1.2.1-2) unstable; urgency=medium
.
[ Andreas Tille ]
* Team upload.
* Maintain package in Package Salvage team
Closes: #1087878
* mgetty-voice: strict mode in postinst
Closes: #866271
* Remove debian/mgetty-docs.preinst
Closes: #866288
* mgetty-fax: strict mode in preinst
Closes: #866295
* Standards-Version: 4.7.0 (routine-update)
* debhelper-compat 13 (routine-update)
* Remove trailing whitespace in debian/changelog (routine-update)
* Remove trailing whitespace in debian/control (routine-update)
* Remove trailing whitespace in debian/rules (routine-update)
* Rules-Requires-Root: no (routine-update)
* Do not chown in upstream Makefile since this is done in postinst
Closes: #1089388
* d/copyright: DEP5 + review
* lintian-overrides: mgetty source: national-encoding
.
[ Gioele Barabucci ]
* d/mgetty*.{pre,post}inst: Remove outdated checks
Closes: #1014704
* d/mgetty-fax.templates: Mark Description as translatable
* d/mgetty-viewfax.postinst: Delete empty maintscript
* d/control: Downgrade logrotate dependency to Recommends (Closes: #647761)
* d/watch: Add watch file (for 1.2 series)
.
[ Remus-Gabriel Chelu ]
* [INTL:ro] Romanian debconf templates translation of mgetty
Closes: #1032714
.
[ наб ]
* debian/mgetty-fax.service: add (Closes: #1039264)
Checksums-Sha1:
c1b368e8ebe0075f12e843e22194ffb1554c271a 2253 mgetty_1.2.1-2.dsc
508a54442837306ce3587d3b99128adc176265c5 58312 mgetty_1.2.1-2.debian.tar.xz
166748aea194835c28f929d6d3f50466921200ca 10308 mgetty_1.2.1-2_amd64.buildinfo
Checksums-Sha256:
e76a04f636299a095d69552e94ba3104ee8bbb11742f69f2019b44655aab3970 2253
mgetty_1.2.1-2.dsc
5b19e952fc986bcaa475a6b8aa2c8dd33192013cb62bd84062a18fc50abadd9f 58312
mgetty_1.2.1-2.debian.tar.xz
e8937383624dc87a521a8e0884000926b88f0d5b9ca770fa1b2fdb4b334a6a36 10308
mgetty_1.2.1-2_amd64.buildinfo
Files:
6f39703a3ad5152b2a97cd09ea1177e6 2253 comm optional mgetty_1.2.1-2.dsc
9493830d9f488893e57ab79dd5f6ae8f 58312 comm optional
mgetty_1.2.1-2.debian.tar.xz
74a4d7b70c161193f8c4929819132145 10308 comm optional
mgetty_1.2.1-2_amd64.buildinfo
-----BEGIN PGP SIGNATURE-----
iQJFBAEBCgAvFiEE8fAHMgoDVUHwpmPKV4oElNHGRtEFAmdYA3cRHHRpbGxlQGRl
Ymlhbi5vcmcACgkQV4oElNHGRtH9LBAAm/3i2beU+3ZN9jKq2U820xyvcquUKose
DNHOsS8NYXHx5sRm8bL88zbRUKxN5Lnf713EY4VcQcCQPnPCfex6vguxZbxnNxJo
dX5gdu1EluBqNRp6JOe2YzpD5jtsaKM7m7mIxdTX4fXaRdIja3TR27D+v9R3+Lbf
CdhUBvpo/pXFi4dzn2EHvKrWs5AHAlWYinO010imCCnCOt9FFhGgPbgLFhaRCDaX
+RZne4VGHHzRVBsIgZFovHWX/hsSoRs2k+tM6bkjuTMaWTI26FRMFotGSWxEmWTs
lthTFQ+gxBIkYg+ztDEtFQZ6THcKZPDDDLyxvuD1vNpsiZnX9MJyNDRxewUHzvMP
LaWvcd7q7G+UmBKZMaY5Eo1z2XNtb2Wqd2ckwdjcMiNzi+xMeOvREei54i7unnF8
Q/ytRS+b31plq+Ktd+L53fZ7KjnqKn49If/U3v5ajDL3c1qcFNO6ZMqozYvtWuXE
o+Yf4eFvWbfS+ktnZKI3bTr4WTrtmVR0dP9iygU7ewhoQkEVFEnmQ40GxuX27BYQ
Op+y3lUDClit1Nzz/oUfuB0j6DjJiUosyhC1sx+ZxfCm2HKhtI5k/usp02HoUeTC
At5qhe9KbrxCuxmaim/mZCwoE/PHuRlb0eKva4G5lYS8YjN0L7AZT/kf4oGsSgrz
vOw2H2qPRgQ=
=eOuJ
-----END PGP SIGNATURE-----
pgpxZodDGdU7r.pgp
Description: PGP signature
--- End Message ---