From nobody@FreeBSD.org  Thu Nov 14 19:24:41 2013
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1])
	(using TLSv1 with cipher ADH-AES256-SHA (256/256 bits))
	(No client certificate requested)
	by hub.freebsd.org (Postfix) with ESMTPS id C8CD8108
	for <freebsd-gnats-submit@FreeBSD.org>; Thu, 14 Nov 2013 19:24:41 +0000 (UTC)
Received: from oldred.freebsd.org (oldred.freebsd.org [8.8.178.121])
	(using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits))
	(No client certificate requested)
	by mx1.freebsd.org (Postfix) with ESMTPS id B889E2727
	for <freebsd-gnats-submit@FreeBSD.org>; Thu, 14 Nov 2013 19:24:41 +0000 (UTC)
Received: from oldred.freebsd.org ([127.0.1.6])
	by oldred.freebsd.org (8.14.5/8.14.7) with ESMTP id rAEJOf7b004393
	for <freebsd-gnats-submit@FreeBSD.org>; Thu, 14 Nov 2013 19:24:41 GMT
	(envelope-from nobody@oldred.freebsd.org)
Received: (from nobody@localhost)
	by oldred.freebsd.org (8.14.5/8.14.5/Submit) id rAEJOfvo004387;
	Thu, 14 Nov 2013 19:24:41 GMT
	(envelope-from nobody)
Message-Id: <201311141924.rAEJOfvo004387@oldred.freebsd.org>
Date: Thu, 14 Nov 2013 19:24:41 GMT
From: Bert JW Regeer <bert.regeer@absio.com>
To: freebsd-gnats-submit@FreeBSD.org
Subject: ntpd logs different version to syslog versus --version
X-Send-Pr-Version: www-3.1
X-GNATS-Notify:

>Number:         183967
>Category:       bin
>Synopsis:       ntpd(8): ntpd logs different version to syslog versus --version
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Thu Nov 14 19:30:00 UTC 2013
>Closed-Date:    
>Last-Modified:  Fri Nov 15 03:41:09 UTC 2013
>Originator:     Bert JW Regeer
>Release:        FreeBSD 9.2-RELEASE
>Organization:
Absio Corporation
>Environment:
FreeBSD Amnesiac 9.2-RELEASE FreeBSD 9.2-RELEASE #0 r255898: Thu Sep 26 22:50:31 UTC 2013     root@bake.isc.freebsd.org:/usr/obj/usr/src/sys/GENERIC  amd64
>Description:
When ntpd is started it logs the following to /var/log/messages:

Nov 14 12:18:43 Amnesiac ntpd[19743]: ntpd 4.2.4p5-a (1)

However when running the same ntpd binary on the command line with --version it reports:

ntpd - NTP daemon program - Ver. 4.2.4p8

This was causing some confusion regarding what version of ntpd was actually installed, causing us to initially fail an security assessment.

Is this version discrepancy intentional?
>How-To-Repeat:
1. service ntpd onestart
2. grep "ntpd" /var/log/messages
3. ntpd --version

Compare the output of the two...
>Fix:


>Release-Note:
>Audit-Trail:
>Unformatted:
