Your message dated Tue, 07 Jun 2016 16:44:38 +0000 with message-id <[email protected]> and subject line Bug#816201: fixed in live-config 5.20160607 has caused the Debian Bug report #816201, regarding live-config: using tzdata component fails and always set to 'Etc/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 [email protected] immediately.) -- 816201: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=816201 Debian Bug Tracking System Contact [email protected] with problems
--- Begin Message ---Source: live-config Version: 5.20151121 Severity: normal Tags: patch Dear Maintainer, * What led up to the situation? While configuring the live-config.timezone parameter (on kernel boot parameter or by config.conf file) to any value, hence 'Europe/Paris', the only result is the 'Etc/UTC' timezone set. * What exactly did you do (or not do) that was effective (or ineffective)? Looked up the '0070-tzdata' component source file and find that the process to change timezone is: 1/ echoing the timezone to the '/etc/timezone' file (ex: echo "Europe/Paris">/etc/timezone ) 2/ call to the reconfiguration of tzdata package ( "dpkg-reconfigure -f noninteractive -p critical tzdata" ) If I try to do the same thing by hand, I can se that: 1/ echoing works fine (hopefully :) ) 2/ call to the tzdata package reconfiguration do not return any error, BUT the '/etc/timezone' file content has been modified by the reconfiguration process. I thought then the package tzdata was misconfigured or with errors. Looking up the https://anonscm.debian.org/cgit/pkg- glibc/tzdata.git/tree/debian/tzdata.config#n329 we can identify that the tzdata configuration process override the '/etc/timezone' file if '/etc/localtime' exists and is a symlink. I really think I get something! We may unlink '/etc/localtime' in https://anonscm.debian.org/cgit/debian-live/live- config.git/tree/components/0070-tzdata#n50 before calling 'dpkg-reconfigure ... tzdata' -- System Information: Debian Release: stretch/sid APT prefers unstable APT policy: (500, 'unstable') Architecture: amd64 (x86_64) Kernel: Linux 4.3.0-1-amd64 (SMP w/8 CPU cores) Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)>From b10d7cf76929325741e51479099cc7d2a233f9c9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gr=C3=A9gory=20DAVID?= <[email protected]> Date: Sun, 28 Feb 2016 15:32:16 +0100 Subject: [PATCH] Unlink /etc/localtime if exists before calling reconfiguration --- components/0070-tzdata | 3 +++ 1 file changed, 3 insertions(+) diff --git a/components/0070-tzdata b/components/0070-tzdata index 2677c37..f0a338b 100755 --- a/components/0070-tzdata +++ b/components/0070-tzdata @@ -47,6 +47,9 @@ Config () fi echo "${_AREA}/${_ZONE}" > /etc/timezone + if [ -L /etc/localtime ] ; then + unlink /etc/localtime + fi dpkg-reconfigure -f noninteractive -p critical tzdata # Creating state file -- 2.7.0
--- 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 [email protected], and the maintainer will reopen the bug report if appropriate. Debian distribution maintenance software pp. Raphaël Hertzog <[email protected]> (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 [email protected]) -----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 <[email protected]> Changed-By: Raphaël Hertzog <[email protected]> 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 <[email protected]> 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 <[email protected]> for the analysis. * Also look for live/config.conf in /lib/live/mount/persistence/*/ Closes: #817831 Thanks to Gregory DAVID <[email protected]> for the patch. * Automatically export variables set in live-config configuration files so that components inherit from them. Closes: #799359 Thanks to Lukas Schwaighofer <[email protected]> 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 ---
