Bug 389

Summary: lsof as distributed with 5.2 doesn't work
Product: [Retired] Red Hat Linux Reporter: J|rgen Christoffel <jc>
Component: lsofAssignee: Jakub Jelinek <jakub>
Status: CLOSED CURRENTRELEASE QA Contact:
Severity: low Docs Contact:
Priority: low    
Version: 5.2   
Target Milestone: ---   
Target Release: ---   
Hardware: i386   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 1998-12-31 21:41:36 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description J|rgen Christoffel 1998-12-11 15:36:39 UTC
lsof was compiled for an older kernel and doesn't work with
the one distributed with 5.2:

alice[2032]: lsof
lsof: WARNING: compiled for Linux release 2.0.34; this is
2.0.36.
lsof: kernel symbol address mismatch: get_options
      get_kernel_syms() value is 0x108d18; /boot/System.map
value is 0x108ce0.
      There were 416 additional mismatches.
      /boot/System.map and the booted kernel may not be a
matched set.

Comment 1 David Lawrence 1998-12-11 16:56:59 UTC
The command still listed open files as it was supposed to but it did
generate the reported warning of:

lsof: WARNING: compiled for Linux release 2.0.34; this is 2.0.36.

This has been assigned to a developer.

Comment 2 Jeff Johnson 1998-12-31 21:41:59 UTC
Fixed in dist-5.2.1/lsof-4.39-4.

However, lsof depends on the kernel version so intimately
that you are probably better off just picking up a lsof
src rpm and typing "rpm --rebuild lsof*.src.rpm" to build
your own version.