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

[leafnode-list] Multi-level Local Newsgroups Name Bugs



Given Local Newsgroups:
  x
  x.y

  x and .y are empty, just created.

Error I:
  Posting first message to x.y causes error.

  Clicking on x in Outlook Express says:
    Outlook Express was unable to retrieve all the headers from the
newsgroup 'x'.

    420 No articles in specified range.

    Configuration:
       Account: arendi.vcsd.com
       Server: arendi.vcsd.com
       Protocol: NNTP
       Port: 119
       Secure(SSL): 0
       Error Number: 420
       Code: 800cccac

  news.debug says:
    Jun 25 11:33:07 arendi leafnode[8251]: >240 Article posted, now be
patient
    Jun 25 11:33:07 arendi leafnode[8251]: >400 timeout - service
discontinued
    Jun 25 11:33:07 arendi leafnode[8252]: wrote
/var/spool/news/x.y/.overview
    Jun 25 11:33:10 arendi leafnode[7938]: <GROUP x
    Jun 25 11:33:10 arendi leafnode[7938]: rereading
/var/spool/news/leaf.node/groupinfo
    Jun 25 11:33:10 arendi leafnode[7938]: >211 2 1 1 x group selected
    Jun 25 11:33:10 arendi leafnode[7938]: <XOVER 1-1
    Jun 25 11:33:10 arendi leafnode[7938]: >420 No articles in specified
range.
    Jun 25 11:37:40 arendi leafnode[8049]: >400 timeout - service
discontinued

  /var/spool/news/leaf.node/groupinfo:
    x 0 0 993486787 ex
    x.y 2 1 991834462 wy

Analysis I:
  What leafnode did when the x.y message was posted is add both x and x.y to
groupinfo and created their directories.  It should NOT have added x to
groupinfo because x is empty and x in groupinfo causes the invalid XOVER.
Removing x from groupinfo stops the error (but every time a message is
posted to a child group (ie. x.y), x is broken by it being readded to
groupinfo):
    Jun 25 11:50:49 arendi leafnode[8538]: rereading
/var/spool/news/leaf.node/groupinfo
    Jun 25 16:50:49 arendi leafnode[8538]: <MODE READER
    Jun 25 11:50:49 arendi leafnode[8538]: >200 Leafnode 2.0b8, pleased to
meet you!
    Jun 25 11:50:49 arendi leafnode[8538]: <GROUP x
    Jun 25 11:50:49 arendi leafnode[8538]: >211 2 0 0 x group selected
	
Given:
  Post one article to x.

Error II:
  Outlook no longer errors but now reports 2 new messages.  Reading the one
and only message in x changes the 2 new to 1 new.  One is the just posted;
the other can't be read.  Saying "catch up" clears the 1 new but clicking
off and back on puts the 1 new back.  Adding group x.z causes x to show 2
new unreadables.

  ls of /var/spool/news/x/:
    2  y  z

  Jun 25 12:20:40 arendi leafnode[8865]: <GROUP x
  Jun 25 12:20:40 arendi leafnode[8865]: >211 3 1 2 x group selected
  Jun 25 12:20:40 arendi leafnode[8865]: <XOVER 1-2
  Jun 25 12:20:40 arendi leafnode[8865]: >224 Overview information for
postings 2-2:

  The two unreadable messages appear to be the y and z directories in x/.
If x/z/ is deleted, the unreadables reduce to 1; x/y/ similarily to fixed.

Analysis II:
  Leafnode reports to newsreader the number of messages in group based on
the number of files+directories in the local group dir (x/).  The newsreader
subtracts from it the message range and reports the difference as new
messages.  Leafnode should only count the number of files (not directories).

-- 
leafnode-list@xxxxxxxxxxxxxxxxxxxxxxxxxxxx -- mailing list for leafnode
To unsubscribe, send mail with "unsubscribe" in the subject to the list