[Bug 1814980] [NEW] timedatectl set-timezone UTC Fails

k 1814980 at bugs.launchpad.net
Thu Feb 7 00:17:09 UTC 2019


Public bug reported:

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!.

** Affects: systemd (Ubuntu)
     Importance: Undecided
         Status: New

** Description changed:

+ 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
+                       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
+                  RTC in local TZ: no
+ ```
+ 
+ 
+ If there's anything else that you need, let me know!.

-- 
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:
  New

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!.

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