Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 370391 - net-misc/chrony-1.25 doesn't start on Linux 3.0
Summary: net-misc/chrony-1.25 doesn't start on Linux 3.0
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Server (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Jeroen Roovers (RETIRED)
URL: http://git.tuxfamily.org/chrony/chron...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-06-07 05:20 UTC by David Korth
Modified: 2011-06-07 17:26 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
Fix for Linux-3.0 support. (chrony-1.25-linux-3.0.patch,633 bytes, patch)
2011-06-07 05:27 UTC, David Korth
Details | Diff
Fix for Linux-3.0 support. (v2) (chrony-1.25-linux-3.0-v2.patch,634 bytes, patch)
2011-06-07 05:32 UTC, David Korth
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description David Korth 2011-06-07 05:20:40 UTC
chronyd won't start if the Linux 3.0 kernel is in use, since it doesn't recognize the major version number.

Reproducible: Always

Steps to Reproduce:
1. Install Linux 3.0. (-rc2 at this time)
2. Start chronyd.
Actual Results:  
Init script starts, but system log shows this error:
"Fatal error : Kernel's major version not supported yet, sorry"

Expected Results:  
chronyd should start normally.
Comment 1 David Korth 2011-06-07 05:27:00 UTC
Created attachment 276089 [details, diff]
Fix for Linux-3.0 support.

This patch handles Linux 3.0 the same way chrony handles 2.6.28.
Comment 2 David Korth 2011-06-07 05:32:11 UTC
Created attachment 276091 [details, diff]
Fix for Linux-3.0 support. (v2)

Same fix, but this time it compiles correctly. (I forgot a semicolon after the "break" statement in the previous patch.)
Comment 3 Jeroen Roovers (RETIRED) gentoo-dev 2011-06-07 16:45:38 UTC
Thanks for the patch. Fixed in 1.25-r1.
Comment 4 Jeroen Roovers (RETIRED) gentoo-dev 2011-06-07 17:22:32 UTC
The entire block of Linux kernel version checking has been removed, so the entire problem will probably be gone by 1.26.