<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html; charset=ISO-8859-1"
 http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#ffffff">
On 09/04/2009 01:04 AM, Kam Leo wrote:
<blockquote
 cite="mid:f84880b00909032204x15b4de26g5a1674b038e6b1e6@mail.gmail.com"
 type="cite">
  <pre wrap="">On Thu, Sep 3, 2009 at 9:48 PM, Steven F. LeBrun<a class="moz-txt-link-rfc2396E" href="mailto:steven@lebruns.com">&lt;steven@lebruns.com&gt;</a> wrote:
  </pre>
  <blockquote type="cite">
    <pre wrap="">Over the past few weeks there have been kernel updates for Fedora 11.

When my system receives updates, usually using yumex, and a new kernel is
installed, the oldest kernel in my /boot directory is deleted automatically
and any "title" commands in /boot/grub/grub.conf referring to those kernels
is also removed.&nbsp; There are only three kernels at a time in my /boot
directory.

So far this has not been a problem, though I almost lost some special
settings in my grub.conf file when old kernels were removed.

My questions:

What controls how many kernels, vmlinuz and associated files, are kept in
the /boot directory?

Is there any way to change this to save a different number of kernels or
insure that a specific kernel is not automatically removed from your system?

--
&nbsp;&nbsp;Steven F. LeBrun
    </pre>
  </blockquote>
  <pre wrap="">
Your request is showing a troubling trend among posters on this list.
Many do not make use of the fabulous search engines provided by the
likes of Yahoo, Microsoft, or Google.

The other trend is that many do not bother to look at installed documentation.

Please do a "man yum.conf" and "man yum" to learn about the most
important utility in your toolbox. Then edit /etc/yum.conf and change
the value for "installonly_limit"

  </pre>
</blockquote>
<br>
I apologize for not reading all the manpages before posting.&nbsp; I did not
suspect that the issue was with yum itself since I had not made any
explicit configuration changes to it in over a year and three versions
of Fedora.&nbsp; My assumption was that it was a grub or rpm issue&nbsp; or
possibly a kernel configuration issue and the man pages for these did
not show any indication for the change in behavior.<br>
<br>
This brings up another question, why is installonly_limit set to 3 in
my yum.conf file when the manpage for yum.conf states that the default
is 0 (disable).&nbsp; As I stated above, I have not changed any settings in
yum.conf.<br>
<br>
This indicates that there is a discrepancy between the manpages and the
actual behavior.<br>
<br>
After reading your response to my post, I did another Google search on
this issue.&nbsp; Even after adding the keyword yum to my search, I did not
come up with a single hit that mentioned that yum did the deletion of
the older kernels or of the installonly_limit parameter in yum.conf.&nbsp; I
humbly ask what key words you would have used in your search for this
information, especially assuming that you did not suspect yum in the
first place?<br>
<br>
BTW.&nbsp; All the Google hits that I read that included yum as a keyword
were asking or responding to how to manually remove older kernels after
yum installed a newer kernel.<br>
&nbsp;
<br>
<br>
<div class="moz-signature">-- <br>
<div>&nbsp;&nbsp;Steven F. LeBrun<br>
<p>
Quote: <em>"The objection to fairy stories is that they tell children
there are dragons. But children have always known there are dragons.
Fairy stories tell children that dragons can be killed."</em><br>
&nbsp;&nbsp;&nbsp;&nbsp; -- G.K. Chesterton</p>
</div>
</div>
</body>
</html>