From owner-freebsd-bugs@FreeBSD.ORG Thu Nov 14 19:30:00 2013 Return-Path: Delivered-To: freebsd-bugs@smarthost.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id F28423F7 for ; Thu, 14 Nov 2013 19:30:00 +0000 (UTC) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id BA49A2787 for ; Thu, 14 Nov 2013 19:30:00 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.7/8.14.7) with ESMTP id rAEJU09q005872 for ; Thu, 14 Nov 2013 19:30:00 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.7/8.14.7/Submit) id rAEJU0xj005871; Thu, 14 Nov 2013 19:30:00 GMT (envelope-from gnats) Resent-Date: Thu, 14 Nov 2013 19:30:00 GMT Resent-Message-Id: <201311141930.rAEJU0xj005871@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Bert JW Regeer 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 ; 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 ; 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 ; 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 To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Subject: misc/183967: ntpd logs different version to syslog versus --version X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.16 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 14 Nov 2013 19:30:01 -0000 >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: