[Bug 268194] ntpd fails to start

From: <bugzilla-noreply_at_freebsd.org>
Date: Tue, 06 Dec 2022 20:45:09 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=268194

Cy Schubert <cy@FreeBSD.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |cy@FreeBSD.org

--- Comment #6 from Cy Schubert <cy@FreeBSD.org> ---
Created attachment 238583
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=238583&action=edit
Disable ASLR stack gap.

Can you apply this patch and rebuild ntp, please.

If this is not possible (prefer you use the patch), add the following to
rc.conf.

ntpd_prepend="/usr/bin/proccontrol -m aslr -s disable"

Applying the patch is preferred.

I haven't been watching the stable/12 branch but if this fixes the problem,
then someone has merged a prior version of ASLR stack gap code into the kernel,
as this is no longer needed on 13 or 14 since ASLR is on something like version
3 or 4 of the code, and wasn't needed on 12 since it didn't have ASLR.

If either of the above fixes this, it will tell us that some earlier version of
ASLR is in the 12.4 kernel.

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