chronyd version 1.24 does not support kernel 3.0 or 4.0
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Raspbian |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
sudo apt-get update
sudo apt-get install chrony
$ chronyd -v
chronyd (chrony) version 1.24
When I issue the following commands I get the following responses:
$ sudo invoke-rc.d chrony restart
Restarting time daemon: Starting /usr/sbin/
chronyd is running and offline.
$
but if I look at 'ps -auxw' I do not see anything releated to chrony and I see the following in the syslog 'tail -f /var/log/syslog':
Jul 20 23:00:10 chronyd[3335]: chronyd version 1.24 starting
Jul 20 23:00:10 chronyd[3335]: Initial txc.tick=10000 txc.freq=0 (0.00000000) txc.offset=0 => hz=100 shift_hz=7
Jul 20 23:00:10 chronyd[3335]: set_config_hz=0 hz=100 shift_hz=7 basic_freq_
Jul 20 23:00:10 chronyd[3335]: Linux kernel major=4 minor=0 patch=8
Jul 20 23:00:10 chronyd[3335]: Fatal error : Kernel's major version not supported yet, sorry
If you google 'chrony Kernel's major version not supported yet, sorry' then you will see some kernel 3.0 bug reported from 2011... I suspect this is the same case statement 'feature' that we saw back in 2011. (Bug Report # 628919 and 638252)
The fix in the file sys_linux.c for kernel 3.0 was not until version 1.26 according to the files I found in here -> https:/
I was originally going to submit a bug report to Chrony but I can see that it was already fixed and the problem now seems to be the Raspian distro needs to update to a newer version. (Version 2.1).
Thanks,
Joey
"The fix in the file sys_linux.c for kernel 3.0 was not until version 1.26"
That is true upstream but Debian fixed the issue in their packages as can be seen in the debian bug reports you mentioned.
"the Raspian distro needs to update to a newer version. (Version 2.1)."
We would only consider such a thing as a last resort. The point of a stable release is to provide a baseline that changes as little as possible.
In any case it looks like in version 1.30 used in jessie and stretch that the code in question has been completely rewritten and no longer checks for a maximum major version. So this only seems to be an issue for wheezy.
I've uploaded version 1.24-3. 1+deb7u3+ rpi1 which I believe should fix this issue. Can you test it?