ownership of "/var/run/postgresql" - Mailing list pgsql-general

From Dmitry O Litvintsev
Subject ownership of "/var/run/postgresql"
Date
Msg-id CH2PR09MB3861A412A91BD5ECC85C286BB97E0@CH2PR09MB3861.namprd09.prod.outlook.com
Whole thread Raw
Responses Re: ownership of "/var/run/postgresql"
List pgsql-general
Hi,

we run 9.6 postgresql DB on Linux box. We run as different user than postgres. To get it to work we had to chown
/var/run/postgresqlto be owned by the process user.  

Upgraded to 11 and now we see that file

/var/run/postgresql changes ownership to postgres:postgres on reboot , even though postgresql-11.service is disabled.

What is doing it and is it possible to disable it?

Thanks,
Dmitry




pgsql-general by date:

Previous
From: Karsten Hilbert
Date:
Subject: Re: psql: FATAL: database "postgres" does not exist or ERROR: 23505: duplicate key value violates unique constraint "pg_namespace_nspname_index"
Next
From: Christoph Moench-Tegeder
Date:
Subject: Re: ownership of "/var/run/postgresql"