Re: Local Groups Message Body/Headers Blank

jegoer <[email protected]> Sun, 09 Jul 2006 12:31:03 -0400
Newsgroups gmane.network.sn
Message-ID <[email protected]>
Patrik R=E5dman wrote:
> jegoer <[email protected]> wrote:
>> Good Evening,
>>
>> I compiled and installed sn 0.3.8 on a fresh install of OpenBSD 3.9/i3=
86=20
>>  this evening.  After the initial install I found that messages sent t=
o=20
>> locally created groups were showing up in my newsreader as blank.  Upo=
n=20
>> further investigation I found that the only information contained with=
in=20
>> the message was the header "Xref: [host] test.group:10".  This was=20
>=20
> Well, Xref: is actually not stored in the article but generated on the =
fly,
> so that explains why that header is there.
>=20
> I believe this is the third report of problems on OpenBSD, but so far n=
o one
> has debugged what is causing it. It seems there is some trouble either =
reading
> or writing to the article database.
>=20
> You could try running with -Pddd added on the command lines to get maxi=
mum debug
> output and see if there's any error reported.
>=20
> If you look in /your/spool/test.group/1, do you see your test article t=
here or
> is it empty?
>=20
> Speculation: sn uses mmap() for accessing the database. Maybe there is =
some
> difference there in OpenBSD vs. Linux/Solaris/FreeBSD (where sn works).
>=20

SNROOT/test.group/1 is not empty.  I can view the posts in the file but=20
not when attempting to read via the news reader or in Telnet session.

With debugging enabled there is an error returned on local groups when=20
attempting to read an article that is not returned on remote groups:
   snntpd[1022]:putarticle:test.group:10 does not end in newline

Also, there were changes to malloc and mmap in OpenBSD 3.8.  See:=20
http://marc.theaimsgroup.com/?l=3Dopenbsd-misc&m=3D112475373731469