Bug[?] In new local_startup and postgresql

Cristiano Deana
2005-12-21T15:50:25Z

After a today upgrade to 6-STABLE postgresql doesn't start at boot.
Strange beavior, if I run `/usr/local/etc/rc.d/010.pgsql.sh start' it
starts correctly.
010.pgsql.sh is the same of updated ports.

This is 010.pgsql.sh :
http://www.deana.it/010.pgsql.sh

Doug, this is resuls of running `sh rc' whit your patch:
http://www.deana.it/rc.late

# grep postgresql_enable /etc/rc.conf
postgresql_enable="YES"

This is the only one script doesn't working

>From a fresh boot:

db # ps ax | grep postmaster
  875  p0  S+     0:00.00 grep postmaster
db # /usr/local/etc/rc.d/010.pgsql.sh rcvar
# postgresql
$postgresql_enable=YES
db # /usr/local/etc/rc.d/010.pgsql.sh start
db # ps ax | grep postmaster
  903  p0  S      0:00.03 /usr/local/bin/postmaster -D
/usr/local/pgsql/data (postgres)
  908  p0  S      0:00.00 postmaster: stats buffer process    (postgres)
  909  p0  S      0:00.00 postmaster: stats collector process    (postgres)
  914  p0  S+     0:00.00 grep postmaster

thanks in advance.

--
Cris, member of G.U.F.I
Italian FreeBSD User Group