diff options
author | Aaron W. Swenson <titanofold@gentoo.org> | 2013-06-09 01:25:06 +0000 |
---|---|---|
committer | Aaron W. Swenson <titanofold@gentoo.org> | 2013-06-09 01:25:06 +0000 |
commit | 06e4b096305332c0e0f9333d21e53b07d7a72a62 (patch) | |
tree | 041408b9524c0f072aa99877727c7ba3fc0b5ab3 | |
parent | Change ${socket_path} permissions so that users in the `postgres' (diff) | |
download | patches-06e4b096305332c0e0f9333d21e53b07d7a72a62.tar.gz patches-06e4b096305332c0e0f9333d21e53b07d7a72a62.tar.bz2 patches-06e4b096305332c0e0f9333d21e53b07d7a72a62.zip |
Change security definition.
Move away from putting users into groups.
https://bugs.gentoo.org/show_bug.cgi?id=460956
-rwxr-xr-x | postgresql.init | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/postgresql.init b/postgresql.init index aef9f04..6e0e965 100755 --- a/postgresql.init +++ b/postgresql.init @@ -61,7 +61,7 @@ checkconfig() { # Set the proper permission for the socket path and create it if # it doesn't exist. - checkpath -d -m 0750 -o postgres:postgres ${socket_path} + checkpath -d -m 0775 -o postgres:postgres ${socket_path} if [ -e ${socket_path%/}/.s.PGSQL.${configured_port} ] ; then eerror "Socket conflict." eerror "A server is already listening on:" @@ -95,8 +95,9 @@ start() { local retval=$? if [ $retval -ne 0 ] ; then - eerror "Check the log for a possible explanation of the above error." + eerror "Check the log for a possible explanation of the above error. The log may be" eerror " ${DATA_DIR%/}/postmaster.log" + eerror "Or wherever you configured PostgreSQL @SLOT@ log messages to be sent." eend $retval return $retval fi |