Package: sntp Version: 1:4.2.8p12+dfsg-3 Followup-For: Bug #865285 This was marked as fixed in buster and sid, but it's still occurring in the former (and probably the latter as well):
$ sntp pool.ntp.org sntp [email protected] (1) Can't open KOD db file /var/lib/sntp/kod for writing: Permission denied 2018-09-26 09:54:24.556049 (+0500) -0.414559 +/- 0.279709 pool.ntp.org 149.56.121.16 s2 no-leap This is a separate issue from #863873, in my opinion. The problem here is not the path is incorrect, it's that it's trying to write to a global database as a regular user. That is bound to fail unless sntp is suid or has somewhat elevated privileges, which we probably want to avoid anyways. So even if the path would be fixed (which it isn't), it shouldn't warn regular users about this. Best case would be to have a per-user cache respecting the XDG standards (probably writing to XDG_RUNTIME_DIRS). Incidentally, this error is written to stdout instead of stderr, but I've reported that in a separate bug report (#909665). Thanks! -- System Information: Debian Release: buster/sid APT prefers testing APT policy: (500, 'testing'), (1, 'experimental'), (1, 'unstable') Architecture: amd64 (x86_64) Kernel: Linux 4.18.0-1-amd64 (SMP w/4 CPU cores) Locale: LANG=fr_CA.UTF-8, LC_CTYPE=fr_CA.UTF-8 (charmap=UTF-8), LANGUAGE=fr_CA.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /usr/bin/dash Init: systemd (via /run/systemd/system) LSM: AppArmor: enabled Versions of packages sntp depends on: ii libc6 2.27-6 ii libevent-core-2.1-6 2.1.8-stable-4 ii libevent-pthreads-2.1-6 2.1.8-stable-4 ii libopts25 1:5.18.12-4 ii libssl1.1 1.1.0h-4 sntp recommends no packages. sntp suggests no packages. -- debconf-show failed

