#### host demo-hp 2026-11-11T13:07:29Z local 14:07:29+0100
## versions
pve-manager/9.2.26/41a0e2e09b9e6f9d (running kernel: 7.0.14-28-pve)
ii chrony 4.8-4~bpo13+2
ii systemd 257.13-1~deb13u1
un systemd-timesyncd <none>
7.0.14-28-pve
## unit state
Type=notify
PIDFile=/run/chrony/chronyd.pid
NotifyAccess=main
Result=success
NRestarts=0
ExecMainCode=0
ExecMainStatus=0
ActiveState=active
SubState=running
FragmentPath=/usr/lib/systemd/system/chrony.service
DropInPaths=
UnitFileState=enabled
ActiveEnterTimestamp=Tue 2026-11-10 15:42:59 CET
InactiveEnterTimestamp=
## unit cat
# /usr/lib/systemd/system/chrony.service
[Unit]
Description=chrony, an NTP client/server
Documentation=man:chronyd(8) man:chronyc(1) man:chrony.conf(5)
Conflicts=openntpd.service ntp.service ntpsec.service
ConditionVirtualization=|!container
ConditionVirtualization=|wsl
ConditionCapability=CAP_SYS_TIME

[Service]
Type=notify
PIDFile=/run/chrony/chronyd.pid
EnvironmentFile=-/etc/default/chrony
User=_chrony
# Daemon is started as root, but still sandboxed
ExecStart=!/usr/sbin/chronyd -n $DAEMON_OPTS

CapabilityBoundingSet=~CAP_AUDIT_CONTROL CAP_AUDIT_READ CAP_AUDIT_WRITE
CapabilityBoundingSet=~CAP_BLOCK_SUSPEND CAP_KILL CAP_LEASE CAP_LINUX_IMMUTABLE
CapabilityBoundingSet=~CAP_MAC_ADMIN CAP_MAC_OVERRIDE CAP_MKNOD CAP_SYS_ADMIN
CapabilityBoundingSet=~CAP_SYS_BOOT CAP_SYS_CHROOT CAP_SYS_MODULE CAP_SYS_PACCT
CapabilityBoundingSet=~CAP_SYS_PTRACE CAP_SYS_RAWIO CAP_SYS_TTY_CONFIG CAP_WAKE_ALARM
DeviceAllow=char-pps rw
DeviceAllow=char-ptp rw
DeviceAllow=char-rtc rw
DevicePolicy=closed
LockPersonality=yes
MemoryDenyWriteExecute=yes
NoNewPrivileges=yes
PrivateTmp=yes
ProcSubset=pid
ProtectControlGroups=yes
ProtectHome=yes
ProtectHostname=yes
ProtectKernelLogs=yes
ProtectKernelModules=yes
ProtectKernelTunables=yes
ProtectProc=invisible
ProtectSystem=strict
# Used for gps refclocks
ReadWritePaths=/run
RestrictAddressFamilies=AF_INET AF_INET6 AF_UNIX
RestrictNamespaces=yes
RestrictSUIDSGID=yes
SystemCallArchitectures=native
SystemCallFilter=~@cpu-emulation @debug @module @mount @obsolete @raw-io @reboot @swap

ConfigurationDirectory=chrony
RuntimeDirectory=chrony
RuntimeDirectoryMode=0700
# See dumpdir in chrony.conf(5)
RuntimeDirectoryPreserve=restart
StateDirectory=chrony
StateDirectoryMode=0750
LogsDirectory=chrony
LogsDirectoryMode=0750

# Adjust restrictions for /usr/sbin/sendmail (mailonchange directive)
NoNewPrivileges=no
ReadWritePaths=-/var/spool
RestrictAddressFamilies=AF_NETLINK

[Install]
Alias=chronyd.service
WantedBy=multi-user.target
## files
ls: cannot access '/etc/systemd/system/chrony.service.d': No such file or directory
ls: cannot access '/etc/systemd/system/chronyd.service.d': No such file or directory
ls: cannot access '/etc/systemd/system/chrony.service': No such file or directory
lrwxrwxrwx 1 root root   38 May 21 13:32 /etc/systemd/system/chronyd.service -> /usr/lib/systemd/system/chrony.service
-rw-r--r-- 1 root root 1929 Jul  1 22:28 /lib/systemd/system/chrony.service
-rw-r--r-- 1 root root 1929 Jul  1 22:28 /usr/lib/systemd/system/chrony.service
## dpkg verify chrony
rc=0
## conf
/etc/chrony:
total 24
drwxr-xr-x   4 root root    4096 May 21 13:32 .
drwxr-xr-x 102 root root    4096 Nov  8 02:49 ..
-rw-r--r--   1 root root    1450 Feb 16  2026 chrony.conf
-rw-r-----   1 root _chrony  481 Feb 16  2026 chrony.keys
drwxr-xr-x   2 root root    4096 Oct 10 04:40 conf.d
drwxr-xr-x   2 root root    4096 Oct 10 04:40 sources.d

