[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Woody Stable Kernel



Le Wed, 20 Aug 2003 21:56:17 -0600
bob@proulx.com (Bob Proulx) a dit:


> > Because the package management does not know of the install kernel.
> 
> Negative.  The package management system *does* know about your
> installed kernel.  And in this case of running the bf24 kernel you
> should be getting an update for it if you are running an older version
> of it.  Note that if you are running a tuned kernel then you won't,
> however.
> 
>   apt-cache policy kernel-image-2.4.18-bf2.4
>   kernel-image-2.4.18-bf2.4:
>     Installed: (none)
>     Candidate: 2.4.18-5woody4
>     Version Table:
>        2.4.18-5woody4 0
>           500 http://security.debian.org stable/updates/main Packages
>        2.4.18-5 0
>           500 http://http.us.debian.org stable/main Packages
> 
> If you are running the kernel-image-2.4.18-bf2.4 as your kernel
> version 2.4.18-5 from the woody release then an apt-get upgrade should
> want to upgrade you to version 2.4.18-5woody4 from the security
> archive.

Oh this is very interesting: here is what I get with the policy command (didn't
know about it at all thanks)

ernest:/home/stephane# apt-cache policy kernel-image-2.4.18-bf2.4
kernel-image-2.4.18-bf2.4:
  Installed: (none)
  Candidate: 2.4.18-5woody3
  Version Table:
     2.4.18-5woody3 0
        500 http://security.debian.org stable/updates/main Packages
     2.4.18-5 0
        500 ftp://ftp.skynet.be stable/main Packages
        500 ftp://debian.mirrors.easynet.fr stable/main Packages
        500 ftp://ftp.proxad.net stable/main Packages


I'm not sure I have a tuned kernel, I juste used a dirty patch to make it 
ptrace-proof. But I'm sure I did this because apt-get wasn't offering me to upgrade
it so it was the case with the vanilla kernel.

> If you have installed a tuned kernel then you won't be get a prompt
> from 'apt-get upgrade'.  DSA-311-1 and others provide the answer.
> 
>   If you are using the kernel installed by the installation system when
>   the "bf24" option is selected (for a 2.4.x kernel), you should install
>   the kernel-image-2.4.18-bf2.4 package.  

I installed a kernel image once, but it seems it comes with different options
from the base kernel at least that is what I thought because the net connection
wasn't working anymore and I had a lot of modules errors at boot. I can't tell you 
enough details so I know this is somewhat useless, but I thought that since
kernel image wasn't using the modules I need, I'd better to recompile a kernel
myself, grabbing it straight from ftp.kernel.org

This is not the solution I prefer though: since I'm glad and satisfied of my Debian
I'd love to stick with it's tools. I prefer to compile a kernel the Debian way for
instance. Unfortunately, the more documentation I read the more I understand that
there are many things you can do the debian way (which is cool) but I don't find
*the* documentation explaining what I need *in short* (which is rather understandable)
and don't have enough time for all the theory. Don't get me wrong, I'm not complaining:
the problem is only on my side and I realise this, but I'd love to find documentations 
going deeper than the make kpkg stuff and explaining how to deal with the kernel
images , the sources, apt and so on to be able to upgrade right out of the box to the
most secured kernel in no time. I can do it manually, doing it the Debian way would
be a real improvment.

I
> Hope that helps.
> 
> Bob

It does tremendously Bob: you show me the light, I'll have to dig about this very very soon.

Stéphane 




Reply to: