πŸš€ go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #83370

Re: INN 2.6.0 (20100812 snapshot) -- observations and questions

#83370
From: Michael Grimm
Date: Fri, 13 Aug 2010 19:41
111 lines
5875 bytes
Julien Γ‰LIE <iulius@nom-de-mon-site.com.invalid> wrote:

> If you use pullnews, do not forget to move "~/.pullnews" to
> "<pathdb>/pullnews.marks" as said in the upgrade section.

No, my feeders are innfeed only.

>> | $limitHI=131072
>> | /usr/local/news/etc/newsfeeds:154: bad value `$limitHI' for flag `<'
>>
>> I did check -by setting $limitHI to a very small size, and innfeed
>> seems to recognize that variable. Can anyone verify this?
>
> Substitutions work well.

Thanks for your verification.

> You can even use:
> $SEPARATOR=:
> example/example.com$SEPARATOR*,$alwaysWITHHOLD$SEPARATORAjp,Tm,<$limitHI$SEPARATORinnfeed
>
> :)

Well, that's some kind of geek code ;-)

> Note that innd recognizes it (not innfeed).  innd substitutes the variable
> and checks itself whether it should transfer the message to innfeed.
>
> Suggested patch for inncheck:
[snip]

Parfait, that worked.

>> Next, with an uninitialized CNFS INN complains at initial start (found
>> in news.err and news.notice):
>> ,----
>> | Aug 13 13:33:46 feeder innd: innfeed-1! spawned innfeed-1!:20:proc:9726
>> | Aug 13 13:33:46 feeder innfeed[9726]: ME starting at Fri Aug 13 13:33:46 2010 (INN 2.6.0 (20100812 snapshot))
>> | Aug 13 13:33:46 feeder innfeed[9726]: CNFS: no magic cookie found for cycbuff TR1, initializing
>> | Aug 13 13:33:46 feeder innfeed[9726]: CNFS: CNFSflushhead: attempted flush whilst read only
>> | Aug 13 13:33:46 feeder innfeed[9726]: CNFS: CNFSshutdowncycbuff: flushing TR1
>> | Aug 13 13:33:46 feeder innfeed[9726]: CNFS: CNFSflushhead: attempted flush whilst read only
>> | Aug 13 13:33:46 feeder innfeed[9726]: SM: storage method 'cnfs' failed initialization
>> | Aug 13 13:33:46 feeder innfeed[9726]: SM: one or more storage methods failed initialization
>> | Aug 13 13:33:46 feeder innfeed[9726]: Storage manager initialization failed
>> | Aug 13 13:33:46 feeder innd: CNFS: no magic cookie found for cycbuff TR1, initializing
>> | Aug 13 13:33:46 feeder innd: SERVER starting
>> | Aug 13 13:33:46 feeder innd: innfeed-1! exit 1 elapsed 0 pid 9726
>> | Aug 13 13:33:46 feeder innd: innfeed-1!:20:proc:9726 closed
>> | Aug 13 13:33:46 feeder innd: innfeed-1! spawned innfeed-1!:34:proc:9740
>> | Aug 13 13:33:46 feeder innd: innfeed-1! restarted
>> | Aug 13 13:33:46 feeder innfeed[9740]: ME starting at Fri Aug 13 13:33:46 2010 (INN 2.6.0 (20100812 snapshot))
>> | Aug 13 13:33:46 feeder innfeed[9740]: loading /usr/local/news/etc/INNFEED/innfeed-1.conf
>> `----
>> That's a behaviour I did observe in earlier versions as well. Just a
>> question here: is this 'Storage manager initialization failed' worth
>> being reported in news.err instead of news.notice? The first time I saw
>> this some time ago I believed INN having crashed during start-up.
>
> It could be a real issue; innfeed exits just after.

It happened at two servers, both did initialize all CNFS successfully,
afterwards. BTW: Those messages are repeated for every innfeed instance
running. They all try to inititialize the very same CNFS. Might that be
an issue?

> Maybe it would be better to log:
>   Storage manager initialization failed -- it is OK after a change in storage 
> methods
>
> ???

That would be ok. In news.notice?

>> ,----
>> | allwaysWITHHOLD=!control,!control.*,!junk,!local.*/!local
>> | example/example.com:*,$alwaysWITHHOLD:Ajp,Tm,<$limitHI:innfeed
>> `----
>

> "$alwaysWITHHOLD" and not "allwaysWITHHOLD" (two "l").  I just mention
> it in case there is a problem in your file, but maybe it was not an
> extract from them.

Thanks. But that was a typo in my posting, thanks God ;-) In German
'always' might be translated with 'allemal', might explain those two 'l'.

>> That's running as expected. But I'm unsure whether I do need an Ajp or an
>> Aj, only?
>
> "Ap" is something different.  It would check "example.com" only, and not
> both "example" and "example.com" in the Path: header field of the article,
> in order to decide the propagation.

Ok, then I will leave it at Apj.

>> And: do I need '!junk' any longer? I don't think so, correct?
>
> I do not understand the question.
> If you remove "!junk", then articles posted directly to the junk newsgroup
> (that is to say with "Newsgroups: junk" in their headers) will be propagated.

Oh, I see. Now I understand the manual text. I somehow managed to miss
the conceptual differenc in articles being posted into newsgroups
without active entry and those being posted into the newsgroup junk
intentionally. Thanks for clarification.

Regards,
Michael
-- 
to let
Technical Details
Message-ID: <i4475b$2n33$1@de-l.enfer-du-nord.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!border2.nntp.ams3.giganews.com!border2.nntp.ams2.giganews.com!border2.nntp.ams.giganews.com!nntp.giganews.com!de-l.enfer-du-nord.net!feeder2.enfer-du-nord.net!reader.enfer-du-nord.net!.POSTED!not-for-mail
References: <i43ta9$1m8g$1@de-l.enfer-du-nord.net> <i443es$fio$1@news.trigofacile.com>

Show Full Headers
Complete Article Headers
Message-ID: <i4475b$2n33$1@de-l.enfer-du-nord.net>
Subject: Re: INN 2.6.0 (20100812 snapshot) -- observations and questions
Date: Fri, 13 Aug 2010 19:41:32 +0000
From: Michael Grimm <trashcan@odo.in-berlin.de>
References: <i43ta9$1m8g$1@de-l.enfer-du-nord.net> <i443es$fio$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!border2.nntp.ams3.giganews.com!border2.nntp.ams2.giganews.com!border2.nntp.ams.giganews.com!nntp.giganews.com!de-l.enfer-du-nord.net!feeder2.enfer-du-nord.net!reader.enfer-du-nord.net!.POSTED!not-for-mail
Newsgroups: news.software.nntp
Organization: ATK - Alternative Tierklinik links der Einfalt
Mime-Version: 1.0
Content-Type: text/plain; charset=iso-8859-15
Content-Transfer-Encoding: 8bit
Injection-Info: reader.enfer-du-nord.net;
 posting-host="U2FsdGVkX19c9kLoLouR9A4CzoCKyJ1RMJ1Tr5Qja38=";
 mail-complaints-to="abuse@enfer-du-nord.net"
User-Agent: slrn/pre1.0.0-15/mm/ao (Darwin)
Cancel-Lock: sha1:e8Q5xhDK0GTEO2RKyNYCpqNpNJo=
Mail-Copies-To: nobody
Lines: 110
X-Original-Bytes: 5662