🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #33789

news.daily looking for history.n.{index,hash}

#33789
From: Quinn Dunkan
Date: Mon, 14 Dec 1998 00:00
19 lines
1651 bytes
Because of lack of space on the /usr/local/news fs, I run news.daily with
expdir=/tmp.  As I understand it, this causes expire to create history.n,
history.n.dir, history.n.pag, and history.n.done in /tmp.  Later, news.daily
checks for /tmp/history.n.done and moves the history files into their proper
place.  However, news.daily is trying to move history.n.index and
history.n.hash, neither of which are created by expire.  And it's ignoring
history.n.pag, leaving it in /tmp and thus never updating ~news/db/history.pag.

The only thing I can think of is that news.daily was created with another
database format in mind (I'm running irix6, I think it uses berkeley dbm).
But lots of people use berkeley dbm and databases ending in .dir and .pag,
and looking at news.daily.in in the distribution shows that it always looks
for .hash and .index... So what's going on?  It seems definitely wrong to
leave the .pag file in /tmp, since it seems the database would get confused if
its files were out of sync.

thanks in advance!

Technical Details
Message-ID: <slrn77b4ev.4h2.quinn@sloth.ugcs.caltech.edu>
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

Show Full Headers
Complete Article Headers
Message-ID: <slrn77b4ev.4h2.quinn@sloth.ugcs.caltech.edu>
Subject: news.daily looking for history.n.{index,hash}
Date: Mon, 14 Dec 1998 00:00:00 +0000
From: quinn@sloth.ugcs.caltech.edu (Quinn Dunkan)
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: 422277077
Distribution: inet
Organization: California Institute of Technology, Pasadena
User-Agent: slrn/0.9.5.3 (UNIX)
Newsgroups: news.software.nntp