From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on inbox.vuxu.org X-Spam-Level: X-Spam-Status: No, score=-3.3 required=5.0 tests=MAILING_LIST_MULTI, RCVD_IN_DNSWL_MED,RCVD_IN_MSPIKE_H2 autolearn=ham autolearn_force=no version=3.4.4 Received: (qmail 732 invoked from network); 6 Oct 2021 04:29:09 -0000 Received: from lists.gnu.org (209.51.188.17) by inbox.vuxu.org with ESMTPUTF8; 6 Oct 2021 04:29:09 -0000 Received: from localhost ([::1]:44990 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mXyYE-0002O2-SL for ml@inbox.vuxu.org; Wed, 06 Oct 2021 00:29:06 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:47588) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mXyY0-0002No-8q for info-gnus-english@gnu.org; Wed, 06 Oct 2021 00:28:52 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:38096) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mXyXz-0001qw-RQ; Wed, 06 Oct 2021 00:28:51 -0400 Received: from [2600:1700:5650:f790::42] (port=41176 helo=regnitz) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mXyXy-00047H-MU; Wed, 06 Oct 2021 00:28:50 -0400 From: "Roland Winkler" To: Eric Abrahamsen Subject: Re: synchronizing gnus sessions on multiple computers References: <875yv9nxnn.fsf@gnu.org> <87pmtgn106.fsf@t14.reltub.ca> <87czpgku8w.fsf@gnu.org> <87k0joqew2.fsf@ericabrahamsen.net> Date: Tue, 05 Oct 2021 23:28:50 -0500 In-Reply-To: <87k0joqew2.fsf@ericabrahamsen.net> (Eric Abrahamsen's message of "Fri, 10 Sep 2021 14:50:21 -0700") Message-ID: <87ee8ydbel.fsf@gnu.org> MIME-Version: 1.0 Content-Type: text/plain X-BeenThere: info-gnus-english@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Announcements and discussions for GNUS, the GNU Emacs Usenet newsreader \(in English\)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: info-gnus-english@gnu.org Errors-To: info-gnus-english-bounces+ml=inbox.vuxu.org@gnu.org Sender: "info-gnus-english" On Fri, Sep 10 2021, Eric Abrahamsen wrote: > Yes, the .newsrc.eld file only gets written when you save Gnus ("s" in > the *Group* buffer), and I would absolutely not try to update files for > a Gnus that's still running, it will not handle that gracefully. It > should, however, be enough to shut Gnus down first (you can see the > `gnus-clear-system' function to see what happens then), rsync, then > restart Gnus. Thanks, it took me a while to get back to this. It seems that `gnus-clear-system' / quitting gnus is missing `gnus-save-newsrc-file-last-timestamp'. Quitting gnus, then rsync'ing gnus followed by a restart of gnus will use .newsrc.eld file from the other machine. But when this .newsrc.eld file is saved again, the timestamp of the file on disk is compared against the old timestamp of the old file that's already gone. I submitted a bug report (bug#51052).