Your message dated Sat, 10 Apr 2021 21:18:43 +0000 with message-id <e1lvl07-0005v3...@fasolo.debian.org> and subject line Bug#984614: fixed in snort 2.9.15.1-5 has caused the Debian Bug report #984614, regarding snort-common: prompting due to modified conffiles which were not modified by the user: /etc/cron.daily/snort-common 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.) -- 984614: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=984614 Debian Bug Tracking System Contact ow...@bugs.debian.org with problems
--- Begin Message ---Package: snort-common Version: 2.9.15.1-4 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. This was observed during a buster -> bullseye upgrade. >From the attached log (scroll to the bottom...): Setting up snort-common (2.9.15.1-4) ... Configuration file '/etc/cron.daily/snort-common' ==> File on system created by you or by a script. ==> File also in package provided by package maintainer. 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. *** snort-common (Y/I/N/O/D/Z) [default=N] ? dpkg: error processing package snort-common (--configure): end of file on stdin at conffile prompt Processing triggers for libc-bin (2.31-9) ... Errors were encountered while processing: snort-common cheers, Andreas
snort-common_2.9.15.1-4.log.gz
Description: application/gzip
--- End Message ---
--- Begin Message ---Source: snort Source-Version: 2.9.15.1-5 Done: Javier Fernández-Sanguino Peña <j...@debian.org> We believe that the bug you reported is fixed in the latest version of snort, 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 984...@bugs.debian.org, and the maintainer will reopen the bug report if appropriate. Debian distribution maintenance software pp. Javier Fernández-Sanguino Peña <j...@debian.org> (supplier of updated snort 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: Sat, 10 Apr 2021 22:55:04 +0200 Source: snort Architecture: source Version: 2.9.15.1-5 Distribution: unstable Urgency: medium Maintainer: Javier Fernández-Sanguino Peña <j...@debian.org> Changed-By: Javier Fernández-Sanguino Peña <j...@debian.org> Closes: 633066 984614 Changes: snort (2.9.15.1-5) unstable; urgency=medium . * debian/snort-common.{preinst,postinst,postrm}: - Handle using dpkg-maintscript-helper mv_conffile the relocation of the cronjob /etc/cron.daily/5snort to /etc/cron.daily/snort-common instead of moving it manually to prevent dpkg from prompting the user upon upgrades from older snort version. Thank you Chris Hofstaedtler for the tip (Closes: #984614) * debian/control: Add Pre-Depends: dpkg (>= 1.17.14) as we are now using dpkg-maintscript-helper * debian/snort-common.{postrm,preinst}, debian/snort.{postinst,postrm,preinst,prerm}: Add DEBIAN_SCRIPT_DEBUG to all maintainer scripts * debian/snort.logrotate: Correct name of the alert files (snort.alert and not 'alert') this error prevented files from being properly logrotated * configure.in: Added patch to check if rpc/rpc.h is required and is provided by libtirpc-dev to warn Ubuntu users that libtirpc-dev is required. Note: not added libtirpc-dev to Build-Depends as Debian's glibc6-dev includes the RPC headers (LP: #1906572) * debian/patches/decoding_do_not_assume_ipv4: Add patch provided by Hugh Davenport to not assume that all raw packets are IPv4 packets. (Closes: 633066) Checksums-Sha1: 22d96323622c18766cc69f66ebeb0d8eac76daaa 2443 snort_2.9.15.1-5.dsc dd3b1061ee77e78266a107a3fd124996ddcfd71b 756048 snort_2.9.15.1-5.debian.tar.xz 94bd6398ad08f9c9c3092dde5656ab79cd42fc62 12555 snort_2.9.15.1-5_i386.buildinfo Checksums-Sha256: 59345f3ef3746ed40850d255dbc66970b3117ba1d2f71091741088068657781f 2443 snort_2.9.15.1-5.dsc b7228dcd7ff458eb9b52c208257fb21bd0cb4ccc1c2d47252cbede59a153fbc8 756048 snort_2.9.15.1-5.debian.tar.xz 120589109d94ffbca651d9d71367c788e3a82a0ff95110992b333e57dfe53a2d 12555 snort_2.9.15.1-5_i386.buildinfo Files: 74771d807657a3f3625f7d5492991baa 2443 net optional snort_2.9.15.1-5.dsc 1617fa744e7686651e1377fa09f292ae 756048 net optional snort_2.9.15.1-5.debian.tar.xz db1b581735cee8ef9ba43180e439504b 12555 net optional snort_2.9.15.1-5_i386.buildinfo -----BEGIN PGP SIGNATURE----- iQIzBAEBCAAdFiEEFQ8Kq6ttIR3DT+AOix9vSKslf5gFAmByEXIACgkQix9vSKsl f5h8Yw/9FGj1URmBb2V/qa+3vMniRLDtkTkDp0ORVAZhRc95gMA/uwVsLWflfCYe qn6DF+Mu/NkNphAJbnJ3zEZcQAaq9yMvHkJ4vMZCeIZjq9ySvt3j7mv73I70WwdP kOZQ0vy3pffTrusGqYKj0cVNOc2w0CTME7j7K8LSrAXuFMmmjy8Dl3FB2eXxc9A7 l/nPPkeZRlOtHHupTF9osETelBxptRhDzlEbxODJ3K1s0tNqzVx+xUKNdyjgRrmU lXkQhzWSuMo6pbBZLvkAykkE4rMoGHpnONJNCqCvDOCvEFvBOO3jDwB6Ww5Uc7eG YfB7NrgmbYiu4kMQiWS6tY1f2rLQKH4WA+HGwflFItCJaPsLDz65dtT9wjALqUpJ cI0jfSyNEMn5yc2OaGyIDNhyswuIRUOv5ouMkoJtcE4dAVM1XyhdLM4p4EeLvkUf dL1Sqi7ZUXZyuAg8hSiAkaNC4ItGB3jrmJp9w1wFlEH030eWFIFQpzOdjkUScKDl O5Kr0/iKIV9UsqXK7ZNQziQHlmc3A07J3sW4vaaBVOWVDVGJK1VNP7xiYw6sWcJm VBw0CkxfjToeTyk+cgzYPEAnQ49oPvNo7i/wZ7eXuBpxwLkxIIoeW3bbbWXOoqCv Glh6fOiFb9S/g27cwHFcubfnEnichPIfi+ipVYhOvAXcnnCzwLg= =5tBu -----END PGP SIGNATURE-----
--- End Message ---