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

Re: [SECURITY] [DSA 1565-1] New Linux 2.6.18 packages fix several vulnerabilities



On Mon, 05 May 2008, Bernd Eckenfels wrote:

> In article <[🔎] 20080504232555.GE9909@anguilla.noreply.org> you wrote:
> > Apropos.  Is there a way to get that information from a vmlinuz file on
> > disk?  Without booting it, that is.
> 
> Interesting enough my (somewhat older) file command does only print "x86
> boot sector", but I think some magic files supported it. Otherwise you can
> use "strings vmlinux | fgrep 2."
> 
> I usually use the file name to describe it.

debian.org kernel packages don't however.  Which makes it not exactly
suiteable for a nagios check for "is the running kernel the one on the
fileystem".

Sure, strings | grep works, but that's quite .. ugly and at least gives
the impression of being fragile.

Peter


Reply to: