From nobody  Thu Apr 16 08:54:23 1998
Received: (from nobody@localhost)
          by hub.freebsd.org (8.8.8/8.8.8) id IAA02571;
          Thu, 16 Apr 1998 08:54:23 -0700 (PDT)
          (envelope-from nobody)
Message-Id: <199804161554.IAA02571@hub.freebsd.org>
Date: Thu, 16 Apr 1998 08:54:23 -0700 (PDT)
From: rfinn@hiwd.net
To: freebsd-gnats-submit@freebsd.org
Subject: can't run any version of PostgreSQL on 2.2.6
X-Send-Pr-Version: www-1.0

>Number:         6321
>Category:       ports
>Synopsis:       can't run any version of PostgreSQL on 2.2.6
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    andreas
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Thu Apr 16 09:00:01 PDT 1998
>Closed-Date:    Mon Apr 12 13:39:21 PDT 1999
>Last-Modified:  Mon Apr 12 13:40:40 PDT 1999
>Originator:     Richard J. Finn
>Release:        2.2.6
>Organization:
Houston InterWeb Design, Inc.
>Environment:
FreeBSD kay.houston-interweb.com 2.2.6-RELEASE FreeBSD 2.2.6-RELEASE #0: Tue Apr  7 09:18:34 CDT 1998     rfinn@kay.houston-interweb.com:/usr/src/sys/compile/KAY  i386

>Description:
I have my kernel configured with the System V options, but everytime I try
try to get PostgreSQL up it dies.  I compile it, install it, initialize it,
and try to run it.  It dies hard:
createdb postgres
Connection to database 'template1' failed.
PQexec() -- Request was sent to backend, but backend closed the channel before responding.  This probably means the backend terminated abnormally before or while processing the request.
createdb: database creation failed on postgres.
kay /usr/devel/pgsql/data/base $ cd ..
[1]+  Bad system call         (core dumped) postmaster  (wd: /usr/devel/pgsql/data/base)
(wd now: /usr/devel/pgsql/data)

I've tried this with versions 6.0, 6.3, and 6.3.1.  I even used the port provided which is version
6.2.1.  They all die the same way.  I had no trouble getting these to run on 2.1.5, 2.1.7,
2.2.2 and 2.2.5.


>How-To-Repeat:
Try to install it on FreeBSD 2.2.6
>Fix:

>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->analyzed 
State-Changed-By: wollman 
State-Changed-When: Thu Apr 16 09:19:04 PDT 1998 
State-Changed-Why:  
This is not a bug.  It's incomplete documentation.  PostgreSQL requires 
System V-style semaphores, which are not a default configuration in 
any FreeBSD release.  (I can verify that it does work under 2.2.6 when the 
kernel is properly configured.) 

However, this is not documented anywhere.  The internal documentation 
of the port should mention this somewhere. 


Responsible-Changed-From-To: freebsd-bugs->freebsd-ports 
Responsible-Changed-By: wollman 
Responsible-Changed-When: Thu Apr 16 09:19:04 PDT 1998 
Responsible-Changed-Why:  
IT's a ports problem. 

From: Tim Vanderhoek <hoek@hwcn.org>
To: Garrett Wollman <wollman@FreeBSD.ORG>
Cc: rfinn@hiwd.net, freebsd-gnats-submit@FreeBSD.ORG
Subject: Re: misc/6321
Date: Thu, 16 Apr 1998 17:47:02 -0400 (EDT)

 On Thu, 16 Apr 1998, Garrett Wollman wrote:
 
 > However, this is not documented anywhere.  The internal documentation
 > of the port should mention this somewhere.
 
 Or the port patched to catch SIGSYS.  I believe there is at least
 one other port which does this.
 
 
 --
 Outnumbered?  Maybe.  Outspoken?  Never!
 tIM...HOEk
 
 
Responsible-Changed-From-To: freebsd-ports->andreas 
Responsible-Changed-By: obrien 
Responsible-Changed-When: Tue Jul 28 11:19:25 PDT 1998 
Responsible-Changed-Why:  
andreas is the maintainer 
State-Changed-From-To: analyzed->closed 
State-Changed-By: andreas 
State-Changed-When: Mon Apr 12 13:39:21 PDT 1999 
State-Changed-Why:  
added a note in pre-fetch target, to build a proper kernel with 
options  "SYSVSHM, SYSVSEM, SYSVMSG" 
>Unformatted:
