From owner-freebsd-questions@freebsd.org Wed May 13 18:31:12 2020 Return-Path: Delivered-To: freebsd-questions@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id F3D472FC939 for ; Wed, 13 May 2020 18:31:12 +0000 (UTC) (envelope-from ypankov@fastmail.com) Received: from wout1-smtp.messagingengine.com (wout1-smtp.messagingengine.com [64.147.123.24]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 49Mjt746s8z4NfV for ; Wed, 13 May 2020 18:31:11 +0000 (UTC) (envelope-from ypankov@fastmail.com) Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailout.west.internal (Postfix) with ESMTP id CCD28787 for ; Wed, 13 May 2020 14:31:09 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute4.internal (MEProxy); Wed, 13 May 2020 14:31:09 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fastmail.com; h= subject:to:references:from:message-id:date:mime-version :in-reply-to:content-type:content-transfer-encoding; s=fm2; bh=b Q+5on7ZRXaGsla5NHoN4UcGz4PQ3d7GjLXmpN65mbM=; b=ccCoR88FWNRdTaBy0 YGdCCoda4M1O2ahYXpvlolKFiBwf1nzsRM+hpW+H29phGs+HBXTtaoeCvmxAmyOS Z/XN/atTK6tGUuNWn0yd4dmZ/Xl48YmcSr/wvxaBD+ZQgW8w2AP3gD+4WtHFv4Xv 2hgGSXgjgQlNipBvtorpEWOGUCAB5HRLmLQDvWe+6NN1wWnp9pG1KJIppbOt1HLD IqXfxM6CQzY4F2zj3mxJCvDBCPG/f+NmghIwhLizUjkrs8qnd7Hp1SH4QTZz3zuK ekrYE8tMt7C+6AyLM9DiGVPxPwl9gpIAweCC8hYSz42tsNmxtVbQe73Icns/Vqq0 2MlNA== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm2; bh=bQ+5on7ZRXaGsla5NHoN4UcGz4PQ3d7GjLXmpN65m bM=; b=Js3nPcrRGnciYLXqgQTdsahqmCDXFy04tAGcjtQ6WVcqMRQZcvfmaZy7D HSuvCXiITOKz/NbDDuWKCLqcfQFaUZV84h6WedsAqtSWYuQZdRgk6bHMIVX49FHp jDRS635gcGblh5nb3huojUjkU+8l12fhv2g4NLcd8uMzntdoZPbyDhnUgyVAUcnh p4t2wfHpty/ZEGQ7HSMYB/oxJax0r90jgn4mpGYiPDR0uYofesUaUyA8apAa1BWO tLjvv/BWvPkLb0c+3m3HvCuTZV7yyx1KqQBh44iq4i3V30Z6H12RsLvSXcVqwsuw WctVqZ+eORhV2LAMgasXHHgSyQGWg== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduhedrleeggdduvdehucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucenucfjughrpefuvfhfhffkffgfgggjtgfgsehtke ertddtfeehnecuhfhrohhmpegjuhhrihcurfgrnhhkohhvuceohihprghnkhhovhesfhgr shhtmhgrihhlrdgtohhmqeenucggtffrrghtthgvrhhnpeejgeeghfehgfeljeffteegle efgeelfeffiedviedvhfeljedtheefgeetieffjeenucffohhmrghinhepfhhrvggvsghs ugdrohhrghdptghonhhfrdhithenucfkphepudejkedrfeegrddutdefrdduhedunecuve hluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomhephihprghnkhho vhesfhgrshhtmhgrihhlrdgtohhm X-ME-Proxy: Received: from [192.168.1.6] (unknown [178.34.103.151]) by mail.messagingengine.com (Postfix) with ESMTPA id 65B62328005A for ; Wed, 13 May 2020 14:31:08 -0400 (EDT) Subject: Re: Shared object "libnetgraph.so.4" not found, required by "netstat" To: freebsd-questions@freebsd.org References: <20200512154502.GH59811@bastion.zyxst.net> <20200513180158.GA23072@bastion.zyxst.net> From: Yuri Pankov Message-ID: <70cc3458-237f-847c-03f0-0767c26f6b89@fastmail.com> Date: Wed, 13 May 2020 21:31:07 +0300 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:68.0) Gecko/20100101 Thunderbird/68.8.0 MIME-Version: 1.0 In-Reply-To: <20200513180158.GA23072@bastion.zyxst.net> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Language: en-US Content-Transfer-Encoding: 8bit X-Rspamd-Queue-Id: 49Mjt746s8z4NfV X-Spamd-Bar: --- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=fastmail.com header.s=fm2 header.b=ccCoR88F; dkim=pass header.d=messagingengine.com header.s=fm2 header.b=Js3nPcrR; dmarc=pass (policy=none) header.from=fastmail.com; spf=pass (mx1.freebsd.org: domain of ypankov@fastmail.com designates 64.147.123.24 as permitted sender) smtp.mailfrom=ypankov@fastmail.com X-Spamd-Result: default: False [-3.10 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; R_SPF_ALLOW(-0.20)[+ip4:64.147.123.24]; FREEMAIL_FROM(0.00)[fastmail.com]; TO_DN_NONE(0.00)[]; RCVD_COUNT_THREE(0.00)[4]; DKIM_TRACE(0.00)[fastmail.com:+,messagingengine.com:+]; DMARC_POLICY_ALLOW(-0.50)[fastmail.com,none]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; FREEMAIL_ENVFROM(0.00)[fastmail.com]; RCVD_IN_DNSWL_LOW(-0.10)[24.123.147.64.list.dnswl.org : 127.0.5.1]; ASN(0.00)[asn:11403, ipnet:64.147.123.0/24, country:US]; MID_RHS_MATCH_FROM(0.00)[]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; R_DKIM_ALLOW(-0.20)[fastmail.com:s=fm2,messagingengine.com:s=fm2]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-questions@freebsd.org]; IP_SCORE_FREEMAIL(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; IP_SCORE(0.00)[ip: (-9.82), ipnet: 64.147.123.0/24(-4.92), asn: 11403(-2.69), country: US(-0.05)]; RCVD_TLS_LAST(0.00)[]; RWL_MAILSPIKE_VERYGOOD(0.00)[24.123.147.64.rep.mailspike.net : 127.0.0.19] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 13 May 2020 18:31:13 -0000 tech-lists wrote: > On Tue, May 12, 2020 at 04:44:35PM +0100, tech-lists wrote: >> Hi, >> >> I'm getting this error in my daily reports: >> >> ld-elf.so.1: Shared object "libnetgraph.so.4" not found, required by >> "netstat" >> >> seems to hapen when daily cron runs network interface totals. >> >> This is a freebsd bhyve vm running on a freebsd host: >> >> vm: FreeBSD 12.1-RELEASE-p3 GENERIC  amd64 >> >> # freebsd-version -kru >> 12.1-RELEASE-p3 >> 12.1-RELEASE-p3 >> 12.1-RELEASE-p4 >> >> it's kept up-to-date with freebsd-update. The messages I get from >> freebsd-update are a little odd: >> >> # freebsd-update fetch >> src component not installed, skipped >> Looking up update.FreeBSD.org mirrors... 3 mirrors found. >> Fetching metadata signature for 12.1-RELEASE from >> update1.freebsd.org... done. >> Fetching metadata index... done. >> Inspecting system... done. >> Preparing to download files... done. >> >> No updates needed to update system to 12.1-RELEASE-p4. >> # freebsd-update install >> src component not installed, skipped >> No updates are available to install. >> Run '/usr/sbin/freebsd-update fetch' first. >> >> I thought netgraph etc would be taken care of by freebsd-update? How >> can I >> fix? >> >> thanks, > > I upgraded again today with freebsd-update and rebooted. > > % freebsd-version -kru > 12.1-RELEASE-p5 > 12.1-RELEASE-p5 > 12.1-RELEASE-p5 > > same error: > > Network interface status: > ld-elf.so.1: Shared object "libnetgraph.so.4" not found, required by > "netstat" > > What's odd is it's only this one bhyve vm with it. There are other bhyve > vms > on the same host at the same revision without this issue. There's no > /etc/src.conf or /etc/make.conf. It's otherwise working fine. Is it possible that you modified netstat on this specific VM and freebsd-update refuses to update it? Does the binary match with other VMs?