[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

Matthias Andree <matthias.andree@xxxxxx> wrote:
> 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.

He might have a look at /etc/news/leafnode/debian-config
and set NETWORK=none by running 'dpkg-reconfigure leafnode'

Unfortunately README.Debian seems to be outdated and does not mention
this option.

But, hey its experimental. ;-)

> Matthias

Schlechte Argumente bekämpft man am besten,
indem man ihre Darlegung nicht stört.
			--Sir Alec Guinness

leafnode-list mailing list