From nobody Mon Sep 30 21:08:18 2024 X-Original-To: freebsd-current@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 4XHYZc73vxz5Xg0j for ; Mon, 30 Sep 2024 21:08:24 +0000 (UTC) (envelope-from glebius@freebsd.org) Received: from smtp.freebsd.org (smtp.freebsd.org [96.47.72.83]) (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 "smtp.freebsd.org", Issuer "R10" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4XHYZc6PmBz4KXf; Mon, 30 Sep 2024 21:08:24 +0000 (UTC) (envelope-from glebius@freebsd.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1727730504; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=tIsA7O0bKntGWCL+Tt3/ir5hHAblKJ2uYfJew+rco4o=; b=NKlILNY8gXmR9oFOCXbvkC+SdJQ2MpWGKkZtl5ixVYZEtjNhBBR/q1FiV8lfacMnzpTNWo M/cpsuFkzFGiXPWu+vgk10Z5TdqU0FjqymCx1KMJ9n9wiaIXPeHyfUDzNCPzOLFUq34syj jNNWq1aMLFIrin7ra658bHPRAaudLp2Ol4lHowonu+SL6iSZTOkZXua6oTBlxFAXonrTER ti3fpWgj3KCmjBrDk1RsPfMMYvyAdbRhBV6zCQ4U1NXomvOgNnph4YQcXy6PrmgPGAysCD MsdLGU9tzEp48M8Bq1YUJFCqde1wOWmeTHsfu5Ue419TPOBnNP9Iva16W+1+ww== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1727730504; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=tIsA7O0bKntGWCL+Tt3/ir5hHAblKJ2uYfJew+rco4o=; b=F5guufv7Qhhy7QokrnSnE4MJkjtb9D3EPKoWO5lt89GtsZlThd7Bk50KkOEG+wsN2TN13r sbO/amBVqJwkFFqUNMlBD4l1eGxMuKLoPoWNd0b7qBCOwQFDwG/ysRs9g3QMkOXj8nDpZp qAynDBaaqmHfktSop85lCnE0+SR8wxPxiFMqoca5R9hkUT0GywAeJ+s4yrjB57XSqG19gG 6fBwplGngJ6H1/QVTbPcPL2jUjkwSYLQGQ0VpT83EcgbIOmjY1gRCQXp89KeynuET0I9zs VoMBBs4f8/TRJFKlQ0NUZU2mNtnBIXuZQX0wwSZNavKCUHAO9AXaHxMzOJznVg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1727730504; a=rsa-sha256; cv=none; b=rzxKmK7XFUTVE7kPfwyPindBqIo4lTcdoTzt2x9Wyv0sJXHrV3BCp0u2CmtLQgoOGk4YBq 6ybG7Ra0pHvidti2fI9b9WJ4563yJDlRATYSyiim8IOzon6puMGQvXZxrCoJaprQ8n72mG jjmYh80lzX8tDZ3+7NyFT7cX9j4hQgsqFPz+Nht1cnQ5iJExv596ssQ1AJq18GdTUuQIP5 sExeOfnq6EtMNfUKEVRrjnqhyP21+Lppw8unm7u4UTEtev49NGiuImnQ7uYB3mHKEFwEfm 96jVq/D7c/J3qVd3J1MgArX4ZpQszUW5eINsikFQWrfy4l7utD+IATlq7D9K1A== Received: from cell.glebi.us (glebi.us [162.251.186.162]) (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) (Authenticated sender: glebius) by smtp.freebsd.org (Postfix) with ESMTPSA id 4XHYZc2M3lzSR4; Mon, 30 Sep 2024 21:08:24 +0000 (UTC) (envelope-from glebius@freebsd.org) Date: Mon, 30 Sep 2024 14:08:18 -0700 From: Gleb Smirnoff To: Michael Butler Cc: void , freebsd-current@freebsd.org, Dag-Erling =?iso-8859-1?Q?Sm=F8rgrav?= Subject: Re: weekly locate error Was: September 2024 stabilization week Message-ID: References: <3313f951-4f9e-4298-bbd8-f82c5a15a0e3@protected-networks.net> List-Id: Discussions about the use of FreeBSD-current List-Archive: https://lists.freebsd.org/archives/freebsd-current List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-current@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <3313f951-4f9e-4298-bbd8-f82c5a15a0e3@protected-networks.net> On Mon, Sep 30, 2024 at 02:25:49PM -0400, Michael Butler wrote: M> On 9/30/24 14:11, Gleb Smirnoff wrote: M> > On Sat, Sep 28, 2024 at 11:10:57PM +0100, void wrote: M> > v> I have found that *only* on arm64, locate errors like so: M> > v> M> > v> # sh /etc/periodic/weekly/310.locate M> > v> M> > v> Rebuilding locate database: M> > v> install: /var/db/INS@ArwCNx: Permission denied M> > v> M> > v> However, if it's run like this: M> > v> M> > v> # sh /usr/libexec/locate.updatedb M> > v> > > > WARNING M> > v> > > > Executing updatedb as root. This WILL reveal all filenames M> > v> > > > on your machine to all login users, which is a security risk. M> > v> M> > v> it exits normally. M> > v> M> > v> Moving /var/db/locate.database aside makes no difference. The problem doesn't M> > v> happen on amd64 arch, same 6e414739fc95. M> > M> > I also observe this and on amd64, so this is not arch specific. M> > M> > Not sure this appeared in the latest stabilization cycle, could have been M> > introduced earlier. M> > M> > Manual run of the periodic job doesn't reproduce the problem :( M> M> Backing out commit f62c1f3f8e91c78d402e1db4e518e4899a4ba2b9 resolves it for M> me, M> M> Michael Thanks for the find Michael! Adding Dag-Erling to Cc. -- Gleb Smirnoff