No subject


Fri Feb 17 00:57:05 UTC 2012


For one thing, that error messages should clearly mention
xrefslave.  I have a strong feeling that other news
administrators will continue to burn time in similar
circumstances, until those error messages are made clearer.

Here's one simple possible patch to that respect:


bash-2.02$ diff -u innd/art.c.original innd/art.c
--- innd/art.c.original	Thu Jan 11 09:55:23 2001
+++ innd/art.c	Mon Feb 12 19:44:16 2001
@@ -2459,11 +2459,11 @@
     if (innconf->xrefslave) {
     	if (ARTxrefslave() == FALSE) {
     	    if (HDR(_xref)) {
-                (void)sprintf(buff, "%d Invalid Xref header \"%s\"",
+                (void)sprintf(buff, "%d Xref header \"%s\" invalid in xrefslave mode.",
 		    NNTP_REJECTIT_VAL,
 		    MaxLength(HDR(_xref), HDR(_xref)));
 	    } else {
-                (void)sprintf(buff, "%d No Xref header",
+                (void)sprintf(buff, "%d Xref header required in xrefslave mode.",
 		    NNTP_REJECTIT_VAL);
 	    }
             ARTlog(&Data, ART_REJECT, buff);


Secondly, inn should set its internal state
"innconf->xrefslave" to the default "no" whenever it is
about to reread inn.conf.



With high regards, and many thanks for providing fine
software,

Andreas Krüger

andreas.krueger at online.life.de


I assume this is an upstream issue, rather than a problem
specific to Debian Linux.  So I take the liberty to forward
this, via X-Debbugs-CC, from the Debian bug tracking system
to the inn bug tracking email address, that is, to
inn-bugs at isc.org.


Here's the Debian Linux version information:


 bash-2.02$ dpkg -s inn2; uname -a
 Package: inn2
 Status: install ok installed
 Priority: optional
 Section: news
 Installed-Size: 4296
 Maintainer: Bdale Garbee <bdale at gag.com>
 Version: 2.3.1-1
 Replaces: inewsinn, innfeed, inn
 Provides: news-transport-system, innfeed, inn
 Depends: libc6 (>= 2.2.1), libgdbmg1, libperl5.6 (>= 5.6.0), cron (>= 3.0pl1-42), mail-transport-agent, time, inn2-inews, grep (>= 2.0-13), perl5
 Suggests: pgp, wget
 Conflicts: inn, inewsinn, news-transport-system, innfeed
 Conffiles:
  /etc/cron.d/inn2 6b9840ec52ff4e753b67f0c887ca38bb
  /etc/init.d/inn2 ef0a5c84f716f4817306e14438d3741d
  /etc/news/actsync.cfg 2d617e3fb820d9ff9f75b7a8491366de
  /etc/news/actsync.ign 518f1ba2da13bb11eb9081acb8431a3d
  /etc/news/control.ctl 2c008880b14638d277b8325389600142
  /etc/news/cycbuff.conf a3305c0bf340ff1d7dadc5c6490d58d0
  /etc/news/expire.ctl bfedacd14e757ed152c87d2234a8f59f
  /etc/news/incoming.conf 9259bfe25c4ae84cc88e2d3278b222c9
  /etc/news/innfeed.conf 6a1fa8ec9c67eabbedf214fe748b1938
  /etc/news/innreport.conf 1fad29a352c73ad73aab5fc3469a610f
  /etc/news/innwatch.ctl ab1254dc2b954a335ddfa037c95371fd
  /etc/news/motd.news 4539b7568d3c56d0dd9d4180d7d4b933
  /etc/news/news2mail.cf 8941ee5e3c10698415980984757f0f32
  /etc/news/newsfeeds cf3330e1b26489f20f2d807f8d2d967d
  /etc/news/nnrpd.track 9bc82ca4b1dd00be79c3f7b177debc89
  /etc/news/nntpsend.ctl e67b7fbae32ec006573170476818920b
  /etc/news/overview.fmt 202288d3f285690ad6cd2c7b3d83a760
  /etc/news/readers.conf 9955242454219bc74379f80beb85900e
  /etc/news/storage.conf b2b31aec6625de88a4ec1f25a6ca6e8a
 Description: News transport system `InterNetNews' by the ISC and Rich Salz
  This package provides INN 2.X, which is Debian's preferred news transport
  system for new installations.  The 'inn' package still exists for sites
  running INN 1.X who are not prepared to upgrade yet.
  .
  The news transport is the part of the system that stores the articles
  and the lists of which groups are available and so on, and provides
  those articles on request to users.  It receives news (either posted
  locally or from a newsfeed site), files it, and passes it on to any
  downstream sites.  Each article is kept for a period of time and then
  deleted (this is known as `expiry').
  .
  By default Debian's INN will install in a fairly simple `local-only'
  configuration.
  .
  In order to make use of the services provided by INN you'll have to
  use a user-level newsreader program such as trn.  The newsreader is
  the program that fetches articles from the server and shows them to
  the user, remembering which the user has seen so that they don't get
  shown again.  It also provides the posting interface for the user.
 
 Linux fivefold 2.2.17 #1 Sun Jun 25 09:24:41 EST 2000 i686 unknown



More information about the inn-bugs mailing list