[Bug 268194] ntpd fails to start

From: <bugzilla-noreply_at_freebsd.org>
Date: Tue, 06 Dec 2022 20:30:50 UTC

--- Comment #5 from John Grafton <john.grafton@runbox.com> ---
(In reply to Maarten de Vries from comment #4)
Ah, the core file doesn't have symbols (of course, it's a release build).  That
makes it difficult to figure out what's going on.

If you're up for it, you can compile ntpd with debugging symbols and execute it
on your 12.4-RELEASE system.  This should produce a core file that may point to
what's failing.

Here's a simple procedure:

If you didn't install src, download src.txz from:

untar it in /usr/src:
tar -xvC / -f src.txz

Check /usr/src/UPDATING and verify the first entry says:

compile ntpd:
cd /usr/src/usr.sbin/ntp

execute ntpd with debugging symbols:
/usr/obj/usr/src/amd64.amd64/usr.sbin/ntp/ntpd/ntpd -n

debug the core file:
lldb --core ntpd.core /usr/obj/usr/src/amd64.amd64/usr.sbin/ntp/ntpd/ntpd

You are receiving this mail because:
You are the assignee for the bug.