Hi! Josh Narins [2005-06-15 11:46 -0400]: > > /etc/init.d/postgresql-7.4 stop > calls /usr/share/postgresql-common/init.d-functions > > This then asks for a Password: > > which stops shutdown of the machine.
Yesterday I debugged this with another user who had the same problem. Before doing a cluster operation, the wrapper scripts probe whether the cluster is running. Currently they use "psql -l" for that, but this asks for a password if you don't use "ident sameuser", but "md5"/"password" for local connections (which does not make too much sense, but apparently some people do that). I'm currently looking for a way to probe the postmaster without ever asking for a password. Unfortunately psql does not have a --no-password option, so I think I'll add a small custom program to some package. It's a bit tricky since postgresql-common is Arch: all, but I'll find a way. So in the meantime, please just disable local md5 authentication if possible. Martin -- Martin Pitt http://www.piware.de Ubuntu Developer http://www.ubuntu.com Debian Developer http://www.debian.org
signature.asc
Description: Digital signature

