Bug 1003802

Summary: update-bootloader: <3> update-bootloader-3576 run_command.273: '/usr/lib/bootloader/grub2/config' failed with exit code 1
Product: [openSUSE] openSUSE Distribution Reporter: Per Jessen <per>
Component: BasesystemAssignee: E-mail List <bnc-team-screening>
Status: RESOLVED DUPLICATE QA Contact: E-mail List <qa-bugs>
Severity: Normal    
Priority: P5 - None    
Version: Leap 42.2   
Target Milestone: ---   
Hardware: Other   
OS: Other   
Whiteboard:
Found By: --- Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---

Description Per Jessen 2016-10-08 09:35:27 UTC
Hardware:   office36, root over NFS.
Software:   openSUSE Leap422b3

dracut appears to assume grub2 is installed and therefore fails when it tries to update the bootloader.  

this is dracut-044-9.1.x86_64, with dracut-037-74.1.x86_64 (leap421) it just said "Update bootloader..." and exited.
I think this is a recent regression, with dracut-044-7.2.x86_64 in leap422b2 I don't see this problem.

office36:/boot # rpm -q grub2
package grub2 is not installed

Currently I get:
update-bootloader: 2016-10-08 10:57:05 <3> update-bootloader-3576 run_command.273: '/usr/lib/bootloader/grub2/config' failed with exit code 1, output:
<<<<<<<<<<<<<<<<
grub2-mkconfig: command not found
>>>>>>>>>>>>>>>>
Updating bootloader failed
Comment 1 Per Jessen 2016-10-09 08:56:46 UTC
This problem is a follow-in effect of bug#1003381.  Looking at /etc/sysconfig/bootloader :

LOADER_TYPE="grub2"

despite no grub2 being installed.  Changing to "none" solves the problem. Closing as duplicate.

*** This bug has been marked as a duplicate of bug 1003381 ***