🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #83789

Re: docheckgroups et al

#83789
From: John F. Morse
Date: Tue, 04 Jan 2011 22:07
134 lines
5881 bytes
Russ Allbery wrote:

> So apparently you've already synchronized your active file with the ISC
> one and there's nothing to change.  Given that you've mentioned that
> you're running actsync already, that doesn't surprise me.  Did you not
> expect this behavior?
>   


My active file is not synchronized with the active file at ISC. I have 
already reported that I do not carry most all of the alt.binaries 
groups. That makes a huge difference.

I have not run actsync already. When I ran it it was many months ago on 
an old server that is no longer online.

The issue is docheckgroups.


>> I made the input file smaller by cutting out all but 10 lines from the
>> newsgroups-ISC file and saved it as "newsgroups-ISC_small":
>>     
>
>   
>> news@n102:/var/lib/news$ head newsgroups-ISC > newsgroups-ISC_small | wc
>> -l newsgroups-ISC_small
>> 10 newsgroups-ISC_small
>> news@n102:/var/lib/news$
>>     
>
>   
>> Then I ran docheckgroups with this smaller ten-line newsgroup file, and it
>> created over 34 thousand lines of corrections and needed changes,
>> basically listing the complete alt.* hierarchy, plus my local groups which
>> are listed in /etc/news/localgroups.
>>     
>
> Well, yes.  You created a checkgroups for the alt.* hierarchy that
> contained only ten groups and then applied it.  docheckgroups dutifully
> wanted to remove every other group in the alt.* hierarchy.  A checkgroups
> is a complete list of the groups in the hierarchy, and applying a
> checkgroups for a hierarchy will remove groups on the server in that
> hierarchy that aren't listed in the checkgroups.
>   


Ah, so it is based on hierarchies?

Then why did it want to remove my local groups?


>> It listed 6876 groups for removal. This would have been a catastrophe had
>> I been piping this into mod-active!
>>     
>
> Well, yes.  Among other things that would be a catastrophe would be for
> you to randomly rm -rf parts of your server.  So don't do that!  :)
>   


Thanks for the help.


>> Sadly, this is what actually happened to some 900 alt.* groups a couple
>> of weeks ago, and the reason for my posting.
>>     
>
> You downloaded a newsgroups file, edited it to remove groups that are
> already on your server, and ran it through docheckgroups, and then had
> problems because the groups you deleted from the checkgroups were removed
> from your server?
>   


No, I edited the file to make it smaller so docheckgroups would not 
croak on it and silently quit.


> That's what you demonstrated in this message, so if what happened a couple
> of weeks ago was something different, unfortunately this message didn't
> help much in figuring out what happened.
>   


Guess not.


>> So it appears docheckgroups still has a problem running when using a large
>> newsgroup comparison file.
>>     
>
>   
>> Then it creates a big mess when the file is small enough to allow
>> docheckgroups to actually run.
>>     
>
> I don't believe you've demonstrated either of those things.  In both
> cases, it seems to have done what I would have expected it to do.  But
> maybe you know there are groups in the large ISC newsgroups file that you
> don't have on your server?
>   


I am very aware of that.


>> It doesn't appear to recognize the /etc/news/localgroups list.
>>     
>
>   
>> It wants to change two local moderated groups to "y" from "m" -- these
>> groups have "(no posting)" instead of "(Moderated)" in their descriptions,
>> which might be the problem. If I changed them to "n" I'd probably still
>> receive the docheckgroups attempt to change them to "y" wouldn't I?
>>     
>
> Are these two paragraphs talking about the same issue, or are they two
> different things?
>   


I don't know, Russ. I'm reporting what I did because Julien asked.

But let me state that the same issue is that docheckgroups is not doing 
what I would expect it to do according to what I have read in the man page.

Let's just drop this issue. I can live with what I have figured out and 
have used successfully.


-- 
John

When a person has -- whether they knew it or not -- already rejected the Truth, by what means do they discern a lie?
Technical Details
Message-ID: <ig05m5$2ij$1@n102.xanadu-bbs.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.20141118.mbox.gz!num2.nntp.dca.giganews.com!num1.nntp.dca.giganews.com!number.nntp.dca.giganews.com!border3.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!border4.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!novia!news.glorb.com!v102.xanadu-bbs.net!n102.xanadu-bbs.net!.POSTED!not-for-mail
References: <ie88v7$hg8$1@n102.xanadu-bbs.net> <ifb38e$2m6$1@puck.litech.org> <ifcmdj$h2p$1@n102.xanadu-bbs.net> <87ipydiwys.fsf@windlord.stanford.edu> <ifri8f$4jg$1@puck.litech.org> <ifs1r4$rjh$1@n102.xanadu-bbs.net> <8oejprF38fU1@mid.individual.net> <ifth0a$92v$1@n102.xanadu-bbs.net> <8of2b7FqphU1@mid.individual.net> <ifvkrk$tqg$1@n102.xanadu-bbs.net> <87r5csmuwk.fsf@windlord.stanford.edu>

Show Full Headers
Complete Article Headers
Message-ID: <ig05m5$2ij$1@n102.xanadu-bbs.net>
Subject: Re: docheckgroups et al
Date: Tue, 04 Jan 2011 16:07:01 -0600
From: "John F. Morse" <john@example.invalid>
References: <ie88v7$hg8$1@n102.xanadu-bbs.net> <ifb38e$2m6$1@puck.litech.org> <ifcmdj$h2p$1@n102.xanadu-bbs.net> <87ipydiwys.fsf@windlord.stanford.edu> <ifri8f$4jg$1@puck.litech.org> <ifs1r4$rjh$1@n102.xanadu-bbs.net> <8oejprF38fU1@mid.individual.net> <ifth0a$92v$1@n102.xanadu-bbs.net> <8of2b7FqphU1@mid.individual.net> <ifvkrk$tqg$1@n102.xanadu-bbs.net> <87r5csmuwk.fsf@windlord.stanford.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.20141118.mbox.gz!num2.nntp.dca.giganews.com!num1.nntp.dca.giganews.com!number.nntp.dca.giganews.com!border3.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!border4.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!novia!news.glorb.com!v102.xanadu-bbs.net!n102.xanadu-bbs.net!.POSTED!not-for-mail
Newsgroups: news.software.nntp
Organization: Xanadu BBS
Lines: 134
Reply-To: dont.bother
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
X-Trace: n102.xanadu-bbs.net 1294178821 2643 192.168.89.210 (4 Jan 2011
X-Complaints-To: newsmaster@xanadu-bbs.net
NNTP-Posting-Date: Tue, 4 Jan 2011 22:07:01 +0000 (UTC)
User-Agent: Thunderbird 2.0.0.24 (X11/20101027)
In-Reply-To: <87r5csmuwk.fsf@windlord.stanford.edu>
X-Enigmail-Version: 0.96.0