Raspbian Stretchとsystemd-timesyncd

pi@raspberrypi:~ $ lsb_release -a
No LSB modules are available.
Distributor ID:	Raspbian
Description:	Raspbian GNU/Linux 9.4 (stretch)
Release:	9.4
Codename:	stretch

pi@raspberrypi:~ $ uname -a
Linux raspberrypi 4.14.34-v7+ #1110 SMP Mon Apr 16 15:18:51 BST 2018 armv7l GNU/Linux

pi@raspberrypi:~ $ ps aux | grep time
systemd+   276  0.0  0.4  17276  4012 ?        Ssl  Jun18   0:00 /lib/systemd/systemd-timesyncd

pi@raspberrypi:~ $ timedatectl status
      Local time: Tue 2018-06-19 01:55:55 UTC
  Universal time: Tue 2018-06-19 01:55:55 UTC
        RTC time: n/a
       Time zone: Etc/UTC (UTC, +0000)
 Network time on: yes
NTP synchronized: yes
 RTC in local TZ: no

pi@raspberrypi:~ $ cat /etc/systemd/timesyncd.conf
# Entries in this file show the compile time defaults.
# You can change settings by editing this file.
# Defaults can be restored by simply deleting this file.
# See timesyncd.conf(5) for details.

#FallbackNTP=0.debian.pool.ntp.org 1.debian.pool.ntp.org 2.debian.pool.ntp.org 3.debian.pool.ntp.org

pi@raspberrypi:~ $ ls -l /var/lib/systemd/clock
-rw-r--r-- 1 systemd-timesync systemd-timesync 0 Jun 19 01:59 /var/lib/systemd/clock

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.