[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#813226: marked as done (tzdata config script ignores /etc/timezone on non-interactive configuration)



Your message dated Mon, 15 Dec 2025 23:20:44 +0000
with message-id <E1vVHrw-00HZPK-2g@fasolo.debian.org>
and subject line Bug#813226: fixed in tzdata 2025c-2
has caused the Debian Bug report #813226,
regarding tzdata config script ignores /etc/timezone on non-interactive configuration
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.)


-- 
813226: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=813226
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: tzdata
Version: 2016a-1
Severity: minor

Dear Maintainer,

After tzdata 2016a-1, automated tzdata configuration with

  echo "Asia/Tokyo" > /etc/timezone
  dpkg-reconfigure -fnoninteractive tzdata

does not work.

With tzdata 2015g-1, it works.

  root@a26eeeb7b8b7:~# date
  Sat Jan 30 15:28:54 UTC 2016
  root@a26eeeb7b8b7:~# echo Asia/Tokyo > /etc/timezone
  root@a26eeeb7b8b7:~# dpkg-reconfigure -fnoninteractive tzdata

  Current default time zone: 'Asia/Tokyo'
  Local time is now:      Sun Jan 31 00:29:12 JST 2016.
  Universal Time is now:  Sat Jan 30 15:29:12 UTC 2016.

  root@a26eeeb7b8b7:~# date
  Sun Jan 31 00:29:13 JST 2016

But with tzdata 2016a-1, it does not work well.

  root@fdc1139936e4:~# date
  Sat Jan 30 15:30:00 UTC 2016
  root@fdc1139936e4:~# echo Asia/Tokyo > /etc/timezone
  root@fdc1139936e4:~# dpkg-reconfigure -fnoninteractive tzdata

  Current default time zone: 'Etc/UTC'
  Local time is now:      Sat Jan 30 15:30:21 UTC 2016.
  Universal Time is now:  Sat Jan 30 15:30:21 UTC 2016.

  root@fdc1139936e4:~# date
  Sat Jan 30 15:30:23 UTC 2016

I have found a workaround, deleting /etc/localtime
before running dpkg-reconfigure solves this problem.

  root@fdc1139936e4:~# date
  Sat Jan 30 15:30:50 UTC 2016
  root@fdc1139936e4:~# echo Asia/Tokyo > /etc/timezone
  root@fdc1139936e4:~# rm /etc/localtime
  root@fdc1139936e4:~# dpkg-reconfigure -fnoninteractive tzdata

  Current default time zone: 'Asia/Tokyo'
  Local time is now:      Sun Jan 31 00:31:15 JST 2016.
  Universal Time is now:  Sat Jan 30 15:31:15 UTC 2016.

  root@fdc1139936e4:~# date
  Sun Jan 31 00:31:18 JST 2016

Is this bug of tzdata config script? Or expected behavior?

