Bug 253944 - Can't control number of kernels to keep
Summary: Can't control number of kernels to keep
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Fedora
Classification: Fedora
Component: yum
Version: 7
Hardware: All
OS: Linux
high
low
Target Milestone: ---
Assignee: Jeremy Katz
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2007-08-23 02:57 UTC by David A. De Graaf
Modified: 2014-01-21 22:59 UTC (History)
2 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2007-08-23 15:19:44 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description David A. De Graaf 2007-08-23 02:57:21 UTC
Description of problem:
I am dismayed to read this changelog for yum.noarch 3.2.2-1.fc7
* Fri Jul 20 2007 Seth Vidal <skvidal at fedoraproject.org>
- 3.2.2
- disable unused installonlyn plugin
- set installonly_limit to '2'

A limit of 2 kernels is incompatible with the bug-ridden kernels we have today.
(The latest kernel won't boot!)

This limit needs to be increased.   How???


Version-Release number of selected component (if applicable):
yum.noarch 3.2.2-1.fc7

How reproducible:


Steps to Reproduce:
1.
2.
3.
  
Actual results:
I fear what will happen at the next kernel release.  Will my only bootable
kernel be deleted?

Expected results:


Additional info:
How can I increase the number of kernels kept?

Comment 1 Jeremy Katz 2007-08-23 15:19:44 UTC
You can change the number kept by modifying installonly_limit in /etc/yum.conf.
 And by keeping 2, we keep the currently running one which is good enough for
getting more kernels as well as a new one, so it's a very reasonable default.

Comment 2 David A. De Graaf 2007-08-23 16:52:17 UTC
Thank you for pointing out this apparently new documentation.  I had only found
that  /etc/yum/pluginconf.d/installonlyn.conf  had gone away, but not that it
had been replaced.

A default of 2 is dangerously optimistic.  I have manually installed 4 kernels
on one machine trying to overcome bugzilla #254007, but only the oldest kernel
allows the machine to boot.  The next yum update would wipe me out if only the
newest 2 were kept.  I will set installonly_limit to a more generous level.


Note You need to log in before you can comment on or make changes to this bug.