🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nn
Article #441

Re: 6.4.2 bug(s) -- .newsrc problems

#441
From: Tom Fitzgerald
Date: Tue, 22 May 1990 19:26
30 lines
2208 bytes
jeremy@cs.swarthmore.edu (Jeremy Brest) writes:
> I've found that my newsrc gets corrupted -- lines, containing groups
> that I subscribe to, get lost. I think this behavior is related to the
> unsubscribe problem, but I've been unable to track it down yet.

The same thing happened here.  It's a bug, and it's nasty.

The cause of the problem was that our active file had a newsgroup
which was aliased to another newsgroup, using a "=newsgroup" as the
4th field of the appropriate line in the active file.  (We're
running C-news).  In our case, comp.sys.masscomp was aliased to
comp.sys.concurrent.  The end result was that all the lines in
everyone's .newsrc's between these 2 group names were silently
discarded.

The problem itself is that visit_rc_file seems to expect different
behavior from 'lookup' than it is getting.  When 'lookup' is called
with newsgroups comp.sys.masscomp and comp.sys.concurrent, both times
it returns a pointer to the group_header for comp.sys.concurrent.
The second time it returns, visit_rc_file overwrites the newsrc_seq
field in the structure set after the first call, and a whole block of
group_headers disappear from the rc_sequence chain.

I don't know what the right solution for this is.  I just deleted
the comp.sys.masscomp newsgroup from our active and GROUPS files, and
rebuilt the database.

---
Tom Fitzgerald      Wang Labs           fitz@wang.com
1-508-967-5278      Lowell MA, USA      ...!uunet!wang!fitz
Technical Details
Message-ID: <an2e0h.e7l@wang.com>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!archive!mbox2nntp-news.software.nn.mbox.zip!gmdzi!unido!mcsun!sunic!uupsi!rpi!zaphod.mps.ohio-state.edu!wuarchive!uunet!wang!fitz
References: <40968@apple.Apple.COM> <40976@apple.Apple.COM> <40981@apple.Apple.COM> <BH5JLPS@xavier.swarthmore.edu> <an0upc.80i@wang.com>

Show Full Headers
Complete Article Headers
Message-ID: <an2e0h.e7l@wang.com>
Subject: Re: 6.4.2 bug(s) -- .newsrc problems
Date: Tue, 22 May 1990 19:26:37 +0000
From: fitz@wang.com (Tom Fitzgerald)
References: <40968@apple.Apple.COM> <40976@apple.Apple.COM> <40981@apple.Apple.COM> <BH5JLPS@xavier.swarthmore.edu> <an0upc.80i@wang.com>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!archive!mbox2nntp-news.software.nn.mbox.zip!gmdzi!unido!mcsun!sunic!uupsi!rpi!zaphod.mps.ohio-state.edu!wuarchive!uunet!wang!fitz
Newsgroups: news.software.nn
Organization: Wang Labs, Lowell MA, USA
Lines: 30
Posted: Tue May 22 20:26:37 1990