/etc/chrony/conf.d:
total 12
drwxr-xr-x 2 root root 4096 Oct 10 04:40 .
drwxr-xr-x 4 root root 4096 May 21 13:32 ..
-rw-r--r-- 1 root root  422 Feb 16  2026 README

/etc/chrony/sources.d:
total 12
drwxr-xr-x 2 root root 4096 Oct 10 04:40 .
drwxr-xr-x 4 root root 4096 May 21 13:32 ..
-rw-r--r-- 1 root root  498 Feb 16  2026 README
pool 2.debian.pool.ntp.org iburst
sourcedir /run/chrony-dhcp
sourcedir /etc/chrony/sources.d
keyfile /etc/chrony/chrony.keys
driftfile /var/lib/chrony/chrony.drift
ntsdumpdir /var/lib/chrony
logdir /var/log/chrony
maxupdateskew 100.0
rtcsync
makestep 1 3
leapseclist /usr/share/zoneinfo/leap-seconds.list
confdir /etc/chrony/conf.d
-- /etc/chrony/conf.d/README
Files found under the /etc/chrony/conf.d directory with the .conf suffix are
parsed in the lexicographical order of the file names when chronyd starts up.
This enables a fragmented configuration of chronyd.
Although those files can contain any directives listed in chrony.conf(5),
it would be wiser to add NTP sources in the /etc/chrony/sources.d
directory. Please read /etc/chrony/sources.d/README for more information.
-- /etc/chrony/sources.d/README
Only NTP sources can be specified in the /etc/chrony/sources.d directory.
Files in this directory must end with the ".sources" suffix. They can only
contain the "peer", "pool" and "server" directives and must have all
lines terminated by a trailing newline.
There is no need to restart chronyd for these time sources to be usable,
running 'chronyc reload sources' is sufficient.
Example:
## default

DAEMON_OPTS="-F 1"
## apparmor
   /usr/sbin/chronyd
   /usr/sbin/chronyd (780) 
   /usr/sbin/chronyd (903) 
-rw-r--r-- 1 root root    0 May 21 13:32 /etc/apparmor.d/local/usr.sbin.chronyd
-rw-r--r-- 1 root root 2837 Jul  1 22:28 /etc/apparmor.d/usr.sbin.chronyd

/etc/apparmor.d/disable:
total 8
drwxr-xr-x 2 root root 4096 Jul 21  2025 .
drwxr-xr-x 9 root root 4096 Nov  8 02:48 ..
## apparmor profile notify lines
81:  # Allow systemd Type=notify using sd_notify's $NOTIFY_SOCKET
82:  @{run}/systemd/notify w,
## kernel audit lines for chronyd (last 20)
## journal chrony this boot
Nov 10 15:42:59 demo-hp systemd[1]: Starting chrony.service - chrony, an NTP client/server...
Nov 10 15:42:59 demo-hp chronyd[780]: chronyd version 4.8 starting (+CMDMON +REFCLOCK +RTC +PRIVDROP +SCFILTER +SIGND +NTS +SECHASH +IPV6 -DEBUG)
Nov 10 15:42:59 demo-hp chronyd[780]: Loaded 0 symmetric keys
Nov 10 15:42:59 demo-hp chronyd[780]: Using leap second list /usr/share/zoneinfo/leap-seconds.list
Nov 10 15:42:59 demo-hp chronyd[780]: Frequency -12.230 +/- 1.327 ppm read from /var/lib/chrony/chrony.drift
Nov 10 15:42:59 demo-hp chronyd[780]: Loaded seccomp filter (level 1)
Nov 10 15:42:59 demo-hp systemd[1]: Started chrony.service - chrony, an NTP client/server.
Nov 10 15:43:10 demo-hp chronyd[780]: Selected source 81.0.124.253 (2.debian.pool.ntp.org)
Nov 10 15:43:10 demo-hp chronyd[780]: System clock TAI offset set to 37 seconds
Nov 10 15:43:11 demo-hp chronyd[780]: Selected source 37.221.209.24 (2.debian.pool.ntp.org)
Nov 10 15:44:16 demo-hp chronyd[780]: Selected source 195.111.92.55 (2.debian.pool.ntp.org)
Nov 10 15:46:26 demo-hp chronyd[780]: Selected source 37.221.209.24 (2.debian.pool.ntp.org)
## first failure ever in the journal
count: 0
## oldest journal line
Oct 04 21:42:08 demo-hp systemd[779137]: Queued start job for default target def
## last good start in the journal
Nov 10 15:43:11 demo-hp chronyd[780]: Selected source 37.221.209.24 (2.debian.pool.ntp.org)
Nov 10 15:44:16 demo-hp chronyd[780]: Selected source 195.111.92.55 (2.debian.pool.ntp.org)
Nov 10 15:46:26 demo-hp chronyd[780]: Selected source 37.221.209.24 (2.debian.pool.ntp.org)
## boots
 -5 182af91122a941ec97ac7ee247a4d470 Sun 2026-10-04 21:42:08 CEST Sun 2026-10-04 21:43:33 CEST
 -4 bb68aee4240244718d8a7f39d999a3a8 Wed 2026-11-04 21:06:10 CET  Tue 2026-11-10 02:53:28 CET
 -3 b6e0edea2b5647dfa36f5bb3825adc3a Tue 2026-11-10 02:53:57 CET  Tue 2026-11-10 13:56:35 CET
 -2 d1167d9431bf459abf2a569e8997a569 Tue 2026-11-10 13:57:04 CET  Tue 2026-11-10 15:32:31 CET
 -1 e2cc9e3e60f14bde8949f01d7ba35ccf Tue 2026-11-10 15:32:59 CET  Tue 2026-11-10 15:42:26 CET
  0 bed106f79e804eb1ace314a26da7f049 Tue 2026-11-10 15:42:54 CET  Wed 2026-11-11 14:07:29 CET
