On Tue, Apr 06, 2004 at 07:38:08PM -0400, Johnny wrote: > As a Linux Administrator (self taught, raked over the coals, > realtime disaster fixer), you've hit the nail on the head. Though > what I would like to see, is that when I log on, I'd like to see a > small message asking me if I want to, "Run the new kernel that yum > has updated?" With selection buttons such as "Reboot to New Kernel?" > "Remind me later?" "Let me finish what I am doing and I'll manually > reboot!" I know you didn't specifically say you want yum to do this, but... yum is not going to do this. This is way outside yum's job description. There are a ton of subtle issues here. > The third option will allow me to verify that I have all my data > safe, config files backed up, get everyone else off the system, and > be ready for any thing that may go wrong on the boot up. I'd like > that capability more than anything else, having lost a few > configurations in the past. Here's something you can do right now. This is quick and dirty, but it may meet your needs. Put this in a cron job and it will nag you when you're not running your newest kernel. Note: the grubby stuff probably needs root, but that doesn't actually DO anything, so you could remove it. #### check_kernel_upgrade.sh ########################################## #!/bin/sh RUNNING_KERNEL=`uname -r` NEWEST_INSTALLED_KERNEL=`rpm -q kernel --qf '%{version}-%{release}\n' \ | sort -g | tail -n 1` DEFAULT_KERNEL_FILE=`/sbin/grubby --default-kernel` DEFAULT_KERNEL=`rpm -qf $DEFAULT_KERNEL_FILE --qf '%{version}-%{release}\n'` if [ $RUNNING_KERNEL != $NEWEST_INSTALLED_KERNEL ]; then echo "Currently running: $RUNNING_KERNEL" echo "Newest installed: $NEWEST_INSTALLED_KERNEL" echo "Current default: $DEFAULT_KERNEL" fi ####################################################################### -Michael -- Michael D. Stenner mstenner@xxxxxxxxxxxxxxx ECE Department, the University of Arizona 520-626-1619 1230 E. Speedway Blvd., Tucson, AZ 85721-0104 ECE 524G