🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #263624

Re: SLRN write newsrc to a different location

#263624
From: Lewis
Date: Wed, 22 May 2019 06:40
39 lines
2754 bytes
In message <qc1na2$pd1$1@tncsrv09.home.tnetconsulting.net> Grant Taylor <gtaylor@tnetconsulting.net> wrote:
> On 5/21/19 1:55 PM, Lewis wrote:
>> Is there anyway while in slrn to write the current newsrc file to a 
>> different location?
>> 
>> I store my news files on a shared drive so that I can access mail 
>> from many machines and have identical configurations and read.unread 
>> articles, but yesterday the shared drive went offline. I was unable 
>> to exist slrn without discarding the current state because I could 
>> not find a way to save the newsrc to a different path.
>> 
>> Now, this nearly never happens, but I'd like to avoid it in the future 
>> if possible.

> I have no idea if this would help you or not.

> Can you have slrn point to a local file that is itself a sym-link to the 
> central location?

No, that is actually how it is setup, and the write follows the symlink
to the void.

> Because if you can, you could probably remove the (temporarily) broken 
> sym-link and replace it with a regular file.  That would allow slrn to 
> open and write to the file.

Ah, I see what you mean, that might work. Maybe.

Fortunately in this case I only lost about a dozen read-status messages
that showed up new again the next day. I will keep that in mind if this
happens again. Which hopefully it will not.

> I guess you could still run into issues if slrn opens the central copy 
> and subsequently looses access / has a stale file handle.

That is my suspicion, but it's worth a shot.

-- 
"Kill yourself and roll a rogue. We'll wait"
Technical Details
Message-ID: <slrnqe9rml.7ev.g.kreme@Snow.local>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.(126883).mbox.7z!not-for-mail
References: <slrnqe8lt8.tt.g.kreme@Snow.local> <qc1na2$pd1$1@tncsrv09.home.tnetconsulting.net>

Show Full Headers
Complete Article Headers
Message-ID: <slrnqe9rml.7ev.g.kreme@Snow.local>
Subject: Re: SLRN write newsrc to a different location
Date: Wed, 22 May 2019 06:40:21 +0000
From: Lewis <g.kreme@gmail.com.dontsendmecopies>
References: <slrnqe8lt8.tt.g.kreme@Snow.local> <qc1na2$pd1$1@tncsrv09.home.tnetconsulting.net>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.(126883).mbox.7z!not-for-mail
Newsgroups: news.software.readers
Organization: Miskatonic U
Lines: 39
Injection-Date: Wed, 22 May 2019 06:40:21 -0000 (UTC)
Injection-Info: kreme.eternal-september.org; posting-host="a7b438901bad72dfd266fa6147d554da";
 logging-data="22749"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18Nr9nHBMLv9uORiFzcEgIV"
User-Agent: slrn/1.0.3 (Darwin)
Cancel-Lock: sha1:QgugLjAjtOE+JwUSMd1JvbEtRTQ=
X-Face: )^b5"R:T7U>9~:PEn3YkzMfW*[b1qKeU.fP9C8~8HpU9}lA&6`bH1z
X-Clacks-Overhead: GNU Terry Pratchett
Mail-Copies-To: nobody
X-Received-Bytes: 2737
X-Received-Body-CRC: 2392569209