From nobody Mon Dec 9 21:36:24 2024 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 4Y6Ztc3X8sz5gqGt for ; Mon, 09 Dec 2024 21:36:24 +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 "R10" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Y6Ztc2NSSz4G0m for ; Mon, 9 Dec 2024 21:36:24 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1733780184; 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=nRiOqU6vtr7irCX9Hal61VtrOxgg1CqZnKc844JI4TQ=; b=AdoC99PVW9yt0IENJWf7XMFWuYI6ixgw37dWzdGp72r5kE+og+DQyQ+9qNBMc+rwd2Ux6H lGm03gmIAwrk0We5nFeUfG5mCJ3JRaOSUbjPrZ6oXV7NddIy1wi1tWc8889Ekf0suVOUGi 0BeBWOzXo7wG5hw6KnQ62lg3BPVK7EHrZf5fqHAx80ZDQ1o0KaNW25hdphejqTpA7ycuqN P4Bo9uY9ksAN36ZoPY8O5gcli3XPBcTwhW/+Ai6TRhOTIhPd0aJjEdhtuaPzbKDaLyBb6Q KEYGTvy8nqFddTGrrt+HjXfoaNqnf2BWbjWVU8e4V8Rr3bODolF7vxK+HlGuQQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1733780184; a=rsa-sha256; cv=none; b=GWGoNC57EZ+aOcVNioMg4gpzbqymbih391JaZWahGukfgrvkEnzEd5agRk1l77WTPfwAYM 13Z3FdOI0aJGTIcSVL5SVKauQshl7GnEVrPUMc7oJClJ1DbWUF5vYk1angGipW9pJ6Jf3P 4VGi3Iyh4feE2l3xTB+DjMdpebC8pYyluPsO/UrJDH0ayVmSU6Byo7wQMxKoNGB7dTWyFO VShB4KOmhY7pI8w9k1aiUPbK+F+q9P2LsiIonjmEo/U1SiCUMaEIyFVwnFJSIPnml5XFm1 uOvUYHOy/wHUFMccTAgfnH7DaqXdmFQzEdJncWG7LzyhHP4907HEO3egWDNN0A== 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 4Y6Ztc20VqzvTS for ; Mon, 9 Dec 2024 21:36:24 +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 4B9LaOaU028380 for ; Mon, 9 Dec 2024 21:36:24 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 4B9LaOwC028379 for bugs@FreeBSD.org; Mon, 9 Dec 2024 21:36:24 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 283110] freebsd-update IDS vs. installed permissions for kernels (444 vs 555) Date: Mon, 09 Dec 2024 21:36:24 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: misc X-Bugzilla-Version: Unspecified X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: wbe@psr.com X-Bugzilla-Status: Open 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 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D283110 --- Comment #8 from wbe@psr.com --- (In reply to John Baldwin from comment #7) > ... you'd have to have some way to know what the distribution metadata is= ... My impression (possibly wrong, since I haven't read the code) is that freebsd-update pulls in copies of the distributions for both the old and new release, and that that's how UpdateIfUnmodified is able to determine whether the file has been modified. If distributions include permissions, then the= re's enough information for a permission comparison. Unfortunately, I now see that this won't work when KeepModifiedMetadata is = true and >1 release has been installed since the permission/metadata change, sin= ce the distribution-change will then look like a user-change from the previous distribution. > Possibly this could just be handled as a special case in freebsd-update > though as files rarely change metadata like permissions. That may well turn out to be easier, faster, and work in more situations. --=20 You are receiving this mail because: You are the assignee for the bug.=