πŸš€ go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #82746

Re: Bogus error messages in innfeed.

#82746
From: D. Stussy
Date: Thu, 04 Feb 2010 22:39
77 lines
3690 bytes
"Julien Γ‰LIE" <iulius@nom-de-mon-site.com.invalid> wrote in message
news:hkck8r$d8a$1@news.trigofacile.com...
> > I've mentioned this before.  Innfeed flags certain things missing from
the
> > configuration file as errors (saying "required") but then continues to
run.
> >
> > If these things are really errors, then innfeed shouldn't run.  Since
it
> > runs, please remove these bogus warnings.
>
> My response will not change from what I said in May 2009.

I was hoping you might have reconsidered.

> I do not want to hack innfeed right now, especially when we say
everywhere
> that the value must exist at global scope.

But as innfeed runs without defining them in innfeed.conf, there is no such
requirement.

> If you do not want to have them at global scope, then you have to expect
> errors (even though innfeed works [and we have to be sure it works the
> way it is expected to]).

It's not that I don't have them at global scope.  I don't have them AT ALL,
and innfeed still runs.  Therefore, they are NOT required, and as such, the
log messages claiming that "a required value is missing" is a false
message.

> [me]
> >>> ##
> >>> ## Defaults for all peers. These must all exist at
> >>> ## global scope. Any of them can be redefined
> >>> ## inside a peer or group definition.
> >>> ##
> >>>
> >>> Why wouldn't you want not to list it in innfeed.conf?

Because there's no actual need to.

> >>> I believe the log is here to point out a possible problem in your
> >>> configuration; maybe default values are not the values you want.

Right, but then such messages shouldn't call them "required."  Required
values have NO defaults.

> >>> I do not know why the log is done this way (if I make the parameter
> >>> not required, it will still be logged that a missing value has been
added!).

Programs should lie?

> [you]
> >> Yes, it does say that.  However, it's not true.  Innfeed continues
with
> >> reasonable defaults.  I am of the habit of not writing configuration
files
> >> that include default values, so by habit, I omit them.  Obviously,
since it
> >> runs, they are NOT required.  ;-)
> >>
> >> (If it were truly required, innfeed would abort if they were absent
from
> >> the configuration.)
>
> [me]
> > I will have a look at it and try to improve the current system.
>
> [me again]
> I will not do anything about that right now.  What innfeed.conf needs is
> a rewrite to use Russ' configuration parser (like inn.conf).  It will
then
> be far better and we will properly define what is required or not.

Technical Details
Message-ID: <hkfic1$jn4$1@snarked.org>
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!border1.nntp.dca.giganews.com!nntp.giganews.com!goblin1!goblin2!goblin3!goblin.stu.neva.ru!gegeweb.org!news.snarked.org!not-for-mail
References: <hkamdd$s9$1@snarked.org> <hkck8r$d8a$1@news.trigofacile.com>

Show Full Headers
Complete Article Headers
Message-ID: <hkfic1$jn4$1@snarked.org>
Subject: Re: Bogus error messages in innfeed.
Date: Thu, 4 Feb 2010 14:39:42 -0800
From: "D. Stussy" <spam+newsgroups@bde-arc.ampr.org>
References: <hkamdd$s9$1@snarked.org> <hkck8r$d8a$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!border1.nntp.dca.giganews.com!nntp.giganews.com!goblin1!goblin2!goblin3!goblin.stu.neva.ru!gegeweb.org!news.snarked.org!not-for-mail
Newsgroups: news.software.nntp
Lines: 77
Reply-To: "D. Stussy" <replies@newsgroups.kd6lvw.ampr.org>
NNTP-Posting-Host: 71.118.51.220
X-Trace: snarked.org 1265323202 20196 71.118.51.220 (4 Feb 2010 22:40:02 GMT)
X-Complaints-To: newsmaster+complaints@snarked.org
NNTP-Posting-Date: Thu, 4 Feb 2010 22:40:02 +0000 (UTC)
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1478
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1478