Description of problem: checkbootloader.py is relying upon comment tags within grub.conf. If specific comment tag is removed, checkbootloader.py fails to recognize bootloader as grub if haveGrubConf: ..... if line[0:6] == "#boot=": Version-Release number of selected component (if applicable): current version of up2date installed is: up2date-4.5.5-7.e14 How reproducible: Steps to Reproduce: 1. edit grub.conf and remove all comments 2. execute /usr/share/rhn/up2date_client/checkbootloader.py 3. script is unable to recognize that grub is the bootloader Actual results: Expected results: script should not rely upon comments within configs unless documented within the config to not remove the comments. Additional info:
[root@dhcp77-161 up2date_client]# ./checkbootloader.py Found GRUB. This was the result for grub.conf having comments and with all the comments deleted out. It returned GRUB as the boot loader in both cases. Verified.
An advisory has been issued which should help the problem described in this bug report. This report is therefore being closed with a resolution of ERRATA. For more information on therefore solution and/or where to find the updated files, please follow the link below. You may reopen this bug report if the solution does not work for you. http://rhn.redhat.com/errata/RHBA-2009-0972.html