[leafnode-list] Failed posting - is this right?

Matthias Andree ma at dt.e-technik.uni-dortmund.de
Thu Jul 1 01:00:19 CEST 2004


"John Carlyle- Clarke" <john.cc at europlacer.co.uk> writes:

> I tested this, and it is repeatable.  Perhaps I am covering old ground
> here?  It is nothing to with the queuecheck script.  If I send a post to
> alt.test during a fetchnews run, after the server which carries alt.test
> has been processed, then the posting will fail.

[...]

> Generally, users do not know when fetchnews is running, not currently do
> they get any notification of a failed posting, which may be an admin
> issue - I'm sure a script could be cooked up to mail the user.

As a test to check where the problem lies,
does this patch make your problem go away?

Index: fetchnews.c
===================================================================
RCS file: /var/CVS/leafnode-2/fetchnews.c,v
retrieving revision 1.150
diff -u -r1.150 fetchnews.c
--- fetchnews.c	13 May 2004 11:16:38 -0000	1.150
+++ fetchnews.c	30 Jun 2004 22:57:47 -0000
@@ -2122,6 +2122,7 @@
 	    }
     }
 
+#ifdef DEAD_CODE
     /* Check for unsent postings, provided we were able to talk to all
      * servers successfully. Do not touch articles that have been posted
      * before. */
@@ -2148,6 +2149,7 @@
 	    free_dirlist(y);
 	}
     }
+#endif
     signal(SIGINT, SIG_IGN);
     signal(SIGTERM, SIG_IGN);	/* FIXME */

-- 
Matthias Andree

Encrypted mail welcome: my GnuPG key ID is 0x052E7D95 (PGP/MIME preferred)



More information about the leafnode-list mailing list