Your message dated Tue, 28 Nov 2006 00:32:03 +0000
with message-id <[EMAIL PROTECTED]>
and subject line Bug#397759: fixed in chrony 1.21z-5
has caused the attached Bug report 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 I am
talking about this indicates a serious mail system misconfiguration
somewhere. Please contact me immediately.)
Debian bug tracking system administrator
(administrator, Debian Bugs database)
--- Begin Message ---
Package: chrony
Version: 1.21z-4
Severity: serious
Justification: 6.2
Tags: patch
This code:
if dpkg --compare-versions "$2" lt-nl 1.21-3 ; then
mv /etc/chrony/chrony.keys."$2" /etc/chrony/chrony.keys
mv /etc/chrony/chrony.conf."$2" /etc/chrony/chrony.conf
fi
in the postinst makes the postinst not idempotent, and makes my chrony
fail to configure:
[EMAIL PROTECTED]:~$ sudo dpkg --configure --pending
Setting up chrony (1.21z-4) ...
mv: cannot stat `/etc/chrony/chrony.keys.1.21-2': No such file or directory
dpkg: error processing chrony (--configure):
subprocess post-installation script returned error exit status 1
Errors were encountered while processing:
chrony
I suggest something like:
if dpkg --compare-versions "$2" lt-nl 1.21-3 ; then
if [ -f /etc/chrony/chrony.keys."$2" ]; then
mv /etc/chrony/chrony.keys."$2" /etc/chrony/chrony.keys
fi
if [ -f /etc/chrony/chrony.conf."$2" ]; then
mv /etc/chrony/chrony.conf."$2" /etc/chrony/chrony.conf
fi
fi
-- System Information:
Debian Release: testing/unstable
APT prefers unstable
APT policy: (500, 'unstable')
Architecture: sparc (sparc64)
Shell: /bin/sh linked to /bin/bash
Kernel: Linux 2.6.17-2-sparc64
Locale: LANG=fr_LU.UTF-8, LC_CTYPE=fr_LU.UTF-8 (charmap=UTF-8)
Versions of packages chrony depends on:
ii libc6 2.3.6.ds1-6 GNU C Library: Shared libraries
ii libncurses5 5.5-4 Shared libraries for terminal hand
ii libreadline5 5.1-9 GNU readline and history libraries
ii ucf 2.0015 Update Configuration File: preserv
chrony recommends no packages.
-- no debconf information
--- End Message ---
--- Begin Message ---
Source: chrony
Source-Version: 1.21z-5
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:
chrony_1.21z-5.diff.gz
to pool/main/c/chrony/chrony_1.21z-5.diff.gz
chrony_1.21z-5.dsc
to pool/main/c/chrony/chrony_1.21z-5.dsc
chrony_1.21z-5_i386.deb
to pool/main/c/chrony/chrony_1.21z-5_i386.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 [EMAIL PROTECTED],
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
John Hasler <[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: SHA1
Format: 1.7
Date: Sun, 26 Nov 2006 08:07:20 -0600
Source: chrony
Binary: chrony
Architecture: source i386
Version: 1.21z-5
Distribution: unstable
Urgency: high
Maintainer: John Hasler <[EMAIL PROTECTED]>
Changed-By: John Hasler <[EMAIL PROTECTED]>
Description:
chrony - Sets your computer's clock from time servers on the Net
Closes: 397739 397759
Changes:
chrony (1.21z-5) unstable; urgency=high
.
* Applied postinst patch from Lionel Elie Mamane to test for the
existence of old .keys and .conf files before renaming them.
Closes: #397759: fails to configure: mv: cannot stat
`/etc/chrony/chrony.keys.1.21-2':
No such file or directory
.
* Added burst command to /etc/ppp/ip-up.d/chrony to give chronyd a kick in
the butt.
Shouldn't need that, though.
Initscript now calls /etc/ppp/ip-up.d/chrony if a default route exists.
Closes: #397739: Not connecting to sources after reboot - dialup
Files:
bfca01af851b556e217d19c7bcc33210 726 admin extra chrony_1.21z-5.dsc
5f0fd1eddb9238ee1805856e9c1c1008 153405 admin extra chrony_1.21z-5.diff.gz
c0baa900b9f9bb223dac52186f77af89 327490 admin extra chrony_1.21z-5_i386.deb
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (GNU/Linux)
iQCVAwUBRWpnj/c1CeQKxb5hAQId4wP9HubiJO61dwQFA9k7i3WFHS1MVhwy+d6t
c+2QPK9bQZnLF2PSg1tOHrY1ny9V3kjIb6IF7rnG2SWF50DZCa1MrDm8PE+JruzL
Hdr3XtCm9gzUHoYGrBoewZG9Y3Wh2Edf9AWXOmBVGRodMxnJTsSa0SCH0j+msRAT
PuIlmtwg3C4=
=+DJ6
-----END PGP SIGNATURE-----
--- End Message ---