[Bug 1858210] Re: timedatectl doesn't list all timezones

Dan Streetman 1858210 at bugs.launchpad.net
Fri Jul 9 21:35:59 UTC 2021


root at lp1858210-g:~# dpkg -l systemd | grep systemd
ii  systemd        246.6-1ubuntu1.4 amd64        system and service manager
root at lp1858210-g:~# timedatectl list-timezones | grep Eastern
root at lp1858210-g:~# 

root at lp1858210-g:~# dpkg -l systemd | grep systemd
ii  systemd        246.6-1ubuntu1.5 amd64        system and service manager
root at lp1858210-g:~# timedatectl list-timezones | grep Eastern
Canada/Eastern
US/Eastern

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to systemd in Ubuntu.
https://bugs.launchpad.net/bugs/1858210

Title:
  timedatectl doesn't list all timezones

Status in systemd package in Ubuntu:
  Fix Released
Status in systemd source package in Bionic:
  Won't Fix
Status in systemd source package in Focal:
  Fix Committed
Status in systemd source package in Groovy:
  Fix Committed
Status in systemd source package in Hirsute:
  Fix Committed
Status in systemd source package in Impish:
  Fix Released

Bug description:
  [impact]

  timedatectl list-timezones doesn't show many common timezones that are
  actually considered 'aliases', such as Europe/Bratislava or
  US/Eastern.

  [test case]

  $ timedatectl list-timezones | grep Eastern
  $

  [regression potential]

  any regression would likely result in an incorrect list of timezones
  shown from list-timezones, or failure to correctly set a timezone

  [scope]

  this is needed in f and later

  this is fixed upstream with PR 20066 which was just merged, so this is
  needed in all releases in ubuntu

  in bionic, the 'tzdata.zi' file that the new code uses isn't present,
  so this won't work on bionic, thus marking it wontfix

  [original description]

  Is there some filter determining which timezones are displayed by
  `timedatectl list-timezones`? My zone, Europe/Bratislava, is missing.
  Even stranger, it can successfully be set by timedatectl.

  ProblemType: Bug
  DistroRelease: Ubuntu 19.10
  Package: systemd 242-7ubuntu3.2
  ProcVersionSignature: Ubuntu 5.3.0-1014.16-raspi2 5.3.10
  Uname: Linux 5.3.0-1014-raspi2 aarch64
  ApportVersion: 2.20.11-0ubuntu8.2
  Architecture: arm64
  Date: Fri Jan  3 15:36:03 2020
  Lspci:

  ProcEnviron:
   TERM=xterm-256color
   PATH=(custom, no user)
   LANG=C.UTF-8
   SHELL=/bin/bash
  ProcKernelCmdLine: coherent_pool=1M 8250.nr_uarts=1 bcm2708_fb.fbwidth=1824 bcm2708_fb.fbheight=984 bcm2708_fb.fbswap=1 vc_mem.mem_base=0x3ec00000 vc_mem.mem_size=0x40000000  net.ifnames=0 dwc_otg.lpm_enable=0 console=ttyS0,115200 console=tty1 root=LABEL=writable rootfstype=ext4 elevator=deadline rootwait fixrtc
  SourcePackage: systemd
  UpgradeStatus: No upgrade log present (probably fresh install)
  mtime.conffile..etc.systemd.resolved.conf: 2020-01-03T01:02:47.779343

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/systemd/+bug/1858210/+subscriptions



More information about the foundations-bugs mailing list