🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #83769

Re: docheckgroups et al

#83769
From: John F. Morse
Date: Mon, 03 Jan 2011 20:07
142 lines
6441 bytes
Hi Russ,

> "John F. Morse" <john@example.invalid> writes:
>
>   
>> I understand what he in implying, and guess I'm just nit-picking the
>> term, looking for a way to totally automate the news server so I can go
>> on vacation. ;-)
>>     
>
> Er, well, there's no way that you can totally automate the news server if
> you want to manually edit what groups are added!
>
> You'll need to write ignore rules for actsync to ignore the groups that
> you don't want to add.
>   


"Automate" in this case meant to allow the control messages to keep the 
server updated. That should (is) possible.

The editing was done when adding thousands of groups, mainly to 
eliminate the alt.* garbage. That is finished, at least for the current 
server farm.

The control.ctl has the proper flags to keep the alt.* hierarchy from 
being destroyed:

newgroup:*:alt.*:drop
newgroup:group-admin@isc.org:alt.*:drop
newgroup:tale@*uu.net:alt.*:drop
rmgroup:*:alt.*:drop


>> My concern was actsync could not be directly piped into mod-active with
>> any positive result. It did nothing.
>>     
>
> That doesn't make any sense.  Either it's a bug or you're doing something
> wrong.
>   


I guess I'll never find out then, since I was not able to get it to work 
as I thought it should work.

However if I would have discovered earlier that any verbosity above -v0 
would cause the unneeded text, we wouldn't be having this discussion.

IOW, this causes the output to contain more than mod-active would swallow:

actsync -o c -z 0 -m -v 4 -p 0 /var/lib/news/active ./active-new


>> I had to run actsync, redirecting the output to a file, and then remove
>> everything but the actual ctlinnd newgroup command lines before
>> mod-active would act on it.
>>     
>
> What else was in the output of actsync -o c other than ctlinnd commands?
> You're apparently having some sort of bizarre problem that I don't
> understand.
>   


Try actsync with -v larger than zero. ;-)


>> I don't know if the latest discussion by Russ on the 1.5.0 release of
>> control-archive, specifically the "Fix broken checkgroups processing..."
>> has any connection to my problem with checkgroups or not. Perhaps Russ
>> found this bug while trying to recreate my reported difficulties?
>>     
>
> No, this doesn't have anything to do with INN.
>
>   
>> Also possibly connected was considerable checkgroups, plus rmgroup and
>> newgroup control message activity in the same newsgroups in the past
>> couple of days. Were these possibly forged rmgroup messages?
>>     
>
> I have no idea what you're talking about.  Are you basing this on the
> reports in news.lists.misc?  If so, this didn't have anything to do with
> rmgroup or newgroup control messages; it was a bug in checkgroups
> processing.
>   


There was a lot of activity in the past 3-4 days. Several control 
messages, including checkgroups, which removed a few groups, and were 
followed later by control messages creating the same groups.

You can see the activity here:

ftp://ftp.isc.org/pub/usenet/CONFIG/LOGS/log.2011-01

The Daily Reports indicated this and made me aware of the activity, and 
it was verified by running the "wc newsgroups active" command on each 
server.

The result was two INN 2.5.2. servers had identical wc results, while 
two INN 2.4.5 servers had identical results but were different than the 
INN 2.5.2 servers. That seems odd.

A third INN 2.4.5 testing server does not have the same PGP capability 
(no current keys) so it had yet another set of wc totals. This is not a 
problem since it is only a testing server, and quite frankly, I 
appreciate it reporting activity the other servers complete without any 
report.

I simply was curious if your control-archive work in fixing broken 
checkgroups might have had something to do with this activity over the 
past few days, especially on January 2 per the log.2011-01. The common 
denominator here is "checkgroups." ;-)

And if not, why the oddity of groups being removed and then added within 
a few hours or the next day. This seems abnormal, possibly a rogue 
attack, so I mentioned it.


>> If these removals were just errors by news administrators, they caused
>> the removal of several groups, including their watermarks. Then these
>> groups were replaced with zeroed watermarks when the groups were
>> recreated, and will result in newsreaders not seeing articles until the
>> new watermarks catch up to the various newsreaders (newsrc) databases.
>>     
>
> Yes, that always happens when a newsgroup is removed and then recreated in
> INN.
>   


Of course, but that was not a question. It was a statement of the extra 
work involved and the upcoming problem newsreaders will have until their 
newsrc catches up.


-- 
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: <ifta98$77o$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!nntp.giganews.com!postnews.google.com!news1.google.com!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> <8739p9c0d4.fsf@windlord.stanford.edu>

Show Full Headers
Complete Article Headers
Message-ID: <ifta98$77o$1@n102.xanadu-bbs.net>
Subject: Re: docheckgroups et al
Date: Mon, 03 Jan 2011 14:07:04 -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> <8739p9c0d4.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!nntp.giganews.com!postnews.google.com!news1.google.com!news.glorb.com!v102.xanadu-bbs.net!n102.xanadu-bbs.net!.POSTED!not-for-mail
Newsgroups: news.software.nntp
Organization: Xanadu BBS
Lines: 142
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 1294085224 7416 192.168.89.210 (3 Jan 2011
X-Complaints-To: newsmaster@xanadu-bbs.net
NNTP-Posting-Date: Mon, 3 Jan 2011 20:07:04 +0000 (UTC)
User-Agent: Thunderbird 2.0.0.24 (X11/20101027)
In-Reply-To: <8739p9c0d4.fsf@windlord.stanford.edu>
X-Enigmail-Version: 0.96.0