Summary: | postgresql-server-8.3: incorrect permissions on /var/run/postgresql | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Marti Raudsepp <marti> |
Component: | New packages | Assignee: | PgSQL Bugs <pgsql-bugs> |
Status: | RESOLVED INVALID | ||
Severity: | major | ||
Priority: | High | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
Marti Raudsepp
2008-09-03 09:27:31 UTC
I assume you mean dev-db/postgresql-server? Just postgresql-server is ambiguous. But obviously the first who didn't read the messages spit out by the ebuild: "Please note that the standard location of the socket has changed from /tmp" "to /var/run/postgresql and you have to be in the 'postgres' group to access" "the socket." "This can break applications which have the standard location hard-coded." "If such an application links against the libpq, please re-emerge it," "if that doesn't help or the application accesses the socket without using libpq," "please file a bug-report." "You can set PGOPTS='-k /tmp' in /etc/conf.d/postgresql-${SLOT} to restore the original location." I did added myself to group "postgres" re-log IN but still couldn't access the socket. However, changing permission to: /var/run/postgresql directory mode to 0771 solved the problem. So what is the point being in group "postgres" since it doesn't work. |