Hello all,


We are running Spacewalk 2.8.



I started an update of my CentOS7 machines with Spacewalk update function 
(System -> package -> upgrade) and after update I scheduled a reboot.

The client is running rhn_check (Spacewalk Client Tools) 2.6.8-1.el7 at this 
time.



Unfortunately, I found out that none of the machines loaded the new kernel.



I checked on OS level and the new kernel is there:



[root@ ~]# ll /boot/vm*

-rwxr-xr-x. 1 root root 5397520 Jul 24  2018 
/boot/vmlinuz-0-rescue-1a6db4473c7f47c39a604d037c7b6bcc

-rwxr-xr-x. 1 root root 5397520 Jun 20  2017 
/boot/vmlinuz-3.10.0-514.21.2.el7.x86_64

-rwxr-xr-x  1 root root 6643904 May 15 05:28 
/boot/vmlinuz-3.10.0-957.12.2.el7.x86_64



Buth the entries in GRUB2 cfg are missing:



[root@ ~]# grubby --default-kernel

/boot/vmlinuz-3.10.0-514.21.2.el7.x86_64



[root@ ~]# /usr/bin/awk -F\' '$1=="menuentry " {print $2}' /etc/grub2.cfg 
CentOS Linux (3.10.0-514.21.2.el7.x86_64) 7 (Core) CentOS Linux 
(0-rescue-1a6db4473c7f47c39a604d037c7b6bcc) 7 (Core)





After I did a 'yum reinstall kernel ' all was OK and the new kernel was default.



Any one an idea why the package upgrade was not able to add the correct 
settings to GRUB 2 config?



Thanks for any reply.



Michael


This electronic transmission (and any attachments thereto) is intended solely 
for the use of the addressee(s). It may contain confidential or legally 
privileged information. If you are not the intended recipient of this message, 
you must delete it immediately and notify the sender. Any unauthorized use or 
disclosure of this message is strictly prohibited.  Faurecia does not guarantee 
the integrity of this transmission and shall therefore never be liable if the 
message is altered or falsified nor for any virus, interception or damage to 
your system.
_______________________________________________
Spacewalk-list mailing list
Spacewalk-list@redhat.com
https://www.redhat.com/mailman/listinfo/spacewalk-list

Reply via email to