From nobody Mon Sep 30 18:25:49 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 4XHTz75d9jz5XSZ2 for ; Mon, 30 Sep 2024 18:25:55 +0000 (UTC) (envelope-from imb@protected-networks.net) Received: from mail.protected-networks.net (mail.protected-networks.net [IPv6:2001:470:8d59:1::8]) (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 (2048 bits) client-digest SHA256) (Client CN "mail.protected-networks.net", Issuer "R10" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 4XHTz72TdCz4rs7; Mon, 30 Sep 2024 18:25:55 +0000 (UTC) (envelope-from imb@protected-networks.net) Authentication-Results: mx1.freebsd.org; none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d= protected-networks.net; h=content-transfer-encoding:content-type :content-type:in-reply-to:from:from:content-language:references :subject:subject:user-agent:mime-version:date:date:message-id; s=201508; t=1727720749; bh=U1GOxUz3tJnk6nUIzkkMs1XjJbv97wajQ1o4 O4fZHfo=; b=D1js8wAE9cCcu96tS2XG74P5ZfzLPRpho2capXidIfzzqLS04YzT WeD+XSoYISLzGbh8DQujBLDytTBljNMtcEjjLmYtMq1x1MnnnW43ZF6pTEflBFnd SJYNzGwKknNlMJ4eiDfGPSuHLrwn2AjG50/KPY0f9jn4UdJeN/dP9Yc= Received: from [192.168.1.9] (d5540.auburn.protected-networks.net [192.168.1.9]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) (Authenticated sender: imb@mail.protected-networks.net) by mail.protected-networks.net (Postfix) with ESMTPSA id 803123177B; Mon, 30 Sep 2024 14:25:49 -0400 (EDT) Message-ID: <3313f951-4f9e-4298-bbd8-f82c5a15a0e3@protected-networks.net> Date: Mon, 30 Sep 2024 14:25:49 -0400 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 User-Agent: Mozilla Thunderbird Subject: Re: weekly locate error Was: September 2024 stabilization week To: Gleb Smirnoff , void , freebsd-current@freebsd.org References: Content-Language: en-NZ From: Michael Butler In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:6939, ipnet:2001:470::/32, country:US] X-Rspamd-Queue-Id: 4XHTz72TdCz4rs7 X-Spamd-Bar: ---- On 9/30/24 14:11, Gleb Smirnoff wrote: > On Sat, Sep 28, 2024 at 11:10:57PM +0100, void wrote: > v> I have found that *only* on arm64, locate errors like so: > v> > v> # sh /etc/periodic/weekly/310.locate > v> > v> Rebuilding locate database: > v> install: /var/db/INS@ArwCNx: Permission denied > v> > v> However, if it's run like this: > v> > v> # sh /usr/libexec/locate.updatedb > v> > > > WARNING > v> > > > Executing updatedb as root. This WILL reveal all filenames > v> > > > on your machine to all login users, which is a security risk. > v> > v> it exits normally. > v> > v> Moving /var/db/locate.database aside makes no difference. The problem doesn't > v> happen on amd64 arch, same 6e414739fc95. > > I also observe this and on amd64, so this is not arch specific. > > Not sure this appeared in the latest stabilization cycle, could have been > introduced earlier. > > Manual run of the periodic job doesn't reproduce the problem :( Backing out commit f62c1f3f8e91c78d402e1db4e518e4899a4ba2b9 resolves it for me, Michael