Red Hat Bugzilla – Bug 517187
grubby fails to update the kernel when there is no /etc/sysconfig/keyboard
Last modified: 2009-08-26 07:03:39 EDT
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
/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.
This is fallout from Hans's changes for dracut
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.
The error message is fixed in grubby-7.0.3 which is on its way to rawhide.