NetBSD-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
kern/50426: Latest ntpd reports wrong version (with fix)
>Number: 50426
>Category: kern
>Synopsis: latest version of ntp mis-reports version as 4.2.8p3 rather than 4.4.8p4
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: kern-bug-people
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Fri Nov 13 20:15:00 +0000 2015
>Originator: Dave Tyson
>Release: NetBSD 7.99.21
>Organization:
Anduin
>Environment:
System: NetBSD t400.anduin.org.uk 7.99.21 NetBSD 7.99.21 (GENERIC) #0: Fri Nov 13 12:31:06 GMT 2015 root%t400.anduin.org.uk@localhost:/usr/obj/sys/arch/amd64/compile/GENERIC amd64
Architecture: x86_64
Machine: amd64
>Description:
After doing a make release followed by make install it was noticed that ntpd reported the version to be ntpd 4.2.8p3-o Fri Oct 23 13:57:19 EDT 2015 (import)
which didn't agree with the changes in /usr/src/doc/CHANGES. A look at the build process files showed that the script file mkver had not been updated and so the wrong version
string was compiled into the binary.
>How-To-Repeat:
Update to latest current, do a make release (or just build ntp). invoke the new ntp and note it reports the wrong version on startup or if invoked with
ntpd --version
>Fix:
Apply the following patch:
--- /usr/src/external/bsd/ntp/scripts/mkver.orig 2015-10-06 23:31:07.000000000 +0100
+++ /usr/src/external/bsd/ntp/scripts/mkver 2015-11-13 16:50:06.000000000 +0000
@@ -3,7 +3,7 @@
ConfStr="$PROG"
-ConfStr="$ConfStr 4.2.8p3"
+ConfStr="$ConfStr 4.2.8p4"
case "$CSET" in
'') ;;
Rebuild ntp. This fix will also need pullup requests to NetBSD-7 and NetBSD-6
>Unformatted:
Home |
Main Index |
Thread Index |
Old Index