Subject: pkg/5165: database/postgresql post-install: possible variable expansion botch
To: None <>
From: Klaus Klein <>
List: netbsd-bugs
Date: 03/16/1998 12:11:56
>Number:         5165
>Category:       pkg
>Synopsis:       databases/postgresql post-install: possible variable expansion botch
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    gnats-admin (GNATS administrator)
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon Mar 16 04:05:00 1998
>Originator:     Klaus Klein
Klaus Klein                                     
IPR, University of Karlsruhe                        Phone: +49 721 608 7112
Kaiserstr. 12, D-76128 Karlsruhe                      Fax: +49 721 608 7141
>Release:        19980314
System: NetBSD persuader 1.3E NetBSD 1.3E (PERSUADER+UVM) #3: Sat Mar 14 16:44:36 CET 1998 i386

The post-install target sets up a "${HOME}/.profile" script for the pgsql user.
When emitting its ${PATH} and ${MANPATH} assignment lines (which append an
additional element to the respective pre-set path), these variables are
expanded as set in the current execution environment.  This probably isn't what
the target's implementor had in mind.

Install the databases/postgresql package.  Examine "${PREFIX}/pgsql/.profile"

(If this PR is applicable, the fix should be obvious.)