- bsc#1179231: Add an explanation for the /tmp -> /run/postgresql

move and permission change.

OBS-URL: https://build.opensuse.org/package/show/server:database:postgresql/postgresql?expand=0&rev=149
This commit is contained in:
Reinhard Max 2023-05-15 15:08:14 +00:00 committed by Git OBS Bridge
parent 2d5f7791f6
commit 3d54e65b53
2 changed files with 14 additions and 1 deletions

View File

@ -29,11 +29,22 @@ product by recommending the respective binary packages.
By default, database data are stored under /var/lib/pgsql/data on SUSE
Linux.
Unix-Domain Socket Directory
============================
Traditionally a PostgreSQL server puts its unix domain sockets for
local client connections into the /tmp directory.
local client connections into the /tmp directory, which is not
intended for this kind of use and allows unprivileged users to start
rogue PostgreSQL servers. For that reason SUSE has moved the default
directory for these sockets to /run/postgresql and set the permissions
of that directory to only allow the postgres user and members of the
postgres group to start servers that have their sockets here.
A secondary socket is still also opened under /tmp for backwards
compatibility with old clients, but this is deprecated and should not
be used anymore in new deployments.
Upgrading PostgreSQL
====================

View File

@ -3,6 +3,8 @@ Mon May 15 14:17:11 UTC 2023 - Reinhard Max <max@suse.com>
- Overhaul postgresql-README.SUSE and move it from the binary
package to the noarch wrapper package.
- bsc#1179231: Add an explanation for the /tmp -> /run/postgresql
move and permission change.
- Add postgresql-README as a separate source file.
-------------------------------------------------------------------