🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #46898

Re: ReiserFS and news

#46898
From: Russ Allbery
Date: Tue, 13 Jun 2000 00:00
29 lines
2030 bytes
Florian Weimer <fw@deneb.cygnus.argh.org> writes:

> I finally agree that there's indeed a bug in INN.  Maybe you could
> submit a bug report?  Your explanation is very clear.  In INN 2.2.2, the
> following code in nnrpd/group.c is problematic:

> | char *
> | XReadInFile(const char *fileName, struct stat *pst)
> | {

> [...]

> |     fd = open(fileName, O_RDONLY);
> |     if (fd >= 0) {
> |         if (fstat(fd, pst) == 0) {
> |             ptr = (char *)mmap((caddr_t)NULL, pst->st_size + 1,
> |                                 PROT_READ, MAP_SHARED, fd, 0);

This is unfortunately difficult to fix, and is now irrelevant for INN 2.3
because active file queries of this sort are now dealt with through the
overview database instead (nnrpd no longer memory maps the active file).
If someone wants to fix it for INN 2.2 in the near future, I can accept
the patch, but in the meantime I think I'd just recommend to ReiserFS
users to use the INN 2.3 beta instead.

-- 
Russ Allbery (rra@stanford.edu)             <http://www.eyrie.org/~eagle/>

Technical Details
Message-ID: <ylem622gid.fsf@windlord.stanford.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: <393F52CC.9FA1B9D6@int.tele.dk> <1rn1kwxq76.fsf@haey.ifi.uio.no> <8homi7$2vpt$1@mired.zark.thedonkeys.org> <yl8zwf7rr1.fsf@windlord.stanford.edu> <87u2f2oddl.fsf@deneb.cygnus.argh.org> <873dmm8uor.fsf@erlenstar.demon.co.uk> <87wvjw8ytg.fsf@deneb.cygnus.argh.org> <878zwc4kmy.fsf@erlenstar.demon.co.uk> <87em64aric.fsf@deneb.cygnus.argh.org>

Show Full Headers
Complete Article Headers
Message-ID: <ylem622gid.fsf@windlord.stanford.edu>
Subject: Re: ReiserFS and news
Date: Tue, 13 Jun 2000 00:00:00 +0000
From: Russ Allbery <rra@stanford.edu>
References: <393F52CC.9FA1B9D6@int.tele.dk> <1rn1kwxq76.fsf@haey.ifi.uio.no> <8homi7$2vpt$1@mired.zark.thedonkeys.org> <yl8zwf7rr1.fsf@windlord.stanford.edu> <87u2f2oddl.fsf@deneb.cygnus.argh.org> <873dmm8uor.fsf@erlenstar.demon.co.uk> <87wvjw8ytg.fsf@deneb.cygnus.argh.org> <878zwc4kmy.fsf@erlenstar.demon.co.uk> <87em64aric.fsf@deneb.cygnus.argh.org>
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: 633868038
Content-Type: text/plain; charset=us-ascii
Organization: The Eyrie
Mime-Version: 1.0
User-Agent: Gnus/5.0802 (Gnus v5.8.2) XEmacs/21.1 (Biscayne)
Newsgroups: news.software.nntp