🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #30550

Re: pipe problems with cnfs and inn-1998-08-11_04-00?

#30550
From: Ron Jarrell
Date: Mon, 17 Aug 1998 00:00
34 lines
2486 bytes
Ron Jarrell <jarrell@solaris.cc.vt.edu> wrote:
> but I'm still getting NOTHING...  Nothing in the documentation implied
> that CNFS breaks pipe feeds, or I wouldn't have burnt my bridge behind me
> before writing software to handles those dozen or so feeds.


Ok, so maybe it did, subtly.  I did read the man pages.  Twice.
I just didn't catch the subtle hint.. The man pages (which, BTW, are
becoming radically different from the comments in the individual
files) need bigger mentions of "storage api radically changes
this behavior" items...

From the newsfeeds man page:

A site fed by a program has  a  process  spawned  for  every
     article  that  the site receives.  The param field must be a
     sprintf(3) format string that may have a single  %s  parame-
     ter, which will be given a pathname for the article relative
     to the news spool directory or a token.  If the name is  not
     a token, the full path name may be obtained by prefixing the
     %s in the param field by the news  spool  directory  prefix.
     Standard  input will be set to the article, unless the arti-
     cle name is a token.  Standard output and error will be  set
     to  the error log ( <pathlogininn.conf>/errlog.  The process
     will run with the user and  group  ID  of  the  <pathrun  in
     inn.conf>  directory.   Innd  will  try  to avoid spawning a
     shell if the command  has  no  shell  meta-characters;  this
     feature can be defeated by appending a semi-colon to the end
     of the command.  The full pathname of the program to be  run
     must  be  specified;  for  security, PATH environment is not
     searched.


Technical Details
Message-ID: <6r82au$sb5$1@solaris.cc.vt.edu>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!not-for-mail
References: <6r8160$ivo$1@solaris.cc.vt.edu>

Show Full Headers
Complete Article Headers
Message-ID: <6r82au$sb5$1@solaris.cc.vt.edu>
Subject: Re: pipe problems with cnfs and inn-1998-08-11_04-00?
Date: Mon, 17 Aug 1998 00:00:00 +0000
From: Ron Jarrell <jarrell@solaris.cc.vt.edu>
References: <6r8160$ivo$1@solaris.cc.vt.edu>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!not-for-mail
X-Deja-AN: 381813817
X-Complaints-To: abuse@vt.edu
X-Trace: solaris.cc.vt.edu 903318685 29029 198.82.160.249 (17 Aug 1998 01:51:26 GMT)
Organization: Virginia Tech, Blacksburg, Virginia, USA
User-Agent: tin/pre-1.4-980226 (UNIX) (SunOS/5.5.1 (sun4u))
NNTP-Posting-Date: 17 Aug 1998 01:51:26 GMT
Newsgroups: news.software.nntp