Package: postgresql-common
Version: 23
Severity: normal
Recently, the data directory of PostgreSQL has been moved from
/var/lib/postgres to /var/lib/postgresql. The home directory of the postgres
user, if it already existed, is left at the old value, however. This leads
to complaints when starting programs (such as pgpool) with su - postgres. I
suggest that the postinst script check that and change the home directory if
necessary.
E.g.,
if [ "$(getent passwd postgres | cut -d : -f 6)" = "/var/lib/postgres" ]; then
usermod -d /var/lib/postgresql postgres
fi
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]