From nobody Thu Mar 24 10:30:27 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 B672F1A3C197 for ; Thu, 24 Mar 2022 10:30:28 +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 4KPM1c1ZPPz4hSF for ; Thu, 24 Mar 2022 10:30:28 +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 F190D16505 for ; Thu, 24 Mar 2022 10:30:27 +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 22OAURjx017257 for ; Thu, 24 Mar 2022 10:30:27 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 22OAUR6D017256 for bugs@FreeBSD.org; Thu, 24 Mar 2022 10:30:27 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: Thu, 24 Mar 2022 10:30:27 +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=1648117828; 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=d7x4+xT6ep0i1UFVxmnt1sXpkrWZgN8w52D0gidRXK8=; b=dfPmA6jx7VwNloap//Tqpd0Cwws9aF7epZR9maAp28H/gz5mFUFbdWVWkDQmfOlfgpYK5P vgSlK5xMw02IsC+zvaGSoLsrT2Z+t4L3sdbXBpUsOAaRQVBL+sjpiRXfWeCDxDc5RHH9sa 80tjLWmZqpdDrKte76J2/Siv1BX4PazIAUsb9mgn4kmgc1EC2cjIp05+TN2d3y9rwp8Kpa WksD9SVUOfvABUnj4RIMGJ8zGJGvw1jE1m7HF9Q0R8f2njpb6bNEZQwxer4U8ZGd78NhXf 35H8nQzrC8YYj7i6mOy3yZ/7eHTH9VK5RR3p+PBIxGmBVOh33wrw5IiGW3Y08g== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1648117828; a=rsa-sha256; cv=none; b=I7VnsLcFsELl4OCwT2MzFwL3FMreercX3ALshl4VZryhPBb6CMyp/wzzRyQjAgxSBuSfdp 7hlSK1/vnvCVbKvZbrVOX3emGvHaQd0mANFaGkGPn7G1eFdKmpVwbP8QC4skfn5HnGGqtE 2BE2OSrlLeJF3H/iVHn6CeEupDqXHVwUAgRqtzZzlENH2+as6Xq3pMr4dsSqSyzlxN2Qr2 i8r7FOcyTv35shFLxSzzDT49manK3iHH/14XK0OnmiCCWVRMZCHgmtK/eSLme0DyR57NXA xGv6o43v8H3AOrhMv53eCxUgDO6q3wfwzpc71bpjlv/XL6zgLVR0/G2UhxQzyQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D258863 --- Comment #9 from tux2bsd --- The previous workaround attempt was the right idea but a crude implementati= on. This is much better: https://github.com/tux2bsd/freebsd-update-probe/blob/main/freebsd-update-pr= obe.sh --=20 You are receiving this mail because: You are the assignee for the bug.=