On Wed, Nov 30, 2022 at 12:09:56AM +0100, Steinar H. Gunderson wrote: > Most of this logic is inherited from mlocate's updatedb, though not all. > It may be fixable or it may not; I'd really need to check. But it really > sounds like one should be able to stat() something without bad things > happening :-) I guess as a workaround, you can ask systemd to sandbox away > the mount for updatedb?
Hi, plocate 1.1.21 doesn't fully fix this, but it gives you a new possible workaround; if you add the path (/mnt/storage in your case) to PRUNEPATHS, updatedb won't be entering it. /* Steinar */ -- Homepage: https://www.sesse.net/