Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 30 Sep 2024 14:08:18 -0700
From:      Gleb Smirnoff <glebius@freebsd.org>
To:        Michael Butler <imb@protected-networks.net>
Cc:        void <void@f-m.fm>, freebsd-current@freebsd.org, Dag-Erling =?iso-8859-1?Q?Sm=F8rgrav?= <des@freebsd.org>
Subject:   Re: weekly locate error Was: September 2024 stabilization week
Message-ID:  <ZvsTQu_LQFHs1lnN@cell.glebi.us>
In-Reply-To: <3313f951-4f9e-4298-bbd8-f82c5a15a0e3@protected-networks.net>
References:  <ZvEgC9ak7paxygYw@cell.glebi.us> <ZvRze1gldJTCvjir@cell.glebi.us> <Zvh-8cMF_HtOJ3uu@int21h> <Zvrp25zS9thDe3ak@cell.glebi.us> <3313f951-4f9e-4298-bbd8-f82c5a15a0e3@protected-networks.net>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?ZvsTQu_LQFHs1lnN>