Bug#317029: leafnode: Can't get a group if NODESC=1

2005-07-07 Thread Don Geddis
Matthias Andree [EMAIL PROTECTED] wrote on Wed, 6 Jul 2005 :
 Tried fetchnews -f yet?

No, I hadn't.

 I did so, with nodesc=1 set on news.gmane.org, and I have all gmane.org
 groups in my groupinfo file, albeit without descriptions.

Yup, looks like that works for me too.

 run fetchnews -f and see if that helps

Yup, that looks like it fixed my problem.  Thanks for helping me debug it.

-- Don
___
Don Geddis  http://don.geddis.org/   [EMAIL 
PROTECTED]


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#317029: leafnode: Can't get a group if NODESC=1

2005-07-06 Thread Matthias Andree
On Tue, 05 Jul 2005, Don Geddis wrote:

 I have access to two newsservers
   news.server1.com
   news.server2.com
 The first allows downloading of group descriptions, but the second does
 not.  So I have a
   NODESC = 1
 line on the second server.  However, there is one group in particular,
   alt.special-group
 that is only available on server2.
 
 impossible to subscribe to (and download) that group.  But the catch is that
 groups on NODESC = 1 servers don't get added to the groupinfo file.

I cannot reproduce this. Please check your log files for errors - see
the README files for how to configure syslog.

-- 
Matthias Andree


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#317029: leafnode: Can't get a group if NODESC=1

2005-07-06 Thread Don Geddis
Matthias Andree [EMAIL PROTECTED] wrote on Wed, 6 Jul 2005 :
 I cannot reproduce this. Please check your log files for errors - see
 the README files for how to configure syslog.

OK, let me try explaining a different way.  One such newsgroup that I have
in mind is
alt.binaries.aquaria
First I try the leafnode script touch_newsgroup:
unix:~ touch_newsgroup alt.binaries.aquaria
Can't select alt.binaries.aquaria
That seems to fail.  So then I try direct access with telnet:
unix:~ telnet 127.0.0.1 nntp
Trying 127.0.0.1...
Connected to 127.0.0.1.
Escape character is '^]'.
200 Leafnode NNTP Daemon, version 1.11.3.rel running at localhost (my 
fqdn: news.geddis.org)
group comp.lang.lisp
211 1555 13432 14986 comp.lang.lisp group selected
group alt.binaries.aquaria
411 No such group
quit
205 Always happy to serve!
Connection closed by foreign host.
As you can see, an ordinary group like comp.lang.lisp seems to work fine,
but leafnode gives me a 411 error when I try the alt.binaries.aquaria group.

So, is that group even available from my newsserver?  Let's try there:
unix:~ telnet newsgroups.comcast.net nntp
Trying 216.196.97.136...
Connected to comcast.dca.giganews.com.
Escape character is '^]'.
200 News.GigaNews.Com
authinfo user [...some username...]
381 more authentication required
authinfo pass [...some password...]
281 News.GigaNews.Com
group comp.lang.lisp
211 62358 115515 177872 comp.lang.lisp
group alt.binaries.aquaria
211 110 21524 21633 alt.binaries.aquaria
quit
205 goodbye
Connection closed by foreign host.

I've interpreted this evidence as saying that the group exists on the
upstream server, but since leafnode can't get a description of it in its
groupinfo file, it refuses to allow a client to attempt to subscribe to it.

I found no logging messages of interest in the syslog file.  It appears that
leafnode never attempts to download the group from any upstream server.

I'm not even sure what the architecture is supposed to do.  Presumably,
touch_newsgroup would be the interface to tell leafnode what groups I
want to download.  But that script is obviously rejecting my group before
ever contacting one of the upstream servers, so it clearly can't have any
idea whether that group exists on the upstream server or not.

-- Don
___
Don Geddis  http://don.geddis.org/   [EMAIL 
PROTECTED]


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#317029: leafnode: Can't get a group if NODESC=1

2005-07-06 Thread Mark Brown
On Wed, Jul 06, 2005 at 09:47:25AM -0700, Don Geddis wrote:

 I'm not even sure what the architecture is supposed to do.  Presumably,
 touch_newsgroup would be the interface to tell leafnode what groups I
 want to download.  But that script is obviously rejecting my group before

