Bug#397759: fails to configure: mv: cannot stat `/etc/chrony/chrony.keys.1.21-2': No such file or directory

2006-11-16 Thread Steinar H. Gunderson
On Thu, Nov 09, 2006 at 01:11:05PM -0600, John Hasler wrote: I will add your patch as it makes the script more robust. I won't be able to get to it until this weekend. Any progress on this? /* Steinar */ -- Homepage: http://www.sesse.net/ -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with

Bug#397759: fails to configure: mv: cannot stat `/etc/chrony/chrony.keys.1.21-2': No such file or directory

2006-11-16 Thread John Hasler
Any progress on this? Yes. I have fix for this and another more serious bug. I just need to find time to get the package built and tested. -- John Hasler [EMAIL PROTECTED] Elmwood, WI USA -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL

Bug#397759: fails to configure: mv: cannot stat `/etc/chrony/chrony.keys.1.21-2': No such file or directory

2006-11-09 Thread Lionel Elie Mamane
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

Bug#397759: fails to configure: mv: cannot stat `/etc/chrony/chrony.keys.1.21-2': No such file or directory

2006-11-09 Thread Steve Langasek
Hi Lionel, On Thu, Nov 09, 2006 at 10:49:53AM +0100, Lionel Elie Mamane wrote: 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

Bug#397759: fails to configure: mv: cannot stat `/etc/chrony/chrony.keys.1.21-2': No such file or directory

2006-11-09 Thread Lionel Elie Mamane
On Thu, Nov 09, 2006 at 04:14:43AM -0800, Steve Langasek wrote: On Thu, Nov 09, 2006 at 10:49:53AM +0100, Lionel Elie Mamane wrote: This code: if dpkg --compare-versions $2 lt-nl 1.21-3 ; then mv /etc/chrony/chrony.keys.$2 /etc/chrony/chrony.keys mv

Bug#397759: fails to configure: mv: cannot stat `/etc/chrony/chrony.keys.1.21-2': No such file or directory

2006-11-09 Thread John Hasler
Lionel Elie Mamane writes: The code assumes that when upgrading from version earlier than 1.21-3, you *must* have a /etc/chrony/chrony.keys.${OLD_VERSION} file. If true this is certainly a bug. I'll look at it ASAP. -- John Hasler [EMAIL PROTECTED] Elmwood, WI USA -- To UNSUBSCRIBE, email

Bug#397759: fails to configure: mv: cannot stat `/etc/chrony/chrony.keys.1.21-2': No such file or directory

2006-11-09 Thread John Hasler
I actually doubt that *all* past versions left such files, but maybe all since sarge and maintainer made a conscious decision not to support earlier-than-sarge upgrades (which we don't support in general). All previous versions left the files, less the suffixes. The preinst adds the suffixes

Bug#397759: fails to configure: mv: cannot stat `/etc/chrony/chrony.keys.1.21-2': No such file or directory

2006-11-09 Thread Lionel Elie Mamane
On Thu, Nov 09, 2006 at 01:11:05PM -0600, John Hasler wrote: I actually doubt that *all* past versions left such files, but maybe all since sarge and maintainer made a conscious decision not to support earlier-than-sarge upgrades (which we don't support in general). All previous versions