From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on dcvr.yhbt.net X-Spam-Level: X-Spam-ASN: X-Spam-Status: No, score=-4.0 required=3.0 tests=ALL_TRUSTED,BAYES_00 shortcircuit=no autolearn=ham autolearn_force=no version=3.4.2 Received: from localhost (dcvr.yhbt.net [127.0.0.1]) by dcvr.yhbt.net (Postfix) with ESMTP id A4C161F9F4; Sun, 21 Nov 2021 10:19:48 +0000 (UTC) Date: Sun, 21 Nov 2021 10:19:48 +0000 From: Eric Wong To: Johannes Altmanninger Cc: Kyle Meyer , meta@public-inbox.org Subject: Re: How to delete caches Message-ID: <20211121101948.GA5366@dcvr> References: <20211120153054.xq6jfad2m2buoic6@gmail.com> <87czmusqhx.fsf@kyleam.com> <20211120171445.eak27widqqqdltxw@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20211120171445.eak27widqqqdltxw@gmail.com> List-Id: Johannes Altmanninger wrote: > On Sat, Nov 20, 2021 at 12:09:46PM -0500, Kyle Meyer wrote: > > Johannes Altmanninger writes: > > > > > I've been using lei from the 1.7.0 release, which works great. > > > > > > I had some unrelated problems with one of the created maildirs so I deleted > > > said maildir. Now I can't recreate the maildir. I tried deleting all > > > persistent data but got an error: > > > > > > $ rm -rf the-maildir ~/.local/share/lei ~/.cache/{public-inbox,lei} > > > $ lei q -I https://lore.kernel.org/git/ -o the-maildir rt:1.week.ago.. > > > failed to open /home/johannes/.cache/lei/all_locals_ever.git/lei_ale.state: No such file or directory > > > at /usr/share/perl5/vendor_perl/PublicInbox/LeiQuery.pm line 117. > > > > > > A quick look at strace doesn't show access to any other files in $HOME > > > > Have you tried killing the daemon (`lei daemon-kill')? > > Thanks, that fixed it. I wasn't aware that there is a daemon Yeah, these are holes in our inotify coverage. We use inotify (and kevent) to monitor some things (Maildirs, sockets, ...), but there are some missing pieces, as you've noticed :< Will try to get around to fixing these at some point...