I patched it, but probably not right:

...
diff -Naur chrony-1.24-3.1-build.orig/chrony-1.24/sys_linux.c
chrony-1.24-3.1-build.new/chrony-1.24/sys_linux.c
--- chrony-1.24-3.1-build.orig/chrony-1.24/sys_linux.c  2012-09-28
19:42:44.000000000 -0500
+++ chrony-1.24-3.1-build.new/chrony-1.24/sys_linux.c   2012-09-28
19:21:24.000000000 -0500
@@ -736,7 +736,12 @@
     LOG_FATAL(LOGF_SysLinux, "Cannot uname(2) to get kernel version,
sorry.");
   }
   if (sscanf(uts.release, "%d.%d.%d", &major, &minor, &patch) != 3) {
-    LOG_FATAL(LOGF_SysLinux, "Cannot read information from uname, sorry");
+       patch = 0;
+  }
+  else {
+    if (sscanf(uts.release, "%d.%d.%d", &major, &minor) != 2) {
+       LOG_FATAL(LOGF_SysLinux, "Cannot read information from uname,
sorry");
+    }
   }

   LOG(LOGS_INFO, LOGF_SysLinux, "Linux kernel major=%d minor=%d patch=%d",
major, minor, patch);
...

The amd64 .deb with the patch is here:

https://docs.google.com/open?id=0BwcitGMmYn5-N253a1VZb24yMVk

Hugo Vanwoerkom

Reply via email to