Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 06 Nov 2020 22:20:23 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 250916] sysutils/lsof: Unbreak for 12.2-RELEASE
Message-ID:  <bug-250916-7788@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D250916

            Bug ID: 250916
           Summary: sysutils/lsof: Unbreak for 12.2-RELEASE
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: ler@FreeBSD.org
          Reporter: leres@freebsd.org
             Flags: maintainer-feedback?(ler@FreeBSD.org)
          Assignee: ler@FreeBSD.org

lsof has been broken for me since upgrading to 12.2-RELEASE. The symptom is=
 for
it to go cpu bound and never output any results. This appears to be fallout
resulting from the reordering of the namecache struct in kern/vfs_cache.c:

    r363891 | mjg | 2020-08-05 02:24:38 -0700 (Wed, 05 Aug 2020) | 9 lines
    [..]
    While here reorder struct namecache so that most commonly used
    fields are closer.

Since the namecache struct is not public lsof defines it's own copy which n=
eeds
to be different for 12.2 and newer.

I've tested the patch on 12.2-RELEASE and 13.0-CURRENT (r367338).

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-250916-7788>