Your message dated Sat, 07 Oct 2023 17:49:29 +0000
with message-id <[email protected]>
and subject line Bug#1041332: fixed in mrtg 2.17.10-5+deb12u2
has caused the Debian Bug report #1041332,
regarding mrtg: modifies conffiles (policy 10.7.3): /etc/mrtg/mrtg.cfg
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.)
--
1041332: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1041332
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: mrtg
Version: 2.17.10-5+deb12u1
Severity: serious
User: [email protected]
Usertags: piuparts
Control: block 1040860 with -1
Hi,
during a test with piuparts I noticed your package modifies conffiles.
This is forbidden by the policy, see
https://www.debian.org/doc/debian-policy/ch-files.html#configuration-files
10.7.3: "[...] The easy way to achieve this behavior is to make the
configuration file a conffile. [...] This implies that the default
version will be part of the package distribution, and must not be
modified by the maintainer scripts during installation (or at any
other time)."
Note that once a package ships a modified version of that conffile,
dpkg will prompt the user for an action how to handle the upgrade of
this modified conffile (that was not modified by the user).
Further in 10.7.3: "[...] must not ask unnecessary questions
(particularly during upgrades) [...]"
If a configuration file is customized by a maintainer script after
having asked some debconf questions, it may not be marked as a
conffile. Instead a template could be installed in /usr/share and used
by the postinst script to fill in the custom values and create (or
update) the configuration file (preserving any user modifications!).
This file must be removed during postrm purge.
ucf(1) may help with these tasks.
See also https://wiki.debian.org/DpkgConffileHandling
In https://lists.debian.org/debian-devel/2012/09/msg00412.html and
followups it has been agreed that these bugs are to be filed with
severity serious.
debsums reports modification of the following files,
from the attached log (scroll to the bottom...):
/etc/mrtg/mrtg.cfg
My impression is that the unmodified new conffile (from bookworm) gets
overwritten with the unmodified old conffile (from bullseye), something
that shouldn't happen.
I'd suggest to withdraw the 2.17.10-5+deb12u1 bookworm-pu update and
revisit that for the next point release (there is no time left to fix
this properly before saturday). I have some idea how this could be
solved better, but I need to try that first.
cheers,
Andreas
PS: piuparts runs under DEBIAN_FRONTEND=noninteractive
mrtg_2.17.10-5+deb12u1.log.gz
Description: application/gzip
--- End Message ---
--- Begin Message ---
Source: mrtg
Source-Version: 2.17.10-5+deb12u2
Done: Joao Eriberto Mota Filho <[email protected]>
We believe that the bug you reported is fixed in the latest version of
mrtg, 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.
Joao Eriberto Mota Filho <[email protected]> (supplier of updated mrtg
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, 27 Sep 2023 22:59:14 -0300
Source: mrtg
Architecture: source
Version: 2.17.10-5+deb12u2
Distribution: bookworm
Urgency: medium
Maintainer: Joao Eriberto Mota Filho <[email protected]>
Changed-By: Joao Eriberto Mota Filho <[email protected]>
Closes: 1039103 1041332
Changes:
mrtg (2.17.10-5+deb12u2) bookworm; urgency=medium
.
* Changed a debconf template to honor Debian Policy (10.7.3), not
changing the place a conffile, discarding any user changes.
Thanks to Andreas Beckmann <[email protected]>. Consequently:
- debian/mrtg.config: changed a comment.
- debian/mrtg.postinst: dropped the first conditional block,
related to moving the /etc/mrtg.cfg to /etc/mrtg/.
- debian/mrtg.templates: updated to show a specific message to
users.
- debian/po/: ran debconf-updatepo to update all templates.
- Closes: #1039103, #1041332
* debian/po/:
- mrtg.templates: reviewed all messages. Thanks to Justin B Rye
<[email protected]> for all help in debian-l10n-english
list and to Jonathan Wiltshire <[email protected]> for the suggestion
to ask for help in that list.
- Updated all translations. Thanks to all translators.
Checksums-Sha1:
ce033d4abe7499b0da0e089b3c61e9137ab1db13 1980 mrtg_2.17.10-5+deb12u2.dsc
9dd8653ec059620f19dc54a7ff6c44a9b7b8e9b9 34468
mrtg_2.17.10-5+deb12u2.debian.tar.xz
030122422269fa491514178b786dabcedba2a8a7 7639
mrtg_2.17.10-5+deb12u2_source.buildinfo
Checksums-Sha256:
bae2c5bec259775fd9b89a9d9eda222919d2a350d71c7cbfc2833ff61ae56350 1980
mrtg_2.17.10-5+deb12u2.dsc
95018ba715496192a1395861d758c5d65d74e0b8bf02b3dda003b3cee676b556 34468
mrtg_2.17.10-5+deb12u2.debian.tar.xz
a28ca3da19988eb94ccf9515b3efb2e84cfe29c85f02f106f654cd281591ade4 7639
mrtg_2.17.10-5+deb12u2_source.buildinfo
Files:
f2914ad1de32f24242b72da6bd1b885b 1980 net optional mrtg_2.17.10-5+deb12u2.dsc
f3070a0f01c2cd55526cacbbeb2e966a 34468 net optional
mrtg_2.17.10-5+deb12u2.debian.tar.xz
600cc0e09052dacfc1b2e9477508904e 7639 net optional
mrtg_2.17.10-5+deb12u2_source.buildinfo
-----BEGIN PGP SIGNATURE-----
iQIzBAEBCgAdFiEENX3LDuyVoBrrofDS3mO5xwTr6e8FAmUU4f8ACgkQ3mO5xwTr
6e9mPg//bGFXA1KkbD1AEZHrwY37YqPPRnxKXl6k2Y3Fq0ffYWqGDyhl8hgVEnu5
jiWFdKyYGjtO6yD7M32nqCgyC9RvSh4dNFhW4oyQjfo+wB9gkjGtTfsH7ZDbNI8G
uxjloonyc3GFQX/bkLBt/Eejh8q2gI8TMf2ELIlhmVvK0Acu/F8xs2H7RmZAaDG+
RfWKhyPGaGGnkI6rp49qa5ZnFl+Oqq/fyJxnTnnpYcVwzNE5ENjZLFYf3fvnaCdr
Bp8bX7BX0pmzxoRoPdC/r+Sq1xBgMAmB3d5zf3R/+J8FKFeNcrfX2Mdboyw2rwAW
kSnci/pL/RtxZ0yVZ5IXZue/UvmU+9tT/PUXwdvm4mw5Rzfw/Ef0dFomuLpZD6rd
Fd4PlKQR7W0rRDX782MUpbjhzVhZizIIAR3IdqvTjMAD22vlBWlWjYucpf5zagd7
cz3Pw01Y4n8nSbplDZSGsK0+S8Zytum4U1yMUek8w1D4K1Dm1LtTT/0buiNxJBWE
3rItohS4sIj/o+rpjl/Ps5nbb4+nSa3HrCriqHahe5utjF/9hUA8xmT4MS2IxKqV
uTyrGFzHJQzw25SI04YCyMN8ZhQFlETqQyyhbFxnP6KWPT/8hO+7ikprnIxwr7+q
a8bfEUhe15r9XVgQxaJ1426C1lBGg+WOaw1K+4zder3oiBQtWko=
=gySY
-----END PGP SIGNATURE-----
--- End Message ---