🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.b
Article #4740

Re: inn - 'cant nonblock 16 Invalid argument'

#4740
From: Per Hedeland
Date: Sat, 12 Dec 1992 13:55
23 lines
1821 bytes
In article <1gb1usINN5e2@milk.Warren.MENTORG.COM> tal@Warren.MENTORG.COM (Tom Limoncelli) writes:
>It turns out that this is happening because /usr/spool/news on the
>machine running innd is an NFS-mounted filesystem, and innd is trying
>to do an FIONBIO on my feed file, which is under /usr/spool/news/out.going.
>
>(tal@warren.mentorg.com adds:)
>All news transports (INN, C news, B news) want the spool partition to
>be local.  Newsreader can read from an NFS mounted partition without
>any problems but innd should only see local partitions.  NFS has a blantant
>disreguard for many of the file semantics that are needed for a good news
>implementation.  If you don't agree, please feel free to prove the authors
>of B news, C news, TMNNN (?), and INN wrong.  Include source code.

I certainly agree that the news transport shouldn't access the spool via
NFS - but why does INN try to to do an FIONBIO on a *file*?  Surely it
wouldn't be very expensive to precede it with an fstat, or perhaps
follow the failed FIONBIO with one, or just remember that it is a file
since the opening...?

--Per Hedeland
per@erix.ericsson.se  or
per%erix.ericsson.se@sunic.sunet.se  or
...uunet!erix.ericsson.se!per
Technical Details
Message-ID: <1992Dec12.135539.28843@eua.ericsson.se>
Path: arc1-ca.pugleaf.net!sparky!uunet!noc.near.net!hri.com!enterpoop.mit.edu!eru.mt.luth.se!lunic!sunic!sics.se!eua.ericsson.se!erix.ericsson.se!per
References: <Bz3rA9.61r@uxa.ecn.bgu.edu> <1gb1usINN5e2@milk.Warren.MENTORG.COM>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!noc.near.net!hri.com!enterpoop.mit.edu!eru.mt.luth.se!lunic!sunic!sics.se!eua.ericsson.se!erix.ericsson.se!per
From: per@erix.ericsson.se (Per Hedeland)
Newsgroups: news.software.b
Subject: Re: inn - 'cant nonblock 16 Invalid argument'
Message-ID: <1992Dec12.135539.28843@eua.ericsson.se>
Date: 12 Dec 92 13:55:39 GMT
References: <Bz3rA9.61r@uxa.ecn.bgu.edu> <1gb1usINN5e2@milk.Warren.MENTORG.COM>
Sender: news@eua.ericsson.se
Organization: Ellemtel Telecom Systems Labs, Stockholm, Sweden
Lines: 23
Nntp-Posting-Host: super.eua.ericsson.se
Nntp-Posting-User: per