Your message dated Wed, 04 Feb 2026 15:26:56 +0000
with message-id <[email protected]>
and subject line Bug#866261: fixed in lpr 1:2008.05.17.4
has caused the Debian Bug report #866261,
regarding lpr: 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.)
--
866261: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=866261
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: lpr
Version: 1:2008.05.17.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 lpr 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: lpr
Source-Version: 1:2008.05.17.4
Done: Michael Tokarev <[email protected]>
We believe that the bug you reported is fixed in the latest version of
lpr, 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.
Michael Tokarev <[email protected]> (supplier of updated lpr 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: Wed, 04 Feb 2026 17:31:49 +0300
Source: lpr
Architecture: source
Version: 1:2008.05.17.4
Distribution: unstable
Urgency: medium
Maintainer: Michael Tokarev <[email protected]>
Changed-By: Michael Tokarev <[email protected]>
Closes: 531133 866261 1039255 1119473 1121611
Changes:
lpr (1:2008.05.17.4) unstable; urgency=medium
.
* d/control: Adopt the package (Closes: #1121611)
* d/control: bump debhelper requirement from 9 to 13
* d/control: drop reference to long-gone suidmanager
* d/control: add ${misc:Depends} to Depends and
${misc:Pre-Depends} to Pre-Depends
* d/rules: convert to dh-sequence
* d/rules: use common build options (with 2 -Wno-error=foo)
(Closes: #1119473)
* d/dirs: stop creating dirs unnecessarily
* d/rules: use chown user:group, not user.group
* d/lpd.init: test for /etc/default/lpd existence before sourcing it
* d/lpd.init: remove path to start-stop-daemon in one place
* d/lpd.init: use `set -e' (Closes: #866261)
* d/preinst: remove stop action, it is done by dh_installinit
* d/printcap: comment-out an example entry, make shipped printcap
a conffile in /etc/printcap instead of example.
This removes d/lpr.postrm, which unmasks d/postrm and makes it work
(Closes: #531133)
* d/postrm: remove /var/spool/lpd/ on purge without questions
* d/cron.weekly: move log rotation to logrotate.d/lpd
* d/postinst: remove
- stop fixing spool files/dirs perms when upgrading from ancient version
- stop creating /var/log/lp-acct & lp-errs files
- stop running update-mime when upgrading from really ancient version
* d/NEWS.Debian: remove, a news item about ancient version
* d/changelog: remove trailing whitespace
* d/lpd.service: provide systemd unit file (Closes: #1039255)
Checksums-Sha1:
7c60359bfc16d50ec61f426def36192b583aead8 1593 lpr_2008.05.17.4.dsc
bedb89eaff28c02c2c43c31552ddeb5c8a6618b7 81804 lpr_2008.05.17.4.tar.xz
82dddebbcd5930bd8a85306bc97e073f30c870d3 6041 lpr_2008.05.17.4_source.buildinfo
Checksums-Sha256:
645f20c570664f3b8ca558de77a6d8578c6e5295923fb28d811f14ca562b53e6 1593
lpr_2008.05.17.4.dsc
2f65cb4097b5386ffbce6051785576b7dfb40ac5951e69ca86ed2ad6b564a608 81804
lpr_2008.05.17.4.tar.xz
9966aa84bbb415123b91aaf60ba47ac2a54286d3fa944e42b65d3d93fd95d8bf 6041
lpr_2008.05.17.4_source.buildinfo
Files:
aca2f454b8179c59bea4a6da72d06e84 1593 net optional lpr_2008.05.17.4.dsc
ef77031b494f566671f149e645e29494 81804 net optional lpr_2008.05.17.4.tar.xz
b1470e13a62f368042b95f58461c8760 6041 net optional
lpr_2008.05.17.4_source.buildinfo
-----BEGIN PGP SIGNATURE-----
wsG7BAEBCgBvBYJpg1lBCRCCqkokOx6UeEcUAAAAAAAeACBzYWx0QG5vdGF0aW9u
cy5zZXF1b2lhLXBncC5vcmfFUPMAJ9OJjwvj/v0hiicTwrX9ZFmaPEtM+gM+MNHW
wBYhBGSqKrUx1WkDNmv++YKqSiQ7HpR4AACCng/+IisMPKaxK1lbib/zrQ91TlGv
2lUn0dcvCInfPl7qsVnPonBrdTO8uKoz9WaD6T/PJnhcla3u/5pohifExsgVzhM/
Puwk9nkvyotUAN6FfEsZNJT+wpvH/VLl0tfUba8Pbniy5bVFnMnN0UzthtlOqdg/
IOJn9j2DScyG2RYnu7KdVt48zQMpqWIIPg27o0WVrwd6pFoo12dRfRTOXR3MCO/o
8bP/vsP6OKaqGCebB7xaaCmXGGJUuzPRiafexPj4AfuS/ojd73ZqcUEMQV1wDyHP
WjuRD7YNCM5xFmAAET+Xl13MhaaV8szFtpU9oraF0j2aqcXSku/HThSUL55gysLZ
QwBqM3VnxN6DxAhnHf4urKg+HHKaBdzt/agLzugOuQanWGH++3SeNOP7YozLDjeq
dQg9S2J+rd5fVOIAL7CK0alF833JeWGX1mriSNZGUSzVbKjOwsp0qIFmeUqIXohZ
dbArokTmwGABaTfuKxEj3rYS+0rvopVkSxhlFLexTrHViUr+ANJQkXCauqfmOpH8
GyjrxonjX1rMg+x5hfBtMiTphItFVR4hoaJEl0Bi9IDLaha5hCd9cy4Dj3KRSMat
tg0s1/Ra8l/GrVEyhBU4p1C0C9FKkBwmkVPgLCqxNcvaf326aszflLrCvuD91aSy
CleM2vpgY8mId66VNFY=
=D6z8
-----END PGP SIGNATURE-----
pgp3ZESOieUaM.pgp
Description: PGP signature
--- End Message ---