Date: Tue, 09 May 2006 23:43:08 +0700
From: Victor Snezhko <snezhko@indorsoft.ru>
To: freebsd-current@freebsd.org
Subject: ${prefix} variable contains invalid value for .sh startup scripts
Message-ID: <uody7174z.fsf@indorsoft.ru>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?uody7174z.fsf>
