Bug 517187 - grubby fails to update the kernel when there is no /etc/sysconfig/keyboard
Summary: grubby fails to update the kernel when there is no /etc/sysconfig/keyboard
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: grubby
Version: rawhide
Hardware: All
OS: Linux
low
medium
Target Milestone: ---
Assignee: Hans de Goede
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2009-08-12 21:11 UTC by Dennis Gilmore
Modified: 2009-08-26 11:03 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2009-08-26 11:03:39 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Dennis Gilmore 2009-08-12 21:11:23 UTC
Description of problem:
on one of my headless boxes grubby fialed to update /etc/silo.conf 
it failed to update during the kernel install as grubby was too old after updating grubby and manually running the post-install script i get the following

/sbin/new-kernel-pkg --package kernel --depmod --add-dracut-args --initrdfile=/boot/initrd-generic-2.6.31-0.149.rc5.git3.fc12.sparc64.img --install
                  2.6.31-0.149.rc5.git3.fc12.sparc64
/sbin/new-kernel-pkg: line 446: /etc/sysconfig/keyboard: No such file or directory


the boot loader should get the new kernel regardless of if there is a /etc/system/keyboard file or not.

Comment 1 Jeremy Katz 2009-08-14 14:32:44 UTC
This is fallout from Hans's changes for dracut

Comment 2 Hans de Goede 2009-08-24 11:14:04 UTC
I've just send a patch to the anaconda-list which fixes this, I'll commit it
to git once it is reviewed.

Note though, that the error message from this is harmless, new-kernel-pkg will
continue as normal and will add the kernel entry to grub.conf .

If it does not do that there is another, separate bug in play here.

Comment 3 Hans de Goede 2009-08-26 11:03:39 UTC
The error message is fixed in grubby-7.0.3 which is on its way to rawhide.


Note You need to log in before you can comment on or make changes to this bug.