Index: [Article Count Order] [Thread]

Date:  Wed, 26 Aug 2009 14:56:34 -0400
From:  Richard Siddall <cobalt (at mark) elirion.net>
Subject:  [coba-e:15950] Re: Strange kernel stuff
To:  coba-e (at mark) bluequartz.org
Message-Id:  <4A958562.7070208 (at mark) elirion.net>
In-Reply-To:  <4A958F69.18005.9D2FCE@localhost>
References:  <4A958F69.18005.9D2FCE@localhost>
X-Mail-Count: 15950

Martyn Bailey wrote:
> Anyone have a nice clean way to //quickly// delete all old kernel 
> and associates, and up to the latest non-vulnerable release?
> 

I've been avoiding mentioning this until I had a chance to test it, but 
this looks promising:

	yum install yum-utils
	man package-cleanup
	package-cleanup --oldkernels

The main problem with package-cleanup, IMHO, is that the kernel file 
name is hard-coded inside, so it doesn't handle Xen, OpenVZ, or 
Virtuozzo kernels.  But it's better than nothing.

Regards,

	Richard Siddall