From owner-freebsd-current@FreeBSD.ORG Tue May 9 16:43:19 2006 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E72F216A435 for ; Tue, 9 May 2006 16:43:19 +0000 (UTC) (envelope-from snezhko@indorsoft.ru) Received: from indor.net.tomline.ru (indor.net.tomline.ru [213.183.100.90]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1A32843D4C for ; Tue, 9 May 2006 16:43:18 +0000 (GMT) (envelope-from snezhko@indorsoft.ru) Received: from SNEZHKO by indorsoft.ru (MDaemon.PRO.v7.2.2.R) with ESMTP id md50000077928.msg for ; Tue, 09 May 2006 23:43:12 +0700 From: Victor Snezhko To: freebsd-current@freebsd.org Date: Tue, 09 May 2006 23:43:08 +0700 Message-ID: User-Agent: Gnus/5.110005 (No Gnus v0.5) Emacs/21.3 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Processed: indor.net.tomline.ru, Tue, 09 May 2006 23:43:12 +0700 (not processed: spam filter disabled) X-Return-Path: snezhko@indorsoft.ru X-MDaemon-Deliver-To: freebsd-current@freebsd.org Subject: ${prefix} variable contains invalid value for .sh startup scripts X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 09 May 2006 16:43:20 -0000 Hello! I have updated my -current system for the first time since Apr 1st, and postgresql(databases/postgresql81-server) doesn't start here anymore. Error message at startup is: exec: /etc/rc//bin/pg_ctl: not found postgresql installs /usr/local/etc/rc.d/010.pgsql.sh startup script, which contains the following line: command=${prefix}/bin/pg_ctl I have noticed some messing with ${prefix} in /etc/rc.subr rev. 1.52, and indeed, reverting to 1.51 caused postgresql to start again. Who is wrong here? rc.subr? or postgresql startup script shouldn't use ${prefix} variable? -- WBR, Victor V. Snezhko E-mail: snezhko@indorsoft.ru