Martin Pitt dixit: >Christoph Berg [2012-12-19 10:40 +0100]: >> We could probably wait for the startup, but then exit 0 with the >> message "cluster is still starting up". > >I like that idea. It should avoid postinst failures on slow >architectures, but in the normal case a "/etc/init.d/postgresql >restart" should still wait until your cluster is ready to be used.
I think this does not work. One use case here is a buildd that tries to build something that is a PostgreSQL client, which then runs a DB server during its testsuite. I really think that the initscript needs to wait here, possibly pretty long (DB recovery was already mentioned) – after all, pgsql comes from BSD land “better slow than unsafe”. bye, //mirabilos -- 21:27⎜[Natureshadow] BÄH! Wer hatn das Bier neben den Notebooklüfter ⎜ gestellt ... Das ist ja warm! 21:27⎜>Natureshadow< lol 21:27⎜>Natureshadow< du? 21:27⎜[Natureshadow] vermutlich ... -- Kev^WNatureshadow allein zu Haus _______________________________________________ Pkg-postgresql-public mailing list Pkg-postgresql-public@lists.alioth.debian.org http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-postgresql-public