🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nn
Article #1062

Re: nnadmin problem

#1062
From: Kim F. Storm
Date: Fri, 09 Nov 1990 16:45
46 lines
2415 bytes
Long time ago david@cs.uow.edu.au (David E A Wilson) wrote:

>Running nn 6.4.8 on Sun-4/260 running SunOS 4.1

>The newsgroup comp.sys.apple was deleted after the creation of comp.sys.apple2
>but nn doesn't seem to know. Here is the output of running nnadmin on it.

[deleted]

>D)ata E)xpire F)iles G)roup H)eader R)ecollect V)alidate Z)ap
>GROUP comp.sys.apple >>>z
>Confirm Remove Group (run rmgroup)  Y)es N)o >>>y
>Not privileged to run rmgroup

>Questions:
>1)	Why does D)ata claim the database is inconsistent when validate can
>	find no problems?

This is caused by a bug which was fixed in patch 10.

>2)	Why would root not be privileged to run rmgroup?

Because it tested on the real uid rather than the effective uid.
Fixed in patch 11.

But there is perhaps a small misunderstanding here.  The Z)ap option
will only run rmgroup to remove the group from the news system, and 
then nnmaster is expected to notice this on the next scan of the active
file. And 6.4.10 will do that.

>3)	comp.sys.apple is not in the active file so a sucessfull rmgroup
>	occurred in the past - what is needed to remove a group from nn?

As stated above, there is nothing you should do except removing the 
group the usual way.  But there was a bug which sometimes prevented this.

Anyway, groups are never removed completely from the database, since
there will still be allocated an entry for the group in the MASTER and
the GROUPS files (where the name will also appear).  It is planned to
do better cleaning of the MASTER and GROUPS file to remove all traces
of removed groups, but for all practical purposes, removed groups which
do appear in the database are ignored by nn (and nnmaster).

-- 
Kim F. Storm  <storm@texas.dk>		No news is good news,
Texas Instruments A/S, Denmark		  but nn is better!
Technical Details
Message-ID: <709@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: <992@wraith.cs.uow.edu.au>

Show Full Headers
Complete Article Headers
Message-ID: <709@texas.dk>
Subject: Re: nnadmin problem
Date: Fri, 09 Nov 1990 16:45:10 +0000
From: storm@texas.dk (Kim F. Storm)
References: <992@wraith.cs.uow.edu.au>
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
Distribution: news
Organization: Texas Instruments, Denmark
Lines: 46
Posted: Fri Nov 9 17:45:10 1990