🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #48594

Re: Minor diablo sniglet.

#48594
From: Sameh Ghane
Date: Sat, 30 Sep 2000 00:00
33 lines
2426 bytes
Jaye Mathisen disait (said) sur (on) news.software.nntp :
> 
> I don't automount my spool partition, preferring to let my system come up, 
> and after it's up, a script fires off that fsck's the news partition, and mounts
> it, then starts diablo.
> 
> Works fine, except that one time the filesystem was not fsck'able, so it didn't mount.

Yes, that's why fscking at boot time drops you in single user mode...

> However, cron merrily fires off dspoolout, which fires off dnewslinks, which
> then merrily deletes my batch files, w/o sending any news...  
> 
> I do not know what the right fix is, but it sure made a mess.  Anyway to regenerate these
> dnewslink outgoing batch files from the spool dir?

First, I don't understand how dspoolout can delete your batch files, as
your news partition is not mounted... You seem to have 2 partitions for
the news, one for the spool, which one was not mounted, don't you ?

Regenerating outgoing sequence batch files would also be great to permit
re-feeding a spool to a reader for example, which missed some articles.

As the file format is a bit difficult to regenerate (it indicates the
position in each spool file an article is located, as it seems), the
best idea could be to keep a dnewsfeeds entry, without dnntpspool.ctl
entry. This way, diablo will prepare an outgoing sequence batch file,
and maintain it, which you can cut when you've got such a problem, and
append to an existent outgoing file (with an dnntpspool.ctl entry) when
needed. You'll have to rotate it more or less often, to avoid this file
getting bigger and bigger. Not tested.

Technical Details
Message-ID: <slrn8tbnki.a6v.sw@arrakis.noc.fr.clara.net>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!not-for-mail
References: <8qrqm7$1gv7$1@newsfeed-inn2.meganews.com>

Show Full Headers
Complete Article Headers
Message-ID: <slrn8tbnki.a6v.sw@arrakis.noc.fr.clara.net>
Subject: Re: Minor diablo sniglet.
Date: Sat, 30 Sep 2000 00:00:00 +0000
From: sw@fr.clara.net (Sameh Ghane)
References: <8qrqm7$1gv7$1@newsfeed-inn2.meganews.com>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!not-for-mail
X-Deja-AN: 675856431
X-Complaints-To: abuse@fr.clara.net
X-Trace: spartacus.fr.clara.net 970317472 37211 212.43.195.17 (30 Sep 2000 12:37:52 GMT)
Organization: freaky flow
X-DTC-Enabled: twice
User-Agent: slrn/0.9.6.3 (FriBi! 5.0-CURRENT)
NNTP-Posting-Date: Sat, 30 Sep 2000 12:37:52 +0000 (UTC)
Newsgroups: news.software.nntp