Subject: pkg/5165: database/postgresql post-install: possible variable expansion botch
To: None <gnats-bugs@gnats.netbsd.org>
From: Klaus Klein <kleink@ira.uka.de>
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
>Last-Modified:
>Originator: Klaus Klein
>Organization:
Klaus Klein kleink@ira.uka.de
IPR, University of Karlsruhe Phone: +49 721 608 7112
Kaiserstr. 12, D-76128 Karlsruhe Fax: +49 721 608 7141
>Release: 19980314
>Environment:
System: NetBSD persuader 1.3E NetBSD 1.3E (PERSUADER+UVM) #3: Sat Mar 14 16:44:36 CET 1998 kleink@layla.inka.de:/vol/tmp/PERSUADER+UVM i386
>Description:
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.
>How-To-Repeat:
Install the databases/postgresql package. Examine "${PREFIX}/pgsql/.profile"
afterwards.
>Fix:
(If this PR is applicable, the fix should be obvious.)
>Audit-Trail:
>Unformatted: