Red Hat Bugzilla – Bug 11315
UUCP batch file never cleared
Last modified: 2008-05-01 11:37:55 EDT
I'm running sendbatch as root from /etc/cron.d as
10 * * * * root sendbatch -c otherhost | grep -v "No articles"
Normally, the sendbatch script flushes INN's out going stream
to otherhost and appends /var/spool/news/outgoing/otherhost
to /var/spool/news/outgoing/otherhost.uucp. Then it runs
batcher to send the listed articles to otherhost. When batcher
completes, it re-writes otherhost.uucp to only contain articles
which were not sent successfully, so they will be retried later.
This worked fine for my under RH5.2. Now, however, batcher
always rewrites otherhost.uucp identically, thus causing
outgoing articles to be sent multiple times. The articles are
going into the UUCP queue fine - uustat -a shows me that.
UUCP and INN packages are as shipped with RH6.2.
can you please check if inn-2.2.2-5 from the next rawhide release has
assign to laroche
I will check the Rawhide release as soon as I get a chance (probably Wed/Thurs
Downloaded inn-2.2.2-5 from Rawhide, but it requires an updated glibc. So I
downloaded the rawhide glibc as well and that will require me to upgrade
a _lot_ of other stuff. Not nice over a 28.8k modem :-(
I'll --rebuild the inn SRPM tomorrow night and see how that goes.
Rebuilding and installing inn-2.2.2-5 from Rawhide fixed the problem.
A new problem... inn-cron-rnews now contains:
/sbin/chkconfig innd && su - news -c /usr/bin/rnews -U
This should be
/sbin/chkconfig innd && su - news -c '/usr/bin/rnews -U'