ntpd segfaults on start
Vladimir Zakharov
zakharov.vv at gmail.com
Thu Sep 5 06:34:00 UTC 2019
On Thu, Sep 05, 2019, Vladimir Zakharov wrote:
> Hello!
>
> Accidentally it turned out that the ntpd does not start on boot.
> Logs show that it core dumps:
> 2019-09-05T08:38:43.588563+03:00 vzakharov ntpd 34934 - - ntpd 4.2.8p12-a (1): Starting
> 2019-09-05T08:38:43.588717+03:00 vzakharov kernel - - - Security policy loaded: MAC/ntpd (mac_ntpd)
> 2019-09-05T08:38:43.718356+03:00 vzakharov kernel - - - pid 35074 (ntpd), jid 0, uid 123: exited on signal 11
>
> Not sure how long does it happen. ktrace and gdb points to `setrlimit`
> call. Clean rebuild has no effect. Does anyone have any idea what the
> problem could be?
Accidental insight after sending initial mail: I've disabled
ASLR related sysctls, and now ntpd starts and runs again.
# grep aslr /boot/loader.conf
kern.elf32.aslr.enable=0
kern.elf64.aslr.enable=0
# service ntpd status
ntpd is running as pid 30528.
--
Regards, | "In theory there is no difference between theory
Vladimir Zakharov | and practice. In practice there is."- Yogi Berra
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: not available
URL: <http://lists.freebsd.org/pipermail/freebsd-current/attachments/20190905/962b5e2f/attachment.sig>
More information about the freebsd-current
mailing list