Package: chrony
Version: 4.0-8
Severity: normal
Tags: a11y upstream
X-Debbugs-Cc: s.egb...@sbcglobal.net

Dear Maintainer,

= What led up to the situation? =

Chrony daemon has an option to print out all configuration settings.

This command in question is 'chronyd -p'.  The directive keyword
of Chrony configuration being impacted is 'sourcedir'.


= What exactly did you do (or not do) that was effective (or ineffective)? =

I have a file in '/run/chrony-dhcp/enp5s0.sources' that contains
somewhat relevant (to this bug report) settings.  It is only relevant
when the content of these *.sources file are NOT being printed out 
by chronyd daemon using print ('-p') option.

According to 'strace -f chronyd -p', the chronyd does not make any
attempt to read *.sources files inside its 'sourcedir' 
drop-in directory(s).

As a result, end-user cannot see what directive settings that 
chronyd is actually 'using'.

(I've confirmed that chronyd v4.0 actually does read all files 
with .sources filetype in all of its 'sourcedir' include directive(s)
as specified in its main /etc/chrony/chrony.conf' file).


= What was the outcome of this action? =

So, running:

   chronyd -p

Will not show any of the settings found in include directories 
given in chrony.conf 

* sourcedir /run/chrony-dhcp
* sourcedir /etc/chrony/sources.d


= What outcome did you expect instead? =

I expect to see all settings from all files found in all sourcedir 
like the real chronyd daemon does.


-- System Information:
Debian Release: 11.0
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable-security'), (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 5.10.46 (SMP w/4 CPU threads)
Kernel taint flags: TAINT_UNSIGNED_MODULE
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages chrony depends on:
ii  adduser              3.118
ii  init-system-helpers  1.60
ii  iproute2             5.10.0-4
ii  libc6                2.31-13
ii  libcap2              1:2.44-1
ii  libedit2             3.1-20191231-2+b1
ii  libgnutls30          3.7.1-5
ii  libnettle8           3.7.3-1
ii  libseccomp2          2.5.1-1
ii  tzdata               2021a-1
ii  ucf                  3.0043

chrony recommends no packages.

Versions of packages chrony suggests:
ii  bind9-dnsutils [dnsutils]  1:9.16.15-1
pn  networkd-dispatcher        <none>

-- no debconf information

Reply via email to