🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #37610

dsyncgroups failure on Solaris 7 [diablo 1.24-REL]

#37610
From: Todd C Miller
Date: Sun, 23 May 1999 00:00
20 lines
1178 bytes
I can't seem to get dsyncgroups, from diablo 1.24-REL, to work on
Solaris 7 (aka SunOS 5.7 ;-).  The mmap in kpdb.c:236 is failing
with EAGAIN and since there should be plenty of memory I'm guessing
that the following from mmap(2) might be relevant:

    EAGAIN
	The file to be  mapped  is  already  locked  using
	advisory   or   mandatory   record   locking.  See
	fcntl(2).

However, even after adding:
    hflock(kpdb->kp_Fd, 0, XLOCK_UN);
directly before the xmap() it still fails.  Is anyone running
diablo 1.24-REL with reader support on Solaris?

 - todd
-- 
     Todd C. Miller    Sysadmin/Consultant     Todd.Miller@courtesan.com

Technical Details
Message-ID: <7i8bcr$4qk$1@xyzzy.courtesan.com>
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

Show Full Headers
Complete Article Headers
Message-ID: <7i8bcr$4qk$1@xyzzy.courtesan.com>
Subject: dsyncgroups failure on Solaris 7 [diablo 1.24-REL]
Date: Sun, 23 May 1999 00:00:00 +0000
From: millert@courtesan.com (Todd C Miller)
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: 481106443
Organization: Courtesan Consulting
Newsgroups: news.software.nntp