Package: chrony
Version: 4.3
Severity: normal
X-Debbugs-Cc:
rgov...@gmail.com
Dear Maintainer,
gpsd and chronyd can communicate via domain sockets such as /var/run/chrony.ttyS0.sock. chronyd creates the sockets and gpsd connects to them.
However, the AppArmor profile for chronyd is too strict; it only allows the creation of sockets for tty devices, and not pps devices.
@{run}/chrony.tty{,*}.sock rw,
The corresponding rules on the gpsd profile are:
/{,var/}run/chrony.tty{,S,USB,AMA}[0-9]*.sock rw,
/tmp/chrony.tty{,S,USB,AMA}[0-9]*.sock rw,
Could these be relaxed to allow /var/run/chrony.*.sock?
Ryan
-- System Information:
Debian Release: 11.3
APT prefers stable-updates
APT policy: (500, 'stable-updates'), (500, 'stable-security'), (500, 'stable')
Architecture: armhf (armv7l)
Kernel: Linux 5.15.49-linuxkit (SMP w/4 CPU threads; PREEMPT)
Kernel taint flags: TAINT_OOT_MODULE, TAINT_RANDSTRUCT
Locale: LANG=C, LC_CTYPE=C.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /bin/dash
Init: unable to detect
Versions of packages chrony depends on:
ii adduser 3.118
ii init-system-helpers 1.60
pn iproute2 <none>
ii libc6 2.31-13+deb11u3
pn libcap2 <none>
pn libedit2 <none>
ii libgnutls30 3.7.1-5
ii libnettle8 3.7.3-1
ii libseccomp2 2.5.1-1+deb11u1
ii tzdata 2021a-1+deb11u3
pn ucf <none>
chrony recommends no packages.
Versions of packages chrony suggests:
pn dnsutils <none>
pn networkd-dispatcher <none>