[Bug 1814980] Re: timedatectl set-timezone UTC Fails
Launchpad Bug Tracker
1814980 at bugs.launchpad.net
Thu May 30 22:34:19 UTC 2019
Status changed to 'Confirmed' because the bug affects multiple users.
** Changed in: systemd (Ubuntu)
Status: New => Confirmed
--
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/1814980
Title:
timedatectl set-timezone UTC Fails
Status in systemd package in Ubuntu:
Confirmed
Bug description:
Sorry for the pre-mature post. First time using this interface.
I noticed this today; an automated AMI build process failed.
The AMI in question is ami-0326c210edce0ffa5 AKA (ubuntu-
eks/k8s_1.10/images/hvm-ssd/ubuntu-
bionic-18.04-amd64-server-20190204.2).
The automated build process uses a t2.micro, if that's helpful.
```
ubuntu at ip-172-31-29-182:~$ lsb_release --all
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 18.04.1 LTS
Release: 18.04
Codename: bionic
```
Here's the bug:
```
ubuntu at ip-172-31-29-182:~$ timedatectl list-timezones
UTC
ubuntu at ip-172-31-29-182:~$ timedatectl set-timezone UTC
Failed to set time zone: Invalid time zone 'UTC'
ubuntu at ip-172-31-29-182:~$ timedatectl
Local time: Thu 2019-02-07 00:10:43 UTC
Universal time: Thu 2019-02-07 00:10:43 UTC
RTC time: Thu 2019-02-07 00:10:44
Time zone: n/a (UTC, +0000)
System clock synchronized: yes
systemd-timesyncd.service active: yes
RTC in local TZ: no
```
If there's anything else that you need, let me know!.
EDIT:
```
ubuntu at ip-172-31-26-66:~$ timedatectl --version
systemd 237
+PAM +AUDIT +SELINUX +IMA +APPARMOR +SMACK +SYSVINIT +UTMP +LIBCRYPTSETUP +GCRYPT +GNUTLS +ACL +XZ +LZ4 +SECCOMP +BLKID +ELFUTILS +KMOD -IDN2 +IDN -PCRE2 default-hierarchy=hybrid
```
(hostname is different because this is a new instance, same AMI)
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/systemd/+bug/1814980/+subscriptions
More information about the foundations-bugs
mailing list