Skip to Content.
Sympa Menu

unclug - Re: [unclug] cleaning up old kernels

unclug AT lists.ibiblio.org

Subject: UNC Linux Users Group

List archive

Chronological Thread  
  • From: John W Sopko Jr <sopko AT cs.unc.edu>
  • To: unclug AT lists.ibiblio.org
  • Subject: Re: [unclug] cleaning up old kernels
  • Date: Thu, 18 Apr 2013 14:44:53 -0400

We set this in /etc/yum.conf under the [main] section to keep only 2 kernels, it defaults to 3, we like to keep the previous kernel in case
we need to go back to it:

installonly_limit = 2

On 4/18/2013 2:41 PM, Palmer, Cristóbal wrote:
There was mention in the 11am meeting of Qualys complaining about old
kernels. On RHEL 6 hosts with yum-utils, this will leave you with only the
newest kernel:

sudo package-cleanup --oldkernels --count=1

Hat tip to D. Romani in Library Systems for that.

Cheers,
--
Cristóbal Palmer
Systems Administrator with Open Systems
University of North Carolina at Chapel Hill
440 W. Franklin St. Chapel Hill, NC 27599-1150

_______________________________________________
unclug mailing list
unclug AT lists.ibiblio.org
We are dedicated to a harassment-free linux education and sharing experience
for everyone. Our anti-harassment policy can be found at:
http://lists.ibiblio.org/mailman/listinfo/unclug


--
John W. Sopko Jr. University of North Carolina
email: sopko AT cs.unc.edu Computer Science Dept., CB 3175
Phone: 919-962-1844 Fred Brooks Building; Room 140
Fax: 919-962-1799 Chapel Hill, NC 27599-3175




Archive powered by MHonArc 2.6.24.

Top of Page