[ntp:questions] Finding out where ntpd gets its ntp.conf file

Martin Burnicki martin.burnicki at meinberg.de
Mon Sep 8 09:37:33 UTC 2008

Joseph Gwinn wrote:
> In article <4357p5-evq.ln1 at gateway.py.meinberg.de>,
>  Martin Burnicki <martin.burnicki at meinberg.de> wrote:
>> If ntpd would write a log message at startup then you could easily find
>> out on every platform which config file has been read.
> That would certainly work, and work in all cases.

However, this would only be useful in future versions of the package.
> My problem is to debug NTP problems in multiple systems that I have
> limited knowledge of, ones that may or may not follow the usual
> conventions, or the same conventions, and which may in fact may have
> been hosed up by some sysadmin who knows nothing of NTP save where the
> big red start button is supposed to be.

In the current case using strace to find which files are actually opened and
read when ntpd starts (as proposed elsewhere) should be the best solution.

Martin Burnicki

Meinberg Funkuhren
Bad Pyrmont

More information about the questions mailing list