🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nn
Article #1107

Re: problem with GROUPS file

#1107
From: Kim F. Storm
Date: Thu, 15 Nov 1990 18:23
39 lines
2348 bytes
mahoney@zeus.usq.EDU.AU (mahoney barry) writes:

>Our problem is this: The GROUPS file appears to be causing
>problems when new groups are added. Two problems exist (which
>are probably related?)	- first groups are being duplicated
>with for example the following lines occuring in the GROUPS 
>file
>	comp.graphics.visualization
>	comp.graphics.visualization 658595281

Several reports have indicated similar problems at other sites recently.
I don't know what causes these problems, but I'll look for a way to
make nnmaster and nnadmin watch out for this kind of problems.

The actual problem is that the MASTER and GROUPS files are out of
sync, and there is only one way to fix this:

- Rebuild the database from scratch, ignoring the old GROUPS file.

You *can* preserve the GROUPS file if you get rid of the duplicates
manually (I'll make this automatic in the next patch).

The only known explanation for this problem is if somebody has edited
the GROUPS file while nnmaster has been running; this may cause a lot
of problems is nnmaster adds a new group to the GROUPS file, and then
the edited version is written back, thus losing nnmaster's latest updates.
I'll have to design a better algorithm for this - probably I'll separate
the GROUPS file into one maintained by nnmaster and one which the sysop
has access to to set the per-group options, and which nnmaster -G may
then be used to merge into the file maintained by nnmaster.

This will also allow better consistency checking on the GROUPS file, since
it is no longer expected to be modified by the sysop.

I'll "fix" this as soon as I have some time to work on nn again.

-- 
Kim F. Storm  <storm@texas.dk>		No news is good news,
Texas Instruments A/S, Denmark		  but nn is better!
Technical Details
Message-ID: <725@texas.dk>
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!dkuug!tidk!storm
References: <mahoney.658663219@zeus>

Show Full Headers
Complete Article Headers
Message-ID: <725@texas.dk>
Subject: Re: problem with GROUPS file
Date: Thu, 15 Nov 1990 18:23:08 +0000
From: storm@texas.dk (Kim F. Storm)
References: <mahoney.658663219@zeus>
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!dkuug!tidk!storm
Newsgroups: news.software.nn
Organization: Texas Instruments, Denmark
Lines: 39
Posted: Thu Nov 15 19:23:08 1990