Public bug reported:

As you can see below, there seems some problem with adjtimex on LXD container.
sudo systemctl status chrony.service 
● chrony.service - LSB: Controls chronyd NTP time daemon
   Loaded: loaded (/etc/init.d/chrony; bad; vendor preset: enabled)
   Active: active (exited) since Tue 2016-06-07 11:26:24 KST; 4min 33s ago
     Docs: man:systemd-sysv-generator(8)
  Process: 1849 ExecStop=/etc/init.d/chrony stop (code=exited, status=0/SUCCESS)
  Process: 1855 ExecStart=/etc/init.d/chrony start (code=exited, 
status=0/SUCCESS)

Jun 07 11:26:24 ntp systemd[1]: Starting LSB: Controls chronyd NTP time 
daemon...
Jun 07 11:26:24 ntp chronyd[1861]: chronyd version 2.1.1 starting (+CMDMON +NTP 
+REFCLOCK +RTC +PRIVDROP -DEBUG +ASYNCDNS +IPV6 +SECHASH)
Jun 07 11:26:24 ntp chrony[1855]: adjtimex() failed
Jun 07 11:26:24 ntp systemd[1]: Started LSB: Controls chronyd NTP time daemon.
Jun 07 11:30:40 ntp systemd[1]: Started LSB: Controls chronyd NTP time daemon.

adjtimex -p
         mode: 0
       offset: -1511319
    frequency: -205143
     maxerror: 140500
     esterror: 0
       status: 24577
time_constant: 7
    precision: 1
    tolerance: 32768000
         tick: 10000
     raw time:  1465268304s 620580175us = 1465268304.620580175

cat /etc/lsb-release 
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=16.04
DISTRIB_CODENAME=xenial
DISTRIB_DESCRIPTION="Ubuntu 16.04 LTS"

dpkg -l | egrep 'chrony|adjtimex'
ii  adjtimex                         1.29-7                          amd64      
  kernel time variables configuration utility
ii  chrony                           2.1.1-1                         amd64      
  Versatile implementation of the Network Time Protocol

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

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

Title:
  chrony.service doesn't start on LXD container

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to