#### host demo-felhom 2026-11-11T13:06:53Z local 14:06:53+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=exit-code
NRestarts=0
ExecMainCode=1
ExecMainStatus=1
ActiveState=failed
SubState=failed
FragmentPath=/usr/lib/systemd/system/chrony.service
DropInPaths=
UnitFileState=enabled
ActiveEnterTimestamp=
InactiveEnterTimestamp=Sun 2026-11-08 05:35:23 CET
## 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 05:32 ..
-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  7 14:15 conf.d
drwxr-xr-x   2 root root    4096 Oct  7 14:15 sources.d

/etc/chrony/conf.d:
total 12
drwxr-xr-x 2 root root 4096 Oct  7 14:15 .
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  7 14:15 .
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
-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 05:32 ..
## 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 08 05:35:23 demo-felhom systemd[1]: Starting chrony.service - chrony, an NTP client/server...
Nov 08 05:35:23 demo-felhom chronyd[690]: chronyd version 4.8 starting (+CMDMON +REFCLOCK +RTC +PRIVDROP +SCFILTER +SIGND +NTS +SECHASH +IPV6 -DEBUG)
Nov 08 05:35:23 demo-felhom chronyd[690]: Loaded 0 symmetric keys
Nov 08 05:35:23 demo-felhom chronyd[690]: Using leap second list /usr/share/zoneinfo/leap-seconds.list
Nov 08 05:35:23 demo-felhom chronyd[690]: Frequency -2.666 +/- 0.016 ppm read from /var/lib/chrony/chrony.drift
Nov 08 05:35:23 demo-felhom chronyd[690]: Loaded seccomp filter (level 1)
Nov 08 05:35:23 demo-felhom chronyd[690]: Fatal error : Could not send notification to $NOTIFY_SOCKET
Nov 08 05:35:23 demo-felhom chronyd[690]: Fatal error : Could not send notification to $NOTIFY_SOCKET
Nov 08 05:35:23 demo-felhom systemd[1]: chrony.service: Main process exited, code=exited, status=1/FAILURE
Nov 08 05:35:23 demo-felhom systemd[1]: chrony.service: Failed with result 'exit-code'.
Nov 08 05:35:23 demo-felhom systemd[1]: Failed to start chrony.service - chrony, an NTP client/server.
## first failure ever in the journal
Oct 16 05:09:25 demo-felhom chronyd[692]: Fatal error : Could not send notification to $NOTIFY_SOCKET
Oct 16 05:09:25 demo-felhom chronyd[692]: Fatal error : Could not send notification to $NOTIFY_SOCKET
Oct 21 05:23:50 demo-felhom chronyd[676]: Fatal error : Could not send notification to $NOTIFY_SOCKET
count: 8
## oldest journal line
Oct 04 21:43:33 demo-felhom systemd[3282788]: Queued start job for default targe
## last good start in the journal
## boots
 -5 46081f567f384ab88591d4e604555a48 Sun 2026-10-04 21:43:33 CEST Sun 2026-10-04 21:43:46 CEST
 -4 e82176ae7cf644518507468fc609eaa9 Wed 2026-10-14 15:43:07 CEST Fri 2026-10-16 05:09:06 CEST
 -3 ddd3d7305e244b2a9eafb5cf229476f1 Fri 2026-10-16 05:09:23 CEST Wed 2026-10-21 05:23:34 CEST
 -2 56db71938b304a57bdedf30f89860e1f Wed 2026-10-21 05:23:48 CEST Thu 2026-10-29 04:47:58 CET
 -1 4f6d8b388e224b8ca8ed45e06a2f96b9 Thu 2026-10-29 04:48:11 CET  Sun 2026-11-08 05:35:13 CET
  0 72899d2625244e069e8e8099775d1e51 Sun 2026-11-08 05:35:21 CET  Wed 2026-11-11 14:06:53 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 +256ms
└─basic.target @2.481s
  └─sockets.target @2.481s
    └─systemd-hostnamed.socket @2.481s
      └─sysinit.target @2.478s
        └─apparmor.service @2.241s +237ms
          └─local-fs.target @2.238s
            └─mnt-felhom\x2ddrives-hdd_1.mount @11.537s
              └─mnt-felhom\x2ddrives.mount @2.549s
## other time services
inactive inactive inactive inactive 
               Local time: Wed 2026-11-11 14:06:55 CET
           Universal time: Wed 2026-11-11 13:06:55 UTC
                 RTC time: Wed 2026-11-11 13:06:52
                Time zone: Europe/Budapest (CET, +0100)
System clock synchronized: no
              NTP service: inactive
          RTC in local TZ: no
## chronyc
506 Cannot talk to daemon
506 Cannot talk to daemon
## dpkg history chrony/apparmor/systemd
2026-07-18 16:14:58 install apparmor:amd64 <none> 4.1.1-pmx1
2026-07-18 16:15:52 configure apparmor:amd64 4.1.1-pmx1 <none>
2026-10-07 14:15:40 upgrade chrony:amd64 4.6.1-3+deb13u1 4.8-4~bpo13+2
2026-10-07 14:15:46 configure chrony:amd64 4.8-4~bpo13+2 <none>
## felhom files that name chrony
## ps
## run dir
ls: cannot access '/run/chrony': No such file or directory
srwxrwxrwx 1 root root 0 Nov  8 05:35 /run/systemd/notify
## uptime
2026-11-08 05:35:18
