CentOS Kernel Changelog?
I’m probably overlooking something simple, but I can’t seem to find a concise changelog for the rhel/CentOS kernel. I’m on an oldish 6.5
kernel (2.6.32-431), and I want to look at the changes and fixes for every kernel that has been released since, all the way up to the current 6.6 kernel.
Anyone have a link to this?
Thanks!
Matt
4 thoughts on - CentOS Kernel Changelog?
rpm -qp –changelog | less
(where RPM is the actual kernel rpm in a directory on your machine)
NOTE: This works for any kernel RPM in any version of CentOS … you can download the latest 6 RPM from here:
http://mirror.CentOS.org/CentOS/6/updates/x86_64/Packages/
(currently kernel-2.6.32-504.12.2.el6.x86_64.rpm)
.. OR ..
Look here:
https://git.CentOS.org/log/rpms!kernel/refs!heads!c7
then pick the “tree” link (the last link in the column on the right for the item tagged as “c7”) .. then the SPECS directory, then kernel.spec file.
NOTE: that is only for CentOS-7 on git.c.o at this time) .. here is the latest CentOS-7 kernel SPEC file:
https://git.CentOS.org/blob/rpms!kernel/b2ed8cb9d657a1e15c2015dfb07aab75474fdbbd/SPECS!kernel.spec
Note: The changelog starts at line 1502 in the above kernel.spec file.
You can get this information yourself by issuing, on a fully up to date
6.6 machine, the following command:
rpm -q –changelog kernel-2.6.32-504.12.2.el6
Since the resulting output is a bit over 32,000 lines, I’ll not post it here. Use you favorite text-munging tools to stop the output at the kernel you currently have. (For grins and giggles, here’s a suggested line: – [2.6.32-504.12.2.el6]
# rpm -q –changelog kernel-2.6.32-504.12.2.el6|head -n `rpm -q
–changelog kernel-2.6.32-504.12.2.el6|grep -n 2.6.32-431|cut -d “:” -f 1`
* Wed Mar 11 2015 Johnny Hughes
– Roll in CentOS Branding
* Sun Feb 01 2015 Radomir Vrbovsky
[2.6.32-504.12.2.el6]
– [infiniband] core: Prevent integer overflow in ib_umem_get address arithmetic (Doug Ledford) [1181173 1179327] {CVE-2014-8159}
+++++++[snipped 5,789 lines, or thereabouts]++++++++++++
– [input] wacom: do not report ABS_MISC on TPC2FG touch device (Aristeu Rozanski) [1032256]
* Sun Nov 10 2013 Rafael Aquini [2.6.32-431.el6]
#
).
Bonus points if you figure out a better line; that was just off the top of my head. There are probably options to grep to do that for you……
That would be the relevant number at bugzilla.redhat.com that the change refers to.