${prefix} variable contains invalid value for .sh startup scripts
Victor Snezhko
snezhko at indorsoft.ru
Tue May 9 16:43:20 UTC 2006
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 at indorsoft.ru
More information about the freebsd-current
mailing list