[leafnode-list] Re: Suppressing "no servers found" error message

Matthias Andree matthias.andree at gmx.de
Thu Apr 10 12:43:09 CEST 2008


Chris Davies schrieb:

> I now have another installation of Leafnode 2.0.0.alpha20070602a-2, as 
> shipped via Debian "experimental", which I want to use just as an NNTP 
> interface to a number of mailing lists. Consequently I have no need for 
> the servers= line in the /etc/news/leafnode/config configuration file.
> 
> Unfortunately, each hour I get an error message emailed to me saying, 
> "fetchnews: no servers found in configuration file."
> 
> Is there any way of disabling this message in the configuration? (I can 
> tweak the /etc/news/leafnode/do-fetch-news cron script to hide the 
> error, but I'd prefer for it not to be issued in the first place.)
> 
> If not, can it go on the wish-list, please?

Hi Chris,

while I don't know how Debian/experimental is packaged, it should actually 
be even simpler than that: don't run fetchnews if you're only serving local 
groups (such as gatewayed mailing lists) without connection to upstream 
groups. So tweak the script to not run fetchnews at all - this might be a 
wishlist item for the package so as to be able, from /etc/defaults/leafnode 
or something similar, to disable components that are becoming optional 
(such as fetchnews) with leafnode-2's local serving capability.

HTH
Matthias

-- 
Matthias Andree



More information about the leafnode-list mailing list