Your message dated Mon, 28 Aug 2023 07:18:53 +0000
with message-id <e1qawwt-005nom...@fasolo.debian.org>
and subject line Bug#1037213: fixed in awstats 7.9-1
has caused the Debian Bug report #1037213,
regarding awstats: prompting due to modified conffiles which were not modified 
by the user: /etc/logrotate.d/httpd-prerotate/awstats
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 ow...@bugs.debian.org
immediately.)


-- 
1037213: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1037213
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: awstats
Version: 7.8-3
Severity: serious
User: debian...@lists.debian.org
Usertags: piuparts

Hi,

during a test with piuparts I noticed your package failed the piuparts
upgrade test because dpkg detected a conffile as being modified and then
prompted the user for an action. As there is no user input, this fails.
But this is not the real problem, the real problem is that this prompt
shows up in the first place, as there was nobody modifying this conffile
at all, the package has just been installed and upgraded...

This is a violation of policy 10.7.3, see
https://www.debian.org/doc/debian-policy/ch-files.html#behavior,
which says "[These scripts handling conffiles] must not ask unnecessary
questions (particularly during upgrades), and must otherwise be good
citizens."

https://wiki.debian.org/DpkgConffileHandling should help with figuring
out how to do this properly.

In https://lists.debian.org/debian-devel/2009/08/msg00675.html and
followups it has been agreed that these bugs are to be filed with
severity serious.

>From the attached log (scroll to the bottom...):

  Setting up awstats (7.8-3) ...
  
  Configuration file '/etc/logrotate.d/httpd-prerotate/awstats'
   ==> Deleted (by you or by a script) since installation.
   ==> Package distributor has shipped an updated version.
     What would you like to do about it ?  Your options are:
      Y or I  : install the package maintainer's version
      N or O  : keep your currently-installed version
        D     : show the differences between the versions
        Z     : start a shell to examine the situation
   The default action is to keep your current version.
  *** awstats (Y/I/N/O/D/Z) [default=N] ? dpkg: error processing package 
awstats (--configure):
   end of file on stdin at conffile prompt

This was observed on the upgrade path
  buster -> bullseye -> bookworm
It does not show up on either buster -> bullseye or bullseye ->
bookworm.


There is something fancy happening here: a directory containing a
conffile is to be replaced by a conffile.



cheers,

Andreas

Attachment: awstats_7.8-3.log.gz
Description: application/gzip


--- End Message ---
--- Begin Message ---
Source: awstats
Source-Version: 7.9-1
Done: Christian Marillat <maril...@debian.org>

We believe that the bug you reported is fixed in the latest version of
awstats, 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 1037...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Christian Marillat <maril...@debian.org> (supplier of updated awstats 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 ftpmas...@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Format: 1.8
Date: Mon, 28 Aug 2023 09:03:39 +0200
Source: awstats
Architecture: source
Version: 7.9-1
Distribution: unstable
Urgency: medium
Maintainer: Christian Marillat <maril...@debian.org>
Changed-By: Christian Marillat <maril...@debian.org>
Closes: 755797 1037213
Changes:
 awstats (7.9-1) unstable; urgency=medium
 .
   * New maintainer (Closes: #755797)
   * New upstream release.
   * Remove patches (fixed upstream) fix-cross-site-scripting.patch and
     0013-Only-look-for-configuration-in-dedicated-awstats-dir.patch
   * Bug #1037213 has been fixed in 7.8-4 Closes: #1037213)
Checksums-Sha1:
 83e77ef1fb638cf20ee014a78f9576c407555c6d 1728 awstats_7.9-1.dsc
 fb7cce4acee682a568b455ab2dee8455f2ffd3d7 2948602 awstats_7.9.orig.tar.gz
 307978f3b78a2d1c77ef0126f266ab92c1b95acb 37216 awstats_7.9-1.debian.tar.xz
 e07b4ed05b5af660efe9a5361fdaff7c5e68fc36 10417 awstats_7.9-1_source.buildinfo
Checksums-Sha256:
 c8f3038d756558776d8214ded01dfa6de80e7e448c95de91eb1f7f5d278a7fd3 1728 
awstats_7.9-1.dsc
 615178ed313d34315f15a522db1a5d12ca9c395e3785bb06280abff95d9a0546 2948602 
awstats_7.9.orig.tar.gz
 b84c26d87e50551658f037f8ac54ff59955d730247c40f99af9b7f4d33623906 37216 
awstats_7.9-1.debian.tar.xz
 16411d046dcabbabab92602ba148deafaf1a8f7cb8f97c8dc91bc20cce04f027 10417 
awstats_7.9-1_source.buildinfo
Files:
 7d5417d7cd114fad5e6416302ab9d581 1728 web optional awstats_7.9-1.dsc
 c283e0170700461596f9c9e121ea2896 2948602 web optional awstats_7.9.orig.tar.gz
 ab8ad8514f121eb202824fc87554e64a 37216 web optional awstats_7.9-1.debian.tar.xz
 6e1d60ebee5e410b5f5f88b643c73240 10417 web optional 
awstats_7.9-1_source.buildinfo

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

iQIzBAEBCAAdFiEEpAH/mTaPofmBUt51XICMK2VVgRcFAmTsR2wACgkQXICMK2VV
gRcxrA//VjEldDwtat63+J6h/ryG4kRllE0VDxZ1nTy6w62HsR0L/b2CLJl1Irqa
Eo3ywjZuLTxK/dVcn1YAb93iMEnHtkcd8i4+eQ5L6vP0ZYewZs2ZfgXTPNUkKQk2
E/TQKkRvEqMVAmAAW1ucv42Tljs6zQhg6k9/gnKlyunh93fXhMC5QynDdhskTjLm
TKSss/loMvTgKcWjXQ4nE5OuDJrviCZy3szs/YXrudRwvGKefGwETLHrMGyEeTuZ
yZXsnVLahv3Ag7/SgRLEy0icB5DkhQEZdVOEsvht2kvzaKJt/6DhJRnaAVKRGgOc
lHEgv5Udj1eO8GYUQailgLK/AQr7tIUPiHH0I7tjfqQcd4YJeQAw3limCiXbtl3F
1hwF+nabXhoLMYdl7OGaJprZ74tFM/git9pmgGfolNTsuvaA+fXDvE9+n+s5Rxbi
MrGDN1Iynd1OBIglOLJbbY0q+eG94lVuwNAhaQqPNggKw4B4w2E2ShmWxFQMktCU
+V2scI6/BwNLI10v+p/EAZp3BPdbDUv+PVXDYP3tVdMbcLihsaY5d6h3owyT/UZs
vW9aMWk0kmIiTJLroAoIc3CLjkcz2ricLvnUj1xlRu6eZn9nu0CcV0u65R9+gxpN
ZLisvQnRiC1j4I5APNEz8PLsZtYHVQbMSnX/hWTBzyZ0hi9wV40=
=uMaj
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to