-- System Information:
Debian Release: stretch/sid
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'unstable'), (500, 'testing'),
(500, 'stable'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 4.3.0-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=ja_JP.utf8, LC_CTYPE=ja_JP.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages tzdata depends on:
ii  debconf [debconf-2.0]  1.5.58

tzdata recommends no packages.

tzdata suggests no packages.

-- debconf information:
  tzdata/Zones/SystemV:
  tzdata/Zones/Antarctica:
  tzdata/Zones/Pacific:
  tzdata/Zones/Atlantic:
* tzdata/Zones/Asia: Tokyo
* tzdata/Zones/Etc: UTC
  tzdata/Zones/US:
  tzdata/Zones/Europe:
  tzdata/Zones/Australia:
  tzdata/Zones/Africa:
* tzdata/Areas: Asia
  tzdata/Zones/Arctic:

--- End Message ---
--- Begin Message ---
Source: tzdata
Source-Version: 2025c-2
Done: Aurelien Jarno <aurel32@debian.org>

We believe that the bug you reported is fixed in the latest version of
tzdata, 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 813226@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Aurelien Jarno <aurel32@debian.org> (supplier of updated tzdata 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: Mon, 15 Dec 2025 23:51:19 +0100
Source: tzdata
Architecture: source
Version: 2025c-2
Distribution: unstable
Urgency: medium
Maintainer: GNU Libc Maintainers <debian-glibc@lists.debian.org>
Changed-By: Aurelien Jarno <aurel32@debian.org>
Closes: 605834 813226 822733
Changes:
 tzdata (2025c-2) unstable; urgency=medium
 .
   * Remove /etc/timezone on upgrade (Closes: #605834, #813226, #822733)
Checksums-Sha1:
 b8ba71d91a0329fe6edadfdad6defd3bb05e40f2 2434 tzdata_2025c-2.dsc
 23c4e535a0f3443cf7611e95522243fcf8ad0be4 127516 tzdata_2025c-2.debian.tar.xz
 63df9f7d950ba65df58031e0a5d38cda8440b75d 5423 tzdata_2025c-2_source.buildinfo
Checksums-Sha256:
 7f1abb4db7b93dab93c5aa35cdc748b1f5cf7c80c32097f319ec7620fa789a68 2434 tzdata_2025c-2.dsc
 02779eb9b01d2e2ec9418387d42db06ef1fccb5454486dbda16a6603483cde63 127516 tzdata_2025c-2.debian.tar.xz
 f61931f012f776da766c1bf7e879b1ad6dd02bb6315d63ed27b040102eb5e625 5423 tzdata_2025c-2_source.buildinfo
Files:
 b57067e7bd38c345f0e6d237cdc650ec 2434 localization required tzdata_2025c-2.dsc
 98c58bd3d6630693a9a1098e586605ae 127516 localization required tzdata_2025c-2.debian.tar.xz
 0a74673cf4df05b3ae00a28ee330cd40 5423 localization required tzdata_2025c-2_source.buildinfo

-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEEUryGlb40+QrX1Ay4E4jA+JnoM2sFAmlAk+oACgkQE4jA+Jno
M2sc+hAAoBqyO55VVttUtvo7788DNpbHLU9qPNp1eqWMrMQYW9xwDWOPgtPggPzV
yVw032/du6P7L4KGlxRxiNdvdpww2HDgjSkJoLwZh9xnxGiPbAjGbZSGyqxLj3k+
QRDE+12aBlx+r8BDyHkE1TpP5tTPy6gEuL3+m4BF6Y7jYTF1q/JvlxwBWUg3zTBf
aU4g4tZ3j76WX3rYzbp97+Y7k5kz+iEB+ZCnH0FhA8FGqh/hO/U4/jIMp/686FEp
Gkfaos5nIYyIvm0ygW54Keyg10Ay/xZPavzPsOa346Yryd/Cc1CCfkyRbv0hfsuk
oY38NbcEIN1QN9ViNWBLqH6H6gGaFhcxFS2EdE3sPeoXA44LJqfb+FmrwgJZW5Dd
rrFKo/Fy1nOKcX0W8ylNqJcSVxNMelvf7TIC6WnyZS+lXdpyql4yDQ+hq4RqDXRI
z/wJuiFlVM45fQN8X+kDopdEQ+OAdcigbXlxy6OXTo8SxsmFARpAeP/NmbPj8Q6n
enlenQ+VXmoAWaazjuDC09O7OD6nv7HSaxSOAsNM9C9OBp0hQw5i6aSgX5sH6v/k
ByttIIXpISupEqq2OYd5dqF9pYaqzNymgk2pelEdgpxJ4XUYG9ThHAw5i8ZK74km
7r418doy0XxFI8+dVKHSig20vJieyUx7CPT3BVkpyqoWZKi/zVE=
=sX7D
-----END PGP SIGNATURE-----

Attachment: pgpZ8Ynfy9o16.pgp
Description: PGP signature


--- End Message ---

Reply to: