🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #5884

Re: Unoff4 -- Now this is strange.

#5884
From: C.S.Chen
Date: Thu, 21 Mar 1996 00:00
65 lines
3223 bytes
C.S.Chen (chen@cc.nctu.edu.tw),16 Mar 1996 09:24:49 GMT wrote:
: -----------------------------------------------------------------------------
: crosspost cant symlink /var/spool/news/comp/binaries/mac/3677 comp/sources/mac/143 : No such file or directory
: -----------------------------------------------------------------------------

After some checking of the error log entries, the related spool directories
and the source programs, I suppose that I'd found the reason.

Here are the scenarios:
--------------------------------------
1) <innd> receive one article, 

2a) <innd> files it in the spool direcory,
      "/var/spool/news/comp/binaries/mac/3677 "
2b) innd pipes the article to "crosspost".

3a) <crosspost> attempts to create the link 
    /var/spool/news/comp/sources/mac/143

    But it fails. Because there is no "/var/spool/news/comp/sources/mac",
    only the parent directory "/var/spool/news/comp/sources" and other
    sub-directories exist.

3b) <crosspost> attempts to create the sysmlinks
    /var/spool/news/comp/sources/mac/143

    And it fails, with similar reasons like above.

--------------------------------------------------------------------
I suppose that my analysis of the program's behavior is not wrong.

So, could we could this a minor bug ?

I think this could be avoided by some minor modification of the source
program. Mabye I'll done it later. Or had someone already done it ?
--------------------------------------------------------------------

Some background Notes: (some "abnormal" environment)
======================

1) I'd checked the active file. We have the newsgroups "comp.source.mac" 
   in the active list. And it seems to be a low traffic one.

2) Recently, for some maintenance reason, I'd re-configured one of my 
   HDs for news spool, did "newfs" the HD and started receiving and 
   filing news articles again.

Some low traffic newsgroups did not have the luck to have their 
corresponding spool directories created after the re-construction
of the mentioned news spool HD until we'd switched to inn1.4unoff4
and installed the <crosspost> program.

And the errors appear.

PS.  
    In my memory, if <innd> were to meet the situation, it would
    re-create the directory silently, including all the related 
    intermediate sub-directories. 

    I suppose <crosspost> could/should deal with the situation in this way.
-- 
   C.S.Chen [ ������ ] 			* E-mail:  chen@cc.nctu.edu.tw 	
   Computer Center of National Chiao-Tung University, Hsinchu, Taiwan, R.O.C.

Technical Details
Message-ID: <4irc9p$8sn@netnews.nctu.edu.tw>
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: <4id42v$b56@marge.eaglequest.com> <4ie1d1$cm1@netnews.nctu.edu.tw>

Show Full Headers
Complete Article Headers
Message-ID: <4irc9p$8sn@netnews.nctu.edu.tw>
Subject: Re: Unoff4 -- Now this is strange.
Date: Thu, 21 Mar 1996 00:00:00 +0000
From: chen@cc.nctu.edu.tw (C.S.Chen)
References: <4id42v$b56@marge.eaglequest.com> <4ie1d1$cm1@netnews.nctu.edu.tw>
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: 143435774
Organization: National Chiao-Tung University, Taiwan
Nntp-posting-user: chen
Newsgroups: news.software.nntp