🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #73840

Re: Adding new groups using mod-active

#73840
From: John F. Morse
Date: Tue, 11 Jul 2006 15:52
56 lines
3415 bytes
John F. Morse wrote:

> I found and have tried to use mod-active(8) to update the active file. 
> It appears to be working, and news.notice shows the activity, but 
> after it finishes, the active file is not updated. 



After a few hours of trial and error, here are my results on using 
mod-active(8) to add groups.

I discovered the input file for mod-active had to be written as:

ctlinnd newgroup group.one 0000000000 0000000001 y
ctlinnd newgroup group.two 0000000000 0000000001 y
ctlinnd newgroup group.three 0000000000 0000000001 y
ctlinnd newgroup group.four 0000000000 0000000001 y
ctlinnd newgroup group.five 0000000000 0000000001 y

This resulted in the following in the active file:

group.one 0000000000 0000000001 0
group.two 0000000000 0000000001 0
group.three 0000000000 0000000001 0
group.four 0000000000 0000000001 0
group.five 0000000000 0000000001 0

I have no idea why the zeros are in the flag when a "y" was given in the 
textfile. I tried it with uppercase "Y" and had the same result.

I also have no idea what will result when someone tries to post a 
message with these flags.

Anyone have any ideas?

Looking in active.times I see two oddities, which represent two 
top-level hierarchies

group* 1152265502 usenet
group.* 1152265633 usenet
group.one 1152628888 checkgroups-update
group.two 1152629058 checkgroups-update
group.three 1152629058 checkgroups-update
group.four 1152629058 checkgroups-update
group.five 1152629058 checkgroups-update

Looking at the epoch date, I probably had the first two groups 
previously on the server.

Another fly in the ointment: man active.times(5) brings up active(5) in 
Debian Sarge. The file is in /usr/share/man/man5 as active.times but it 
won't open using the man command. I had to read the active.times(5) 
version at die.net on the Web.

-- 
John
Technical Details
Message-ID: <5PPsg.363874$Fs1.281627@bgtnsc05-news.ops.worldnet.att.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!number1.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!wn14feed!worldnet.att.net!bgtnsc05-news.ops.worldnet.att.net.POSTED!17a21c27!not-for-mail
References: <mqqrg.333436$Fs1.231735@bgtnsc05-news.ops.worldnet.att.net> <87ac7lgvlb.fsf@windlord.stanford.edu> <pjJrg.106021$mF2.8602@bgtnsc04-news.ops.worldnet.att.net> <e8ojtj$tb9$1@puck.litech.org> <CG6sg.110418$mF2.78339@bgtnsc04-news.ops.worldnet.att.net> <87wtamww8p.fsf@windlord.stanford.edu> <n6Msg.117945$mF2.5310@bgtnsc04-news.ops.worldnet.att.net>

Show Full Headers
Complete Article Headers
Message-ID: <5PPsg.363874$Fs1.281627@bgtnsc05-news.ops.worldnet.att.net>
Subject: Re: Adding new groups using mod-active
Date: Tue, 11 Jul 2006 15:52:33 GMT
From: "John F. Morse" <xanadu.bbs@invalid.net>
References: <mqqrg.333436$Fs1.231735@bgtnsc05-news.ops.worldnet.att.net> <87ac7lgvlb.fsf@windlord.stanford.edu> <pjJrg.106021$mF2.8602@bgtnsc04-news.ops.worldnet.att.net> <e8ojtj$tb9$1@puck.litech.org> <CG6sg.110418$mF2.78339@bgtnsc04-news.ops.worldnet.att.net> <87wtamww8p.fsf@windlord.stanford.edu> <n6Msg.117945$mF2.5310@bgtnsc04-news.ops.worldnet.att.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!number1.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!wn14feed!worldnet.att.net!bgtnsc05-news.ops.worldnet.att.net.POSTED!17a21c27!not-for-mail
Reply-To: xanadu.bbs@invalid.net
Organization: Xanadu BBS
User-Agent: Debian Thunderbird 1.0.2 (X11/20060423)
X-Accept-Language: en-us, en
MIME-Version: 1.0
Newsgroups: news.software.nntp
In-Reply-To: <n6Msg.117945$mF2.5310@bgtnsc04-news.ops.worldnet.att.net>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
Lines: 56
NNTP-Posting-Host: 18840bf839f132c2ea7a36205ef0e528
X-Complaints-To: abuse@worldnet.att.net
X-Trace: bgtnsc05-news.ops.worldnet.att.net 1152633153
NNTP-Posting-Date: Tue, 11 Jul 2006 15:52:33 GMT