## what starts with it
chrony.service
● ├─-.mount
● ├─system.slice
● ├─systemd-journald.socket
● ├─systemd-remount-fs.service
● ├─systemd-tmpfiles-setup.service
● ├─tmp.mount
● ├─basic.target
● │ ├─-.mount
○ │ ├─systemd-pcrphase-sysinit.service
● │ ├─tmp.mount
● │ ├─paths.target
● │ │ ├─systemd-ask-password-console.path
● │ │ └─systemd-ask-password-wall.path
● │ ├─slices.target
● │ │ ├─-.slice
● │ │ ├─system-xfs_scrub.slice
● │ │ ├─system.slice
● │ │ └─user.slice
● │ ├─sockets.target
● │ │ ├─dbus.socket
● │ │ ├─iscsid.socket
● │ │ ├─netavark-dhcp-proxy.socket
● │ │ ├─rrdcached.socket
● │ │ ├─sshd-unix-local.socket
The time when unit became active or started is printed after the "@" character.
The time the unit took to start is printed after the "+" character.

chrony.service +174ms
└─basic.target @5.760s
  └─sockets.target @5.760s
    └─systemd-hostnamed.socket @5.760s
      └─sysinit.target @5.757s
        └─felhom-crash-guard.service @5.583s +173ms
          └─local-fs.target @5.576s
            └─etc-pve.mount @7.233s
              └─local-fs-pre.target @761ms
## other time services
inactive inactive inactive inactive 
               Local time: Wed 2026-11-11 14:07:32 CET
           Universal time: Wed 2026-11-11 13:07:32 UTC
                 RTC time: Wed 2026-11-11 13:07:33
                Time zone: Europe/Budapest (CET, +0100)
System clock synchronized: yes
              NTP service: active
          RTC in local TZ: no
## chronyc
Reference ID    : 25DDD118 (37.221.209.24)
Stratum         : 3
Ref time (UTC)  : Wed Nov 11 12:51:20 2026
System time     : 0.000228395 seconds fast of NTP time
Last offset     : +0.000003178 seconds
RMS offset      : 0.000066409 seconds
Frequency       : 12.927 ppm slow
Residual freq   : +0.000 ppm
MS Name/IP address         Stratum Poll Reach LastRx Last sample               
===============================================================================
^- cebece.pomaz.hu               2  10   377   978  -7115us[-7112us] +/-   32ms
^* 37.221.209.24                 2  10   377   971  -2744us[-2741us] +/-   15ms
^+ mail.deployis.eu              4  10   377   758  -3122us[-3122us] +/-   24ms
^+ ntp2.niif.hu                  2  10   377   377  -4436us[-4436us] +/-   39ms
## dpkg history chrony/apparmor/systemd
2026-08-21 15:41:16 install apparmor:amd64 <none> 4.1.1-pmx1
2026-08-21 15:42:37 configure apparmor:amd64 4.1.1-pmx1 <none>
2026-10-10 04:40:04 upgrade chrony:amd64 4.6.1-3+deb13u1 4.8-4~bpo13+2
2026-10-10 04:40:23 configure chrony:amd64 4.8-4~bpo13+2 <none>
## felhom files that name chrony
## ps
    780 _chrony  /usr/sbin/chronyd -n -F 1
    903 _chrony  /usr/sbin/chronyd -n -F 1
## run dir
srwxrwxrwx 1 root    root     0 Nov 10 15:42 /run/systemd/notify

/run/chrony:
total 4
drwx------  2 _chrony _chrony   80 Nov 11 14:07 .
drwxr-xr-x 36 root    root    1520 Nov 11 14:07 ..
-rw-r--r--  1 root    root       4 Nov 10 15:42 chronyd.pid
srwxr-xr-x  1 _chrony _chrony    0 Nov 10 15:42 chronyd.sock
## uptime
2026-11-10 15:42:49
