[chrony-dev] /usr/sbin/chronyd: Starting with kernel v3.0, chronyd will refuse to start

[ Thread Index | Date Index | More chrony.tuxfamily.org/chrony-dev Archives ]


Debian users are already seeing[0] this:

sys_linux.c:742:(get_version_specific_details)[02-12:36:37] Linux kernel major=3 minor=0 patch=0
sys_linux.c:823:(get_version_specific_details)[02-12:36:37] Fatal error :Kernel's major version not supported yet, sorry

The following fixed it for me and chronyd is working again with Linux 
3.0-rc1+:

diff --git a/sys_linux.c b/sys_linux.c
index 441e6e4..27ae990 100644
--- a/sys_linux.c
+++ b/sys_linux.c
@@ -997,6 +997,7 @@ get_version_specific_details(void)
       }
       break;
     case 2:
+    case 3:
       switch (minor) {
         case 0:
           if (patch < 32) {

Thanks,
Christian.

[0] http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=628919
-- 
BOFH excuse #143:

had to use hammer to free stuck disk drive heads.

---
To unsubscribe email chrony-dev-request@xxxxxxxxxxxxxxxxxxxx with "unsubscribe" in the subject.
For help email chrony-dev-request@xxxxxxxxxxxxxxxxxxxx with "help" in the subject.
Trouble?  Email listmaster@xxxxxxxxxxxxxxxxxxxx.


Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/