πŸš€ go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #82792

Re: news.daily and missing innfeed.conf

#82792
From: Michael Grimm
Date: Fri, 12 Feb 2010 18:27
76 lines
4532 bytes
Julien Γ‰LIE <iulius@nom-de-mon-site.com.invalid> wrote:

> The line
> PROCBATCHDIR="${PATHSPOOL}/${INNFEEDSPOOL}"
> should not be here.
>
> Only:
> test -z "${INNFEEDSPOOL}" && test -d "${PATHSPOOL}/innfeed" && 
> INNFEEDSPOOL="innfeed"
> test -n "${INNFEEDSPOOL}" && PROCBATCHDIR="${PATHSPOOL}/${INNFEEDSPOOL}"

Ok, see below.

> How do you call news.daily?
> Is it with at least:
>
> news.daily procbatchdir=/usr/local/news/spool/innfeed-000 \
>            procbatchdir=/usr/local/news/spool/innfeed-001 \
>            procbatchdir=/usr/local/news/spool/innfeed-002

Yes, plus norotate noexpireover while testing.

> Looking at procbatch, I read:
> #
> # Hmm, perhaps we should try to read "backlog-directory"
> # from innfeed.conf. Oh well.
> #
> $tapeDir = $INN::Config::pathspool . "/innfeed";
>
> Ah!
>
> Maybe you could try:
>     ${PATHBIN}/procbatch -qmu -t ${DIRECTORY} $file
> in news.daily?

Well, that did the trick!

Now, I can run news.daily without any .../etc/innfeed.conf and
.../spool/innfeed. All innfeed-dropped.Axxxxxx that belong to running
innfeed instances won't be touched, and a fake one, that I did create
in one of my innfeed directories in addition to the regular one, 
becomes removed as expected.

Thus, from my point of view, this issue should be considered solved by
you. Here's the diff with regard to
http://inn.eyrie.org/trac/changeset/8978/trunk/scripts/news.daily.in

