Your message dated Thu, 19 May 2016 19:33:45 +0000
with message-id <[email protected]>
and subject line Bug#820087: fixed in chrony 2.3-1
has caused the Debian Bug report #820087,
regarding chrony: prompting due to modified conffiles which were not modified 
by the user: /etc/chrony/chrony.keys
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.)


-- 
820087: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=820087
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: chrony
Version: 2.2.1-1
Severity: serious
User: [email protected]
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#s10.7.3,
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 chrony (2.2.1-1) ...
  
  Configuration file '/etc/chrony/chrony.keys'
   ==> 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.
  *** chrony.keys (Y/I/N/O/D/Z) [default=N] ? dpkg: error processing package 
chrony (--configure):
   end of file on stdin at conffile prompt
  Processing triggers for libc-bin (2.22-5) ...
  Processing triggers for systemd (229-3) ...
  Errors were encountered while processing:
   chrony


This was observed during an upgrade test from jessie to sid.


cheers,

Andreas

Attachment: chrony_2.2.1-1.log.gz
Description: application/gzip


--- End Message ---
--- Begin Message ---
Source: chrony
Source-Version: 2.3-1

We believe that the bug you reported is fixed in the latest version of
chrony, 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.
Vincent Blut <[email protected]> (supplier of updated chrony 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: SHA256

Format: 1.8
Date: Wed, 18 May 2016 23:13:05 +0200
Source: chrony
Binary: chrony
Architecture: source
Version: 2.3-1
Distribution: unstable
Urgency: low
Maintainer: Vincent Blut <[email protected]>
Changed-By: Vincent Blut <[email protected]>
Description:
 chrony     - Versatile implementation of the Network Time Protocol
Closes: 818235 820087
Changes:
 chrony (2.3-1) unstable; urgency=low
 .
   * Import upstream version 2.3:
     - Please see /usr/share/doc/chrony/changelog.gz for the release notes.
     (Closes: #818235)
 .
   * debian/chrony.conf:
     - Drop the “logchange” directive. Upstream has enabled “logchange” by
     default with a threshold of 1 second. We now use that instead of our custom
     threshold of 0,5 second which tended to spam syslog.
     - Remove obsolete comment.
 .
   * debian/chrony.lintian-overrides:
     - Update “chrony.keys” path
 .
   * debian/control:
     - Bump standard-version to 3.9.8 (no changes required).
     - Use HTTPS transport protocol for the homepage URL.
 .
   * debian/copyright:
     - Add some entries about new or untracked files.
 .
   * debian/postinst:
     - Move /usr/share/chrony/chrony.keys template to /etc/chrony using ucf.
     - Avoid displaying needless prompt when upgrading to chrony ≥ 2.2.1-1.
     (Closes: #820087)
 .
   * debian/postrm:
     - Remove chrony.keys on purge.
     - Remove all vestiges of chrony.keys from the state hashfile.
 .
   * debian/rules:
     - Re-enable test suite.
     - Remove dh_installinit override. The init script is LSB-compliant so
     passing the “default” option or the two-digit sequence number is unneeded.
     - Explicitly set the NTP era. With this change, the NTP time will be
     mapped from 1970-01-01T00:00:00Z to 2106-02-07T06:28:16Z. Thanks to this
     fixed value, chrony build should be reproducible.
     - Move the key file template (chrony.keys) in /usr/share/chrony.
     - Force /usr/share/chrony/chrony.keys to use 0640 modes.
Checksums-Sha1:
 fd8bb3bdbb6346ba19514c58c7ee2a82ae4795b7 1761 chrony_2.3-1.dsc
 c5e2aac4e4ad904bf73663ed63964bec91482a8a 355113 chrony_2.3.orig.tar.gz
 f61cfa6511971c78fa94e131a6f3b0546e3e68ae 24604 chrony_2.3-1.debian.tar.xz
Checksums-Sha256:
 2dda0b1cb646cd8e7d7f313020723212b2d18ecebbca29011b8d6e4e0d698cfe 1761 
chrony_2.3-1.dsc
 58bffb523012fb0fa87cc0d94d6e36de9689fe9556519cbd0d1ba254af92ccb2 355113 
chrony_2.3.orig.tar.gz
 c8777f4fb70c4b36a2c86bf449ed13e988bdf7e763bbf3d0ff5bd91cec98e3ea 24604 
chrony_2.3-1.debian.tar.xz
Files:
 dfe6266002cc75342f257a3b3cc79dfb 1761 net optional chrony_2.3-1.dsc
 db6d46afea66f75dcc362f44623c1af4 355113 net optional chrony_2.3.orig.tar.gz
 7052be8b692bf2b893afc86c5917242a 24604 net optional chrony_2.3-1.debian.tar.xz

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1

iQEcBAEBCAAGBQJXPhMPAAoJEJxcmesFvXUKoGoH/igR8E2R3km5pnNEO99Xlqaf
qzCfElhdab+yfapK5l7Ri7vVsuVhdMEszuMfs70mcfRrykKNk26o/dLG8fKk00zQ
+YuYhliaa+J5wIf6IqrcEjrSbTwbb6Y++6h3g4uvPCxbVY9+WF4g9PnM2cEz/t6n
/TyORqsZWjy95rnEThq9DwcGAU31V0yS0fmTOvW79FYdeZiCD6ACesu8Ojkkae1S
p9GvtJ2CMJb22VJUnG494Wrg/W9exFyZ3k+SXw5QOSjW5t91fFGtH0DQcwqJrIWH
6Mnj5BrB53aOFaElIMn13mk9AUA93fAhx5qcllUSN2bzrgrS4xl5kczeUoGVgJE=
=bS61
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to