Hide Forgot
template database should be created if there is no data. %post server /sbin/ldconfig if [ ! -d /var/lib/pgsql/data ]; su -c "initdb --pglib=/usr/lib/pgsql --pgdata=/var/lib/pgsql" postgres 2>&1 fi will be all what is needed for keeping the init error away
Fixed (by creating/converting database when starting postmaster) in postgres-6.5.1-0.8 and later.