,----
| --- news.daily.in.sh-new	2010-02-12 19:11:38.000000000 +0100
| +++ news.daily.in.sh	2010-02-12 18:56:21.000000000 +0100
| @@ -41,7 +41,7 @@
|      INNFEEDSPOOL=`${AWK} '{gsub(/:|#/, " & ")} {if ($1 == "backlog-directory" && $2 == ":") print $3}' ${INNFEEDCONF}`
|  fi
|  test -z "${INNFEEDSPOOL}" && test -d "${PATHSPOOL}/innfeed" && INNFEEDSPOOL="innfeed"
| -test -n "${INNFEEDSPOOL}" && PROCBATCHDIR="${PATHSPOOL}/${INNFEEDSPOOL}"
| +PROCBATCHDIR="${PATHSPOOL}/${INNFEEDSPOOL}"
|  
|  ##  If your expire does not pause or throttle innd, enable this next line:
|  #MESSAGE="Expiration script $$"
| @@ -265,7 +265,7 @@
|                  done
|                  if [ "$FOUND" = "false" ]
|                  then
| -                    ${PATHBIN}/procbatch -qmu -t ${DIRECTORY} $file
| +                    ${PATHBIN}/procbatch -qmu $file
|                  fi
|              done
|          fi
`----

Thank you! And, I will test this new news.daily for the time being.

Regards,
Michael
-- 
to let
Technical Details
Message-ID: <hl46hq$30n$1@de-l.enfer-du-nord.net>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.20141118.mbox.gz!num2.nntp.dca.giganews.com!num1.nntp.dca.giganews.com!number.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!novia!feeder.news-service.com!de-l.enfer-du-nord.net!feeder1.enfer-du-nord.net!reader.enfer-du-nord.net!not-for-mail
References: <hkibmo$1ql2$3@de-l.enfer-du-nord.net> <hkjkms$56g$1@news.trigofacile.com> <hkjo4s$4ri$1@de-l.enfer-du-nord.net> <hkjtok$gd6$1@news.trigofacile.com> <hkka52$2f2o$1@de-l.enfer-du-nord.net> <hkmtlc$b1v$1@news.trigofacile.com> <hkn9ln$1r2h$1@de-l.enfer-du-nord.net> <hksf98$p99$1@news.trigofacile.com> <hkv2la$1icg$1@de-l.enfer-du-nord.net> <hkv56b$c82$1@news.trigofacile.com> <hkv610$1vmo$2@de-l.enfer-du-nord.net> <hkv7g7$eid$1@news.trigofacile.com> <hkv9g5$1vmo$5@de-l.enfer-du-nord.net> <87pr4c4v6m.fsf@windlord.stanford.edu> <87ljf04v55.fsf@windlord.stanford.edu> <hkvah2$1vmo$6@de-l.enfer-du-nord.net> <hkvbms$id7$1@news.trigofacile.com> <hkvcf3$1vmo$7@de-l.enfer-du-nord.net> <hkvdmd$k3f$1@news.trigofacile.com> <7tj6qcFr37U1@mid.individual.net> <hl1qgc$ru5$1@news.trigofacile.com> <hl1vtc$13te$1@de-l.enfer-du-nord.net> <hl24j0$5fe$1@news.trigofacile.com>

Show Full Headers
Complete Article Headers
Message-ID: <hl46hq$30n$1@de-l.enfer-du-nord.net>
Subject: Re: news.daily and missing innfeed.conf
Date: Fri, 12 Feb 2010 18:27:06 +0000
From: Michael Grimm <trashcan@odo.in-berlin.de>
References: <hkibmo$1ql2$3@de-l.enfer-du-nord.net> <hkjkms$56g$1@news.trigofacile.com> <hkjo4s$4ri$1@de-l.enfer-du-nord.net> <hkjtok$gd6$1@news.trigofacile.com> <hkka52$2f2o$1@de-l.enfer-du-nord.net> <hkmtlc$b1v$1@news.trigofacile.com> <hkn9ln$1r2h$1@de-l.enfer-du-nord.net> <hksf98$p99$1@news.trigofacile.com> <hkv2la$1icg$1@de-l.enfer-du-nord.net> <hkv56b$c82$1@news.trigofacile.com> <hkv610$1vmo$2@de-l.enfer-du-nord.net> <hkv7g7$eid$1@news.trigofacile.com> <hkv9g5$1vmo$5@de-l.enfer-du-nord.net> <87pr4c4v6m.fsf@windlord.stanford.edu> <87ljf04v55.fsf@windlord.stanford.edu> <hkvah2$1vmo$6@de-l.enfer-du-nord.net> <hkvbms$id7$1@news.trigofacile.com> <hkvcf3$1vmo$7@de-l.enfer-du-nord.net> <hkvdmd$k3f$1@news.trigofacile.com> <7tj6qcFr37U1@mid.individual.net> <hl1qgc$ru5$1@news.trigofacile.com> <hl1vtc$13te$1@de-l.enfer-du-nord.net> <hl24j0$5fe$1@news.trigofacile.com>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.20141118.mbox.gz!num2.nntp.dca.giganews.com!num1.nntp.dca.giganews.com!number.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!novia!feeder.news-service.com!de-l.enfer-du-nord.net!feeder1.enfer-du-nord.net!reader.enfer-du-nord.net!not-for-mail
Newsgroups: news.software.nntp
Organization: ATK - Alternative Tierklinik links der Einfalt
Lines: 76
Mime-Version: 1.0
Content-Type: text/plain; charset=iso-8859-15
Content-Transfer-Encoding: 8bit
X-Trace: de-l.enfer-du-nord.net
 eJwNyMkBwCAIBMCW3LAIlKMc/ZcQ5zkqGzuNWzd1dLJ66UJwcIgzUM5L9zILApXe6AlcU/Moz4m6UtI+J1lfK+W1hYdb8QfrPxpd
X-Complaints-To: abuse@de-l.enfer-du-nord.net
Cancel-Lock: sha1:WNOD8JyPgNcIuRDdOoXVDYbtnVw=
User-Agent: slrn/pre1.0.0-15/mm/ao (Darwin)
Mail-Copies-To: nobody