Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 14 Nov 2013 19:24:41 GMT
From:      Bert JW Regeer <bert.regeer@absio.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   misc/183967: ntpd logs different version to syslog versus --version
Message-ID:  <201311141924.rAEJOfvo004387@oldred.freebsd.org>
Resent-Message-ID: <201311141930.rAEJU0xj005871@freefall.freebsd.org>

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

>Number:         183967
>Category:       misc
>Synopsis:       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:
>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:



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