🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #83606

Re: Watermarks upside down

#83606
From: John F. Morse
Date: Tue, 02 Nov 2010 22:40
95 lines
4902 bytes
Hi Julien,

> I just bet they are empty newsgroups.
> I am afraid I do not know such a method.
> A CNFS token contains the offset of the article in the buffer, not its
> article number.
>
>> What are the consequences of using "ctlinnd renumber" on 2.4.5 if 
>> these groups are not empty? Did the bug reset the watermarks to 
>> 0000000000 0000000000 instead of 0000000000 0000000001?
>
> I do not remember.  You can try on one group.
> (I believe "0 0" will not happen, though.)
> Note that it does not matter much between "0 6" and "0 1".  Both are
> empty groups.


I ran ctlinnd renumber {newsgroup} on one group, and the results were 
positive, so I did the remainder.

Well, it looks good. Here's what I had, and what I achieved:

news@optima11:/etc/news$ inncheck -v
Looking at /var/lib/news/active...
/var/lib/news/active:1179: `0000000000' <  '0000000006'.
/var/lib/news/active:1198: `0000000002' <  '0000000010'.
/var/lib/news/active:2563: `0000000000' <  '0000000002'.
/var/lib/news/active:6032: `0000000000' <  '0000000002'.
/var/lib/news/active:6045: `0000000000' <  '0000000002'.

  1179 at.anzeigen.wohnen 0000000000 0000000006 y
  1198 at.internet.provider 0000000002 0000000010 y
  2563 de.comp.text.dtp 0000000000 0000000002 y
  6032 za.net.misc 0000000000 0000000002 y
  6045 za.unix.misc 0000000000 0000000002 y

news@optima11:/var/lib/news$ cat -n active | grep 1179
  1179    at.anzeigen.wohnen 0000000000 0000000001 y
news@optima11:/var/lib/news$ cat -n active | grep 1198
  1198    at.internet.provider 0000000009 0000000003 y
news@optima11:/var/lib/news$ cat -n active | grep 2563
  2563    de.comp.text.dtp 0000000000 0000000001 y
news@optima11:/var/lib/news$ cat -n active | grep 6032
  6032    za.net.misc 0000000000 0000000001 y
news@optima11:/var/lib/news$ cat -n active | grep 6045
  6045    za.unix.misc 0000000000 0000000001 y


Notice that at.internet.provider "appears" to have six articles.

Using Pan, I only find article #5 though, which was posted today:

Date:                       Tue, 2 Nov 2010 15:45:29 +0100
Message-ID:                 <20101102154529.083f443e@news.pinguin.uni.cc>
Xref:                       optima11.xanadu-bbs.net at.internet.provider:5

Then another came in:

Date:                       Tue, 02 Nov 2010 23:07:30 +0100
Message-ID:                 <8jbgcuFjmcU1@mid.individual.net>
Xref:                       optima11.xanadu-bbs.net at.internet.provider:10

It was correctly assigned message number 10.

news@optima11:/var/lib/news$ cat -n active | grep 1198
  1198    at.internet.provider 0000000010 0000000003 y

This looks good.

I ran "ctlinnd renumber sci.engr.coastal" on the one group on the 
transit server, and the results were positive there as well.

news@optima2:~$ inncheck -v
Looking at /var/lib/news/active...
/var/lib/news/active:5117: `0000000004' <  '0000000006'.

  5117 sci.engr.coastal 0000000004 0000000006 y

ctlinnd renumber sci.engr.coastal

news@optima2:/var/lib/news$ cat -n active | grep 5117
  5117    sci.engr.coastal 0000000004 0000000005 y

That newsgroup is actually empty, and as far as I can tell by looking at 
n102, which has article retention back to when I first added the group, 
it has never received any articles. Well ... I guess nocem could have 
removed some spam. ;-)

Thanks for the help, Julien.


-- 
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: <iaq41a$vi8$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!news2.google.com!news.glorb.com!optima2.xanadu-bbs.net!n102.xanadu-bbs.net!.POSTED!not-for-mail
References: <iakcpm$not$1@n102.xanadu-bbs.net> <iakhd5$fu$1@news.trigofacile.com> <iakp6g$r36$1@n102.xanadu-bbs.net> <iapp8f$sqj$1@n102.xanadu-bbs.net> <iapuq8$5kg$1@news.trigofacile.com>

Show Full Headers
Complete Article Headers
Message-ID: <iaq41a$vi8$1@n102.xanadu-bbs.net>
Subject: Re: Watermarks upside down
Date: Tue, 02 Nov 2010 17:40:42 -0500
From: "John F. Morse" <john@example.invalid>
References: <iakcpm$not$1@n102.xanadu-bbs.net> <iakhd5$fu$1@news.trigofacile.com> <iakp6g$r36$1@n102.xanadu-bbs.net> <iapp8f$sqj$1@n102.xanadu-bbs.net> <iapuq8$5kg$1@news.trigofacile.com>
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!news2.google.com!news.glorb.com!optima2.xanadu-bbs.net!n102.xanadu-bbs.net!.POSTED!not-for-mail
Newsgroups: news.software.nntp
Organization: Xanadu BBS
Lines: 95
Reply-To: dont.bother
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
X-Trace: n102.xanadu-bbs.net 1288737642 32328 192.168.89.210 (2 Nov 2010
X-Complaints-To: newsmaster@xanadu-bbs.net
NNTP-Posting-Date: Tue, 2 Nov 2010 22:40:42 +0000 (UTC)
User-Agent: Thunderbird 2.0.0.24 (X11/20100317)
In-Reply-To: <iapuq8$5kg$1@news.trigofacile.com>
X-Enigmail-Version: 0.96.0