Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 5 Sep 2019 09:33:54 +0300
From:      Vladimir Zakharov <zakharov.vv@gmail.com>
To:        freebsd-current@freebsd.org
Subject:   Re: ntpd segfaults on start
Message-ID:  <20190905063354.qxecqjkafikdtdyq@vzakharov>
In-Reply-To: <20190905061251.rrip6635ebbfimsv@vzakharov>
References:  <20190905061251.rrip6635ebbfimsv@vzakharov>

next in thread | previous in thread | raw e-mail | index | archive | help

--ply3axd74k44nuk3
Content-Type: text/plain; charset=utf-8
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Thu, Sep 05, 2019, Vladimir Zakharov wrote:
> Hello!
>=20
> 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 l=
oaded: 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
>=20
> 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=3D0
kern.elf64.aslr.enable=3D0
# service ntpd status
ntpd is running as pid 30528.

--=20
Regards,                 | "In theory there is no difference between theory
  Vladimir Zakharov      | and practice. In practice there is."- Yogi Berra

--ply3axd74k44nuk3
Content-Type: application/pgp-signature; name="signature.asc"

-----BEGIN PGP SIGNATURE-----

iQEzBAABCAAdFiEEGigXAiE0PbwWpysjipH2KCLzK4cFAl1wrFIACgkQipH2KCLz
K4dpVQgArDcKyoZ9kWc4uWVZCmoJ2nJSxCzKrTvzbx2HDMZJtJgOwlYxXcO92aEv
c9YHol7DhRGFwG+/JBUPXgNCbgxVgijrtjaM8KRN8kW8hH2wSLQ0uBdRKr5NpJ3s
/VkwLTLLLHj1nsmUvdmlvrKlImYhaAmZunKlFqu9QBWr7YbZmsP6TonKB7MaKlVA
zxw/r5rNAxAW8iqT4GhNOHtiQjhqQrb+fK7etRhY6f1uu9vlbaDx9hmze4znM3BX
ADChcu4KBjxiPrwzNz+P9iIWKgfRKPiezQVefCw5CNeh+1uPaFOIECqPZ9kWScwq
ISS3lPfiBukVvXhLBEcR+M4bQlXF5Q==
=44Dj
-----END PGP SIGNATURE-----

--ply3axd74k44nuk3--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20190905063354.qxecqjkafikdtdyq>