Re: heads up: mac_ntpd has to be explicitly loaded in recent stable/14

From: Herbert J. Skuhra <herbert_at_gojira.at>
Date: Mon, 10 Mar 2025 15:37:58 UTC
On Mon, 10 Mar 2025 13:06:25 +0100, David Wolfskill wrote:
> 
> On Mon, Mar 10, 2025 at 01:51:40PM +0200, Marek Zarychta wrote:
> > Hello List Subscirbers,
> > 
> > in the past the module was loaded automatically upon NTPD server startup.
> > It's no longer true, now it has to be loaded earlier.
> > Perhaps people running stable/14 might find this message useful.

Hmm, works for me on main and stable/14. 

> So... I noticed this for (precisely) one of the five machines I have
> that track stable/14 -- the other 4 get mac_ntpd loaded automagically as
> usual.
> 
> In the failing case, it seems that
> 
> 	sysctl security.mac.version
> 
> yielded
> 
> 	sysctl: unknown oid 'security.mac.version'

I only get this if I build a kernel without "options MAC". But in this
no mac_* kernel modules are built and ntpd fails with:

Starting ntpd.
daemon control: got EOF
/etc/rc.d/ntpd: WARNING: failed to start ntpd