Bug#264314: marked as done (hwclock time incorrectly substituted in tzsetup)
Your message dated Mon, 09 Aug 2004 14:02:03 -0400
with message-id <E1BuETD-0005xC-00@newraff.debian.org>
and subject line Bug#264314: fixed in base-config 2.41
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)
--------------------------------------
Received: (at submit) by bugs.debian.org; 8 Aug 2004 06:52:02 +0000
>From jurij@wooyd.org Sat Aug 07 23:52:02 2004
Return-path: <jurij@wooyd.org>
Received: from apollo.lunarpages.com [64.235.234.15]
by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
id 1BthXG-0002T6-00; Sat, 07 Aug 2004 23:52:02 -0700
Received: from d141-170-139.home.cgocable.net ([24.141.170.139] helo=[192.168.0.101])
by apollo.lunarpages.com with esmtp (TLSv1:AES256-SHA:256)
(Exim 4.34)
id 1BthXh-00062z-GR
for submit@bugs.debian.org; Sat, 07 Aug 2004 23:52:29 -0700
Date: Sun, 8 Aug 2004 02:49:39 -0400 (EDT)
From: Jurij Smakov <jurij@wooyd.org>
Reply-To: jurij@wooyd.org
To: submit@bugs.debian.org
Subject: hwclock time incorrectly substituted in tzsetup
Message-ID: <[🔎] Pine.LNX.4.58.0408080239570.21757@bobcat>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
X-AntiAbuse: This header was added to track abuse, please include it with any abuse report
X-AntiAbuse: Primary Hostname - apollo.lunarpages.com
X-AntiAbuse: Original Domain - bugs.debian.org
X-AntiAbuse: Originator/Caller UID/GID - [0 0] / [47 12]
X-AntiAbuse: Sender Address Domain - wooyd.org
X-Source:
X-Source-Args:
X-Source-Dir:
Delivered-To: submit@bugs.debian.org
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2004_03_25
(1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Status: No, hits=-8.0 required=4.0 tests=BAYES_00,HAS_PACKAGE
autolearn=no version=2.60-bugs.debian.org_2004_03_25
X-Spam-Level:
Package: base-config
Version: 2.40
Severity: normal
Hello,
While testing the d-i RC1 I've noticed that during the configuration of
base system (after reboot) the current time was not correctly substituted
into the template of the question about the hardware clock being set to
GMT. In my case the line was displayed as:
The hardware clock says the time is now Sun Aug.
I was able to trace the problem to the tzsetup in base-config. The
following patch fixes the substition, so the string shows the complete
time:
--------------------------------cut here----------------------------------
--- tzsetup.orig 2004-07-19 17:49:26.000000000 -0400
+++ tzsetup 2004-08-08 06:38:48.000000000 -0400
@@ -139,7 +139,7 @@
# The sed removes info about drift from the
# hwclock output.
- db_subst tzconfig/gmt hwtime $(hwclock --show --localtime | sed 's/ .*//')
+ db_subst tzconfig/gmt hwtime $(hwclock --show --localtime | cut -d ' ' -f 1-5)
db_fset tzconfig/gmt seen false
db_input high tzconfig/gmt || true
fi
--------------------------------cut here----------------------------------
Best regards,
Jurij Smakov jurij@wooyd.org
Key: http://www.wooyd.org/pgpkey/ KeyID: C99E03CC
---------------------------------------
Received: (at 264314-close) by bugs.debian.org; 9 Aug 2004 18:09:11 +0000
>From katie@ftp-master.debian.org Mon Aug 09 11:09:11 2004
Return-path: <katie@ftp-master.debian.org>
Received: from newraff.debian.org [208.185.25.31] (mail)
by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
id 1BuEa7-0001z2-00; Mon, 09 Aug 2004 11:09:11 -0700
Received: from katie by newraff.debian.org with local (Exim 3.35 1 (Debian))
id 1BuETD-0005xC-00; Mon, 09 Aug 2004 14:02:03 -0400
From: Joey Hess <joeyh@debian.org>
To: 264314-close@bugs.debian.org
X-Katie: $Revision: 1.51 $
Subject: Bug#264314: fixed in base-config 2.41
Message-Id: <E1BuETD-0005xC-00@newraff.debian.org>
Sender: Archive Administrator <katie@ftp-master.debian.org>
Date: Mon, 09 Aug 2004 14:02:03 -0400
Delivered-To: 264314-close@bugs.debian.org
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2004_03_25
(1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Status: No, hits=-6.0 required=4.0 tests=BAYES_00,HAS_BUG_NUMBER
autolearn=no version=2.60-bugs.debian.org_2004_03_25
X-Spam-Level:
Source: base-config
Source-Version: 2.41
We believe that the bug you reported is fixed in the latest version of
base-config, which is due to be installed in the Debian FTP archive:
base-config_2.41.dsc
to pool/main/b/base-config/base-config_2.41.dsc
base-config_2.41.tar.gz
to pool/main/b/base-config/base-config_2.41.tar.gz
base-config_2.41_all.deb
to pool/main/b/base-config/base-config_2.41_all.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 264314@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Joey Hess <joeyh@debian.org> (supplier of updated base-config 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 ftpmaster@debian.org)
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Format: 1.7
Date: Mon, 9 Aug 2004 14:00:43 -0300
Source: base-config
Binary: base-config
Architecture: source all
Version: 2.41
Distribution: unstable
Urgency: low
Maintainer: Debian Install System Team <debian-boot@lists.debian.org>
Changed-By: Joey Hess <joeyh@debian.org>
Description:
base-config - Debian base system configurator
Closes: 264314
Changes:
base-config (2.41) unstable; urgency=low
.
* Joey Hess
- Ask tzsetup/change_timezone at high priority to make the program
useful after base-config.
- Fix broken hwclock mangling that fails horribly on 1-9 of each month.
Closes: #264314
Files:
cd82cfdf3c0184fa64aa464423ff1a68 715 base optional base-config_2.41.dsc
c4ed8ff5709efac18b7cb6525858a08e 373560 base optional base-config_2.41.tar.gz
e7e2fd04d9813b2eead0069ef35a28c9 291620 base optional base-config_2.41_all.deb
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.5 (GNU/Linux)
iD8DBQFBF7Zo2tp5zXiKP0wRArYiAJ9hCmWi5uZRO7LwVhazP1MZi7g1dQCgpmQB
3snr3bWIUlHrHwKQn/ooSEg=
=5erU
-----END PGP SIGNATURE-----
Reply to: