abrt / retrace-server

Application for remote coredump analysis
GNU General Public License v2.0
40 stars 30 forks source link

retrace: Handle vmware .vmsn kernel version detection with heuristic #440

Closed DaveWysochanskiRH closed 3 years ago

DaveWysochanskiRH commented 3 years ago

Some VMware .vmsn files kernel versions are not detected accurately, so add another heuristic regexp that is more accurate.

Signed-off-by: Dave Wysochanski dwysocha@redhat.com

DaveWysochanskiRH commented 3 years ago

I tested this with around 900 existing vmcores on our production system, and compared the before and after kernelver. With this code the proper kernelver was detected with the '.vmsn' file whereas before it was not, and all other vmcores the kernelver was unchanged from the old code.