Your message dated Tue, 05 Jun 2012 21:45:21 +0000
with message-id <e1sc1z3-0007zg...@franck.debian.org>
and subject line Bug#675231: fixed in psad 2.2-2
has caused the Debian Bug report #675231,
regarding psad: prompting due to modified conffiles which were not modified by 
the user
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.)


-- 
675231: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=675231
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: psad
Version: 2.2-1
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
http://www.debian.org/doc/debian-policy/ch-files.html#s10.7.3,
which says "[These scripts handling conffiles] must not ask unnecessary
questions (particularly during upgrades), and must otherwise be good
citizens."

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

In http://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 psad (2.2-1) ...
  Installing new version of config file /etc/init.d/psad ...
  Installing new version of config file /etc/psad/ip_options ...
  
  Configuration file `/etc/psad/psad.conf'
   ==> Modified (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.
  *** psad.conf (Y/I/N/O/D/Z) [default=N] ? dpkg: error processing psad 
(--configure):
   EOF on stdin at conffile prompt
  Errors were encountered while processing:
   psad


cheers,

Andreas

Attachment: psad_2.2-1.log.gz
Description: GNU Zip compressed data


--- End Message ---
--- Begin Message ---
Source: psad
Source-Version: 2.2-2

We believe that the bug you reported is fixed in the latest version of
psad, which is due to be installed in the Debian FTP archive:

psad_2.2-2.debian.tar.gz
  to main/p/psad/psad_2.2-2.debian.tar.gz
psad_2.2-2.dsc
  to main/p/psad/psad_2.2-2.dsc
psad_2.2-2_amd64.deb
  to main/p/psad/psad_2.2-2_amd64.deb



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 675...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Franck Joncourt <fra...@debian.org> (supplier of updated psad 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...@debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.8
Date: Tue, 05 Jun 2012 23:06:42 +0200
Source: psad
Binary: psad
Architecture: source amd64
Version: 2.2-2
Distribution: unstable
Urgency: low
Maintainer: Franck Joncourt <fra...@debian.org>
Changed-By: Franck Joncourt <fra...@debian.org>
Description: 
 psad       - Port Scan Attack Detector
Closes: 675231
Changes: 
 psad (2.2-2) unstable; urgency=low
 .
   * d.psad.preinst: Revert the changes done by the postinst script in the
     preinst script so that dpkg does not see any configuration changes and
     does not trigger the user during upgrade. (Closes: #675231).
Checksums-Sha1: 
 73560660c7a97fee1f89f95638aaaa865a51b2b7 1184 psad_2.2-2.dsc
 7588d29c02b0cfaa79fcffe90b43ddc410915e12 12850 psad_2.2-2.debian.tar.gz
 7bf34888a3cc55863e01cf7301cf7de49c3db6e6 198528 psad_2.2-2_amd64.deb
Checksums-Sha256: 
 0829e4ece289f12a8385ecd69381a3361f0bfbc01a632b2a268809e749882173 1184 
psad_2.2-2.dsc
 e8db639bddc8e9cca040a13775a5c1c81fc249713251be59a20f4ff436284ede 12850 
psad_2.2-2.debian.tar.gz
 ac8c8bbaab4ef40d4a119507efb4d7f00d117ec2db90a79a9e12bb86bbc2b3c9 198528 
psad_2.2-2_amd64.deb
Files: 
 76abcf9fb294d979791d8c60f15b990d 1184 admin optional psad_2.2-2.dsc
 84b6b9ba26b09d61acf0c59cc72388d0 12850 admin optional psad_2.2-2.debian.tar.gz
 26cfd6d33643123ccd1ac0b49cc87758 198528 admin optional psad_2.2-2_amd64.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (GNU/Linux)

iEYEARECAAYFAk/OdwAACgkQxJBTTnXAif5KQwCg10pSe2hIfb2fR4JAfAPPK5pk
UGcAniso6Ds8y18/T2TZrWly2VHfk+sF
=VVLU
-----END PGP SIGNATURE-----



--- End Message ---

Reply via email to