Article View: news.software.nntp
Article #2076Re: INN 1.3 news.daily hangs
From: Marc Unangst
Date: Wed, 11 Aug 1993 12:19
Date: Wed, 11 Aug 1993 12:19
28 lines
2157 bytes
2157 bytes
green@ids.net (Andy Green) writes:
>Hello folks. I'm running INN1.3, a recent install. Things seem to
>be going well, but I tried running news.daily (under the news id) and
>it chugs for a bit and then hangs. I'm not a Unix guru yet so my
>troubleshooting skills are limited. Does anyone know what might be
>the cause of this?
I'm having the same problem, also running under Linux 0.99pl11. To be
more exact, the news.daily script blocks for input from stdin
immediately after executing the shlock command. Hitting ^D *twice* on
stdin (the first one just prints "^D") causes the shell to print
"Syntax error" on stderr and exit. The problem seems to be related to
the file-descriptor redirection done by the "exec 3>&1 >/tmp/file
2>&1" statement a bit earlier in the script. If this exec statement
is removed, the script runs to completion; of course, the report then
goes to stdout rather than to a temporary file. This is probably a
bug in Bash, but I haven't tried to track it down yet.
Interestingly enough, there was a similar bug in the SVR4.0.3 /bin/sh
that caused innwatch to block for input from stdin after looping
through innwatch.ctl once. However, that bug appears to have been
fixed in SVR4.0.4.
--
Marc Unangst, N8VRH | "Free software is NOT the same thing as
mju@mudos.ann-arbor.mi.us | free beer."
| -Philip Knapp in comp.os.linux
Technical Details
Message-ID:
<24ao3u$ru7@mudos.ann-arbor.mi.us>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp-comp.os.linux.mbox.zip!gmd.de!xlink.net!math.fu-berlin.de!nigel.msen.com!heifetz!mbsun.mlb.org!mudos!mudos!not-for-mailReferences:
<2491om$37@paperboy.ids.net>Show Full Headers
Complete Article Headers
Message-ID: <24ao3u$ru7@mudos.ann-arbor.mi.us> Subject: Re: INN 1.3 news.daily hangs Date: Wed, 11 Aug 1993 12:19:10 +0000 From: mju@mudos.ann-arbor.mi.us (Marc Unangst) References: <2491om$37@paperboy.ids.net> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp-comp.os.linux.mbox.zip!gmd.de!xlink.net!math.fu-berlin.de!nigel.msen.com!heifetz!mbsun.mlb.org!mudos!mudos!not-for-mail Newsgroups: news.software.nntp,comp.os.linux Organization: The Programmers' Pit Stop, Ann Arbor MI Lines: 27 Distribution: inet NNTP-Posting-Host: localhost.ann-arbor.mi.us