NetBSD Problem Report #7445
Received: (qmail 19133 invoked from network); 22 Apr 1999 20:07:40 -0000
Message-Id: <199904222007.WAA24697@local.net>
Date: Thu, 22 Apr 1999 22:07:08 +0200 (MEST)
From: ingolf@knuut.de
Reply-To: ingolf@knuut.de
To: gnats-bugs@gnats.netbsd.org
Subject: postgres installation problems
X-Send-Pr-Version: 3.95
>Number: 7445
>Category: pkg
>Synopsis: postgres fails to install if pgsql login exists
>Confidential: no
>Severity: non-critical
>Priority: medium
>Responsible: pkg-manager
>State: closed
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Thu Apr 22 13:20:00 +0000 1999
>Closed-Date: Sun Sep 19 17:06:30 +0000 1999
>Last-Modified: Sun Sep 19 17:07:05 +0000 1999
>Originator: Ingolf Koch
>Release: 1.3.3
>Organization:
Beste Kneipe in Jena-Ost
>Environment:
System: NetBSD maus 1.3.3 NetBSD 1.3.3 (MAUS) #0: Sat Feb 13 23:22:50 MET 1999 ingolf@maus:/usr/obj/sys/arch/amiga/compile/MAUS amiga
>Description:
During "make install" of postgresql-6.4.2, the directory
/usr/pkg/pgsql ist removed (rm -fr). If the pgsql login
does not yet exist, this directory will be created by
addnerd (see /usr/pkgsrc/databases/postgresql/pkg/REQ).
But if there is already a pgsql login, the addnerd call
is skipped, and the /usr/pkg/pgsql is not created.
make install fails later.
Additoinally, the REQ script should try to create the
ingres group _before_ calling addnerd. Otherwise,
addnerd sets pgsql's group to wheel.
>How-To-Repeat:
Remove pgsql from your passwd (or nis) data base and ingres
from your groups file.
Compile and try to install postgres.
First, addnerd adds pgsql to passwd (with wheel group), then
the REQ exits saying "Please add group ingres to /etc/group,
then restart."
Add ingres (and correct pgsql's group) and run make install
again.
/usr/pkg/pgsql is deleted but not created later on.
>Fix:
1. Exchange the check for ingres group and the addnerd part
in /usr/pkgsrc/databases/postgresql/pkg/REQ.
2. If pgsql already exists, create /usr/pkg/pgsql (or do
not remove it).
>Release-Note:
>Audit-Trail:
From: Klaus Klein <kleink@ira.uka.de>
To: gnats-bugs@gnats.netbsd.org
Cc: Subject: Re: pkg/7445: postgres installation problems
Date: 23 Apr 1999 10:42:13 +0200
For the record, this was also adressed in pkg/7384, section 1.
State-Changed-From-To: open->closed
State-Changed-By: jlam
State-Changed-When: Sun Sep 19 10:06:30 PDT 1999
State-Changed-Why:
Applied suggested fix.
>Unformatted:
(Contact us)
$NetBSD: query-full-pr,v 1.51 2026/08/10 02:28:17 riastradh Exp $
$NetBSD: gnats_config.sh,v 1.10 2026/05/13 22:00:09 riastradh Exp $
Copyright © 1994-2026
The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.