Quantcast
Channel: CentOS Bug Tracker - Issues
Viewing all articles
Browse latest Browse all 19115

0007651: grub2-mkconfig creates boot choices in wrong order

$
0
0
System had kernel 3.10.0-123.el7.x86_64. Updated to 3.10.0-123.6.3.el7.x86_64. After update, grub.cfg was generated with -123.el7 as the first entry instead of 123.6.3.el7.<br /> <br /> The bug is in the logic in grub-mkconfig_lib-fix-order.patch. The version_test_numeric function was doing a gt test on a vs b, but was returning true if b was higher #, instead of false if b was higher.<br /> <br /> After correcting this, I found that sort -V would put the rescue version above the others when sorting like this. As such, I added special cases for *rescue* in version_test_gt.

Viewing all articles
Browse latest Browse all 19115

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>