yum removing old kernels?
Roger Grosswiler
roger at gwch.net
Thu Mar 30 06:43:33 UTC 2006
> On Thu, Mar 30, 2006 at 08:22:22AM +0200, Roger Grosswiler wrote:
> > > When I do a yum update I get
> > >
> > > Installing:
> > > kernel x86_64 2.6.16-1.2080_FC5
> > > updates 16 M
> > > ...
> > > Removing:
> > > kernel x86_64 2.6.15-1.2054_FC5
> > > installed 81 M
> > >
> > > Since when does yum remove old kernels automatically? Seems a bit
> > > dangerous to me. What if there's a problem and one needs a fallback?
> > >
> > > Dan.
> > >
> > > --
> >
> > erm...isn't it like this, that it keeps the 2 last kernel and deletes
> the
> > oldest if a newer comes? so, you will always have a fallback (expect
> the
> > older kernel did not work either :-))
>
> It removes the currently running kernel from the list of
> kernels to pick as potential candidates for removal, and iterates through
> the remaining installed kernels removing the oldest, until it
> reaches the maximum of whatever tokeep is set to
> in /etc/yum/pluginconf.d/installonlyn.conf
>
> because its first action is to ignore the currently running kernel,
> there's always a safe kernel to boot back into.
>
> Dave
>
> --
> http://www.codemonkey.org.uk
>
> --
excellent, so we mean the same :-D - at least you always have 2 (hopefully
working) kernels.
Roger
More information about the fedora-list
mailing list