[Bug 1885901] Re: timedatectl reports wrong status for timesyncd in core18

Dimitri John Ledkov 1885901 at bugs.launchpad.net
Thu Jul 2 11:34:52 UTC 2020


Also in core, timedatectl is a wrapper shell script, instead of the real
one. So, some things that work regular timedatectl may not work with the
one in the code. For example timezone name mangling / changes.

Also units are moved around a lot, such that things are not "enabled"
via symlinks in /etc, but in /lib.

So yeah, ideally bugs about core should go first into the core*
projects, as they are very different from classic file layout.

-- 
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/1885901

Title:
  timedatectl reports wrong status for timesyncd in core18

Status in systemd package in Ubuntu:
  Incomplete
Status in systemd source package in Bionic:
  Incomplete
Status in systemd source package in Focal:
  Incomplete
Status in systemd source package in Groovy:
  Incomplete

Bug description:
  when calling timedatectl in Ubuntu Core 18 the tool reports the status of the
  systemd-timesyncd.service ... 

  sadly it does report it wrongly (the tool reports it inactive while
  the service is actually running):

  ogra at pi4:~$ timedatectl
                        Local time: Wed 2020-07-01 10:52:48 UTC
                    Universal time: Wed 2020-07-01 10:52:48 UTC
                          RTC time: n/a
                         Time zone: n/a (UTC, +0000)
         System clock synchronized: yes
  systemd-timesyncd.service active: no
                   RTC in local TZ: no
  ogra at pi4:~$ systemctl status systemd-timesyncd.service
  ● systemd-timesyncd.service - Network Time Synchronization
     Loaded: loaded (/lib/systemd/system/systemd-timesyncd.service; disabled; vendor preset: enabled)
     Active: active (running) since Tue 2020-06-30 18:06:18 UTC; 16h ago
       Docs: man:systemd-timesyncd.service(8)
   Main PID: 779 (systemd-timesyn)
     Status: "Synchronized to time server 91.189.94.4:123 (ntp.ubuntu.com)."
      Tasks: 2 (limit: 4915)
     CGroup: /system.slice/systemd-timesyncd.service
             └─779 /lib/systemd/systemd-timesyncd

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



More information about the foundations-bugs mailing list