From nobody Sat Mar 26 22:02:56 2022 X-Original-To: bugs@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 68AAA1A2D440 for ; Sat, 26 Mar 2022 22:02:56 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4KQtHg6vcqz3sy0 for ; Sat, 26 Mar 2022 22:02:55 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id CEE41BFB for ; Sat, 26 Mar 2022 22:02:55 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 22QM2to5030650 for ; Sat, 26 Mar 2022 22:02:55 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 22QM2tQL030649 for bugs@FreeBSD.org; Sat, 26 Mar 2022 22:02:55 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: bugs@FreeBSD.org Subject: [Bug 258863] "freebsd-update fetch" unnecessary IO when no updates [Fix provided] Date: Sat, 26 Mar 2022 22:02:56 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: bin X-Bugzilla-Version: Unspecified X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Many People X-Bugzilla-Who: tux2bsd@protonmail.com X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: bugs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Bug reports List-Archive: https://lists.freebsd.org/archives/freebsd-bugs List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-bugs@freebsd.org MIME-Version: 1.0 ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1648332176; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=XEsqSlszzybc7qhktF3KdDiLAZ2JeZ6acBqlMTgLc8E=; b=bNgulO1+LJK1glQlKxJRux/yXpJoato2nV3sNnB/LaorBCcw0/qrEiX847VWF0kcoGz5oA Trc5Fj4yYm887Ua7dIf4YPtTKLeiMIuE9W29JGBRs1TP11iIH32+xOU+A11V+S8iofZu7Z hWX+ZEVToJpsZUy2N7IUoZaiuKfyp1n1dG5MRhtTDfrgmI+E1SFlOx5RDE1iCowYpDqx0W noXOfbkB2yaBwsvqXdT2wUy37TyY7cOpaVmak1avB7JN6Wr+N4ELHvFlLgjcCt260zahrf 3VawNE3UZLubNzi8NgMWf/P6RwGVVEm2axOVpAsRKRR1eXu6qMlljQlX3LO29w== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1648332176; a=rsa-sha256; cv=none; b=h5ipK6qkJQimyqi192XewElcp3PCRVaBvdgQwk/sRvM5DCbhSvBV53ueKRAvo97mW+LlDY ihclnTYY4GmswukBvsmJbiKTi32fJsMJ1NDiTrgt7llKeZP2/M6sU5pFacpNN3nrkqxPaO wiPgMT+LG4+Q003kSfuMW6rt68CQ5Ht4kYEsx0CVGpy6XEL49YY+FxYYwK0CzVJn7C1DWg ByJTdNXlwZKRTTJYSI87SRSokV3VQjH5djHtes0gBIN+vLxJqksViX+S/M92ZLaOeQCU+i NujW4XIfv33m8hVETc4MTYEZLV5M6E3MSBgiLnwRW2EZng4Ut4CijMQIPVjJfQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D258863 --- Comment #12 from tux2bsd --- My workaround, freebsd-update-probe.sh, provides a definitive measure with regards to room for improvement within freebsd-update. The previous work in https://reviews.freebsd.org/D32570 shows where the fix should be applied but the intertwined nature of freebsd-update does not make this as straight for= ward as it should be (I bowed out at jail handling, as I do not use them). freebsd-update-probe.sh, satisfies my needs and I have shared it for other people to use if they like. --=20 You are receiving this mail because: You are the assignee for the bug.=