touch_newsgroup isn't part of leafnode proper, it's just a noddy client
that connects to Leafnode and reads an article from the group.  All
leafnode cares about is if a client is looking at the group - the only
reason touch_newsgroup exists is to work around problems that used to
exist where Leafnode wouldn't notice that a client was interested in low
volume groups.

-- 
You grabbed my hand and we fell into it, like a daydream - or a fever.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#317029: leafnode: Can't get a group if NODESC=1

2005-07-06 Thread Matthias Andree
On Wed, 06 Jul 2005, Don Geddis wrote:

 OK, let me try explaining a different way.  One such newsgroup that I have
 in mind is
...
 200 Leafnode NNTP Daemon, version 1.11.3.rel running at localhost (my 
 fqdn: news.geddis.org)
 group comp.lang.lisp
 211 1555 13432 14986 comp.lang.lisp group selected
 group alt.binaries.aquaria
 411 No such group
 quit
 205 Always happy to serve!
 Connection closed by foreign host.
 As you can see, an ordinary group like comp.lang.lisp seems to work fine,
 but leafnode gives me a 411 error when I try the alt.binaries.aquaria group.
 
 So, is that group even available from my newsserver?  Let's try there:
...
 281 News.GigaNews.Com
 group comp.lang.lisp
 211 62358 115515 177872 comp.lang.lisp
 group alt.binaries.aquaria
 211 110 21524 21633 alt.binaries.aquaria
 quit
 205 goodbye
 Connection closed by foreign host.

Tried fetchnews -f yet? I did so, with nodesc=1 set on news.gmane.org,
and I have all gmane.org groups in my groupinfo file, albeit without
descriptions. So nodesc doesn't preclude anything from being moved into
groupinfo yet. That server might not implement newgroups properly, or
another reason in the past, with an older leafnode version, and perhaps
with timeout_active configuration, may have prevented a proper refresh
of the groups.

 I've interpreted this evidence as saying that the group exists on the
 upstream server,

True.

 but since leafnode can't get a description of it in its
 groupinfo file, it refuses to allow a client to attempt to subscribe to it.

False. The groups are added to the groupinfo file before leafnode
attempts to download the group description. Only a premature fetchnews
crash can cause the groupinfo to be corrupt.

Check your syslog configuration (see README), perhaps restart syslogd
after reconfiguring syslog.conf, then run fetchnews -f and see if that
helps, or if it raises error messages.

-- 
Matthias Andree


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#317029: leafnode: Can't get a group if NODESC=1

2005-07-05 Thread Don Geddis
Package: leafnode
Version: 1.11.3.rel-2
Severity: normal

I have access to two newsservers
news.server1.com
news.server2.com
The first allows downloading of group descriptions, but the second does
not.  So I have a
NODESC = 1
line on the second server.  However, there is one group in particular,
alt.special-group
that is only available on server2.

I have been unable to find a way to read this group via leafnode, even
though I have access to a server that offers it.  For example, I tried
only_groups_pcre = alt\\.special-group
So far, it seems that, unless the group appears in the
groupinfo
file, then a placeholder directory will not be created, and it will be
impossible to subscribe to (and download) that group.  But the catch is that
groups on NODESC = 1 servers don't get added to the groupinfo file.

Unless I've missed something, it seems that there ought to be a way to
manually specify in the configuration file that a specific group is indeed
available from a specific server, and it ought to be fetched from there.

-- Don

-- System Information:
Debian Release: testing/unstable
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'unstable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.8-2-686-smp
Locale: LANG=en_US, LC_CTYPE=en_US (charmap=ISO-8859-1)

Versions of packages leafnode depends on:
ii  debconf 1.4.51   Debian configuration management sy
ii  libc6   2.3.2.ds1-22 GNU C Library: Shared libraries an
ii  libpcre35.0-1.1  Perl 5 Compatible Regular Expressi
ii  logrotate   3.7-5Log rotation utility
ii  netbase 4.21 Basic TCP/IP networking system
ii  tcpd7.6.dbs-8Wietse Venema's TCP wrapper utilit

-- debconf information:
* leafnode/update-groups: false
* leafnode/network: permanent
  leafnode/update-groupinfo:
  leafnode/tcpd: true
  leafnode/expireinfo:
  leafnode/purge: false
* leafnode/server: [news.somewhere.com]
  leafnode/update-maxcount:
  leafnode/ppp:


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]