πŸš€ go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #82773

Re: news.daily and missing innfeed.conf

#82773
From: Michael Grimm
Date: Wed, 10 Feb 2010 21:46
56 lines
3100 bytes
Julien Γ‰LIE <iulius@nom-de-mon-site.com.invalid> wrote:
> Hi Michael,

>> | nawk: can't open file /usr/local/news/etc/innfeed.conf
>>
> Are you sure that you are using the right news.daily file?

Yes. I downloaded the one you posted yesterday, and I double 
checked it again. Now, I modified your code as follows:
,----
| echo "INNFEEDCONF= "$INNFEEDCONF
| if [ -f ${INNFEEDCONF} ]; then
|     INNFEEDSPOOL=`${AWK} '{gsub(/:|#/, " & ")} {if ($1 == "backlog-directory" \
|                   && $2 == ":") print $3}' ${INNFEEDCONF}`
| echo "INNFEEDSPOOL= "$INNFEEDSPOOL
| fi
`----

./zzz is a shell script that invokes your new news.daily directly and
passes the new procbatchdir options:
,----
| feeder2|news> ./zzz
| INNFEEDCONF= /usr/local/news/etc/innfeed.conf
`----
and in the log file:
,----
| nawk: can't open file /usr/local/news/etc/innfeed.conf
| source line number 1
`----
But there is no /usr/local/news/etc/innfeed.conf
,----
| feeder2|news> ls -al /usr/local/news/etc/innfeed.conf
| ls: /usr/local/news/etc/innfeed.conf: No such file or directory
`----

That's really strange, because that simple script:
,----
| #!/bin/sh
| if [ -f /usr/local/news/etc/innfeed.conf ]; then
| 	echo found
| else
| 	echo not found
| fi
`----
works as expected:
,----
| feeder2|news> ./ztest 
| not found
`----

FreeBSD oddity? What else should I test?

Regards,
Michael
-- 
to let
Technical Details
Message-ID: <hkv9g5$1vmo$5@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!newsfeed00.sul.t-online.de!t-online.de!feeder.news-service.com!de-l.enfer-du-nord.net!feeder2.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>

Show Full Headers
Complete Article Headers
Message-ID: <hkv9g5$1vmo$5@de-l.enfer-du-nord.net>
Subject: Re: news.daily and missing innfeed.conf
Date: Wed, 10 Feb 2010 21:46:45 +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>
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!newsfeed00.sul.t-online.de!t-online.de!feeder.news-service.com!de-l.enfer-du-nord.net!feeder2.enfer-du-nord.net!reader.enfer-du-nord.net!not-for-mail
Newsgroups: news.software.nntp
Organization: ATK - Alternative Tierklinik links der Einfalt
Lines: 56
Mime-Version: 1.0
Content-Type: text/plain; charset=iso-8859-15
Content-Transfer-Encoding: 8bit
X-Trace: de-l.enfer-du-nord.net
 eJwNyckBwCAIBMCWRI6FchDd/ktI5juuITGw8DCnM3clUbdd3XJiCvmkdILz3mwOyk1OnNUgzQzK7j97pfAeAToW9sh+pecD3XYacA==
X-Complaints-To: abuse@de-l.enfer-du-nord.net
Cancel-Lock: sha1:S06LD9x6ZJlP/Vt4JNW9ao0Z5BA=
User-Agent: slrn/pre1.0.0-15/mm/ao (Darwin)
Mail-Copies-To: nobody