🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.admin.technical
Article #67

C News Posting w/ Sun OS

#67
From: John Locke
Date: Tue, 26 Jan 1993 02:31
20 lines
1319 bytes
This is a weird one. I have Pnews talking to the nntpd which calls on the
C news subsystem to inject a local post. My posts were disappearing
into the chain of Bourne shell scripts and not returning any error
messages. I traced the failure to this line in injnews:

	pnews /tmp/in$$ <$input >$censart

The syntax is fine. pnews creates stdout with cat and/or echo, but it goes
nowhere. $censart is created but receives no data. Extracting the case
into two simplified scripts fails to reproduce the error. So it seems that
the Bourne shell is failing for some set of conditions. It's the shell
with Sun OS 4.1.1. Has anyone else had this problem?

I have a temporary solution which has pnews output to /tmp/filename.
injnews then uses that name instead of $censart. Not a perfect answer,
since it creates a race condition for near-simultaneous posters. Does
anyone have any suggestions, or is this between me and Sun?

Thanks.
John
Technical Details
Message-ID: <1k27qkINNmkc@ftp.UU.NET>
Path: arc1-ca.pugleaf.net!sparky!uunet!not-for-mail

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!not-for-mail
From: jxxl@taurus.cs.nps.navy.mil (John Locke)
Newsgroups: news.admin.technical
Subject: C News Posting w/ Sun OS
Date: 25 Jan 1993 21:31:48 -0500
Organization: CS Dept
Lines: 21
Sender: zorch@ftp.UU.NET
Approved: zorch@uunet.UU.NET
Distribution: world
Message-ID: <1k27qkINNmkc@ftp.UU.NET>
NNTP-Posting-Host: ftp.uu.net