Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 27 Oct 2015 12:23:07 +0000
From:      Arthur Chance <freebsd@qeng-ho.org>
To:        Matthew Seaman <matthew@freebsd.org>, freebsd-questions@freebsd.org
Subject:   Re: ntpd crashing after update
Message-ID:  <562F6CAB.8030205@qeng-ho.org>
In-Reply-To: <562F55AD.7020405@freebsd.org>
References:  <562F38D5.40107@qeng-ho.org> <562F55AD.7020405@freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On 27/10/2015 10:45, Matthew Seaman wrote:
> On 10/27/15 08:41, Arthur Chance wrote:
>> I updated my systems yesterday in response to FreeBSD-SA-15:25.ntp, and
>> now ntpd crashes on SEGV, but only on 2 out of 3 of the machines running
>> it. I have no idea whether it's relevant, but the one that doesn't crash
>> is the only one with source installed. Anyone else seeing this?
>
> Yes -- I've seen that on the one machine I've tried to update so far.
> ntpd crashes for me after freebsd-update(8).
>
> Anecdotal evidence is that rebooting apparently causes the updated ntpd
> to function normally.  I'd be interested in hearing if people can
> confirm that, because it means there is system state somehow carrying
> over from one invocation of ntpd to another.

I can confirm that it worked for me. I rebooted the two problem machines 
and ntpd started OK. However, the ntpds on both rebooted machines appear 
not to be talking to the other machine which initially appeared to have 
no problem - ntpq -p shows it as in .INIT. state and unreachable on the 
rebooted machines and it sees the other machines as in INIT and 
unreachable. I can't reboot the final machine until later today, but 
restarting ntpd on it without rebooting has no effect. I'll get back to 
you after I've had a chance to reboot it.

For reference

freebsd-version -ku
10.2-RELEASE
10.2-RELEASE-p6

on all three machines, all updated with freebsd-update, and all had 
"service ntpd restart" done after the update.

> There's a thread on freebsd-security@.... -- seems there's also a
> problem with the ntpq and ntpdc utilities.

ntpq worked fine on all my machines, even before the reboots.

-- 
Moore's Law of Mad Science: Every eighteen months, the minimum IQ
necessary to destroy the world drops by one point.



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