Bug#824197: marked as done (live-config: system time is wrong if the hwclock is set to local time (and not UTC))
Your message dated Tue, 07 Jun 2016 16:44:38 +0000
with message-id <E1bAK7K-00056w-79@franck.debian.org>
and subject line Bug#824197: fixed in live-config 5.20160607
has caused the Debian Bug report #824197,
regarding live-config: system time is wrong if the hwclock is set to local time (and not UTC)
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 owner@bugs.debian.org
immediately.)
--
824197: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=824197
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
- To: submit@bugs.debian.org
- Subject: live-config: system time is wrong if the hwclock is set to local time (and not UTC)
- From: Tom Jampen <tom@cryptography.ch>
- Date: Fri, 13 May 2016 18:01:11 +0200
- Message-id: <5735FA47.4080307@cryptography.ch>
Package: live-config
Version: 5.20151121
Tags: patch
On our laptops the hardware clock is set to local time and not to utc.
We use the kernel command line parameter "utc=no" to indicate that, but
the hardware clock is nonetheless interpreted as being set to UTC and as
a consequence the system time is wrong.
I've found the reason to be an error in the 1120-util-linux component:
The generated file /etc/adjtime is wrong in case the hardware clock is
set to UTC. According to the hwclock manpage, the /etc/adjtime file
consists of three lines and the third line is explained to be:
"'UTC' or 'LOCAL'. Tells whether the Hardware Clock is set to
Coordinated Universal Time or local time. You can always override this
value with options on the hwclock command line."
So there is clearly a line missing that specifies "LOCAL" (the patch is
attached).
Regards,
Tom
diff -Naurp a/1120-util-linux b/1120-util-linux
--- a/1120-util-linux 2016-05-13 19:25:21.554483449 +0200
+++ b/1120-util-linux 2016-05-13 19:25:33.894482934 +0200
@@ -57,6 +57,7 @@ EOF
cat > /etc/adjtime << EOF
0.0 0 0.0
0
+LOCAL
EOF
;;
--- End Message ---
--- Begin Message ---
Source: live-config
Source-Version: 5.20160607
We believe that the bug you reported is fixed in the latest version of
live-config, 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 824197@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Raphaël Hertzog <hertzog@debian.org> (supplier of updated live-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@ftp-master.debian.org)
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512
Format: 1.8
Date: Tue, 07 Jun 2016 16:30:13 +0200
Source: live-config
Binary: live-config live-config-doc live-config-systemd live-config-sysvinit
Architecture: source
Version: 5.20160607
Distribution: unstable
Urgency: medium
Maintainer: Live Systems Maintainers <debian-live@lists.debian.org>
Changed-By: Raphaël Hertzog <hertzog@debian.org>
Description:
live-config - Live System Configuration Components
live-config-doc - Live System Configuration Components (documentation)
live-config-systemd - Live System Configuration Components (systemd backend)
live-config-sysvinit - Live System Configuration Components (sysvinit backend)
Closes: 799359 816201 817831 824197
Changes:
live-config (5.20160607) unstable; urgency=medium
.
* Team upload.
* No longer manually start the getty@* services. There is systemd-logind
already taking care of this at runtime when the user switches to the
corresponding VT. Furthermore systemd-logind is smarter since it will
avoid running it on an already used VT (such as vt1 which is nowadays
used by gdm3). This also gets rid of the undesirable boot delay that
was likely introduced by one of the above conflicts.
* Make live-config-systemd the default backend.
* Properly handle hwclock set to local time. Closes: #824197
Thanks to Tom Jampen <tom@cryptography.ch> for the patch.
* Fix timezone configuration by dropping /etc/localtime so that
tzdata config script is forced to recreate it from /etc/timezone.
Closes: #816201 Thanks to Gregory DAVID <groolot@groolot.net> for
the analysis.
* Also look for live/config.conf in /lib/live/mount/persistence/*/
Closes: #817831 Thanks to Gregory DAVID <groolot@groolot.net>
for the patch.
* Automatically export variables set in live-config configuration
files so that components inherit from them. Closes: #799359
Thanks to Lukas Schwaighofer <lukas@schwaighofer.name> for the patch.
* Drop override and options for XZ compression, it has been the default for
a while.
* Bump Standards-Version to 3.9.8.
Checksums-Sha1:
05821d30d45f46d0cad3afb592a6de2a2d7b977e 1602 live-config_5.20160607.dsc
6f5d55b701d4eae0b47eaec92bea2d608c4ea537 74732 live-config_5.20160607.tar.xz
Checksums-Sha256:
5133090a39b3c05e4bce1f3373998653f4565f6be7129b51e7b2beba607c96a1 1602 live-config_5.20160607.dsc
f9fd6caf0bc8b4254f4727a4ba937d497dbbb22b85ee010d08ebd13d69f034f3 74732 live-config_5.20160607.tar.xz
Files:
edb49154efccf1a12c8480212b0670d7 1602 misc optional live-config_5.20160607.dsc
60d23c782b61271680b93f8547507945 74732 misc optional live-config_5.20160607.tar.xz
-----BEGIN PGP SIGNATURE-----
Comment: Signed by Raphael Hertzog
iQEcBAEBCgAGBQJXVvEVAAoJEAOIHavrwpq5KMoH/RZgUhwohGfMJYnIZkBYgHp5
+wi39ljU0bVN67N3OkNBsgu+SilNL8P8iU4eSV6vyhj+TWYX14G/nCgc0MormyHJ
9ertLrmBrNucxb16UH79frbh/d4xSCG3z9ThsL/iePOJl0EAZzzg6HSCcOXNvvKG
W4GJgnX5/AfH9cUGVs9ZoYlTzlMWDxFYSroylxNo3WEh7eiYWzAfCXueYDg1QMLF
sgT2sZYSaKkYkz+xJASzJgY+fDcBqkSNxwVp3riAz1MFl3lsrMx7kmJXQXTk/S6m
/s5t6cA58cvLjQgaHRlojbFITHrWHso+lg22iF5RZOg5AeC4ZwfVyS9XO77xs+o=
=0BKA
-----END PGP SIGNATURE-----
--- End Message ---
Reply to: