lsof hangs with latest 13.0-CURRENT snapshot

Rodney W. Grimes freebsd-rwg at gndrsh.dnsmgr.net
Tue Apr 9 19:20:54 UTC 2019


> After upgrading from FreeBSD-13.0-CURRENT-amd64-20190328-r345620 to
> FreeBSD-13.0-CURRENT-amd64-20190404-r345863, lsof (4.92 from packages)
> hangs.
> 
> This is true for bare metal installs and virtual machine installs.
> 
> How to recreate:
> 	
> 	Install FreeBSD-13.0-CURRENT-amd64-20190404-r345863 snapshot.
> 
> 	as root: lsof /sbin/init
> 
> By running command with -b option, this error is displayed:
> 
> lsof: status error on /sbin/init: Resource temporarily unavailable
> 
> The return code is 1.
> 
> This probably requires adjustment to lsof, but only the FreeBSD
> snapshot changed, so I'll start here.

Where did you get your lsof binary from?

lsof has internal knowledge of kernel data structures 
and must be compiled to match the running system.


> Thanks.
> David Boyd.
-- 
Rod Grimes                                                 rgrimes at freebsd.org


More information about the freebsd-current mailing list