pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
ownership of "/var/run/postgresql"
2+ messages / 2 participants
[nested] [flat]

* ownership of "/var/run/postgresql"
@ 2020-07-15 21:15 Dmitry O Litvintsev <litvinse@fnal.gov>
  2020-07-15 21:20 ` Re: ownership of "/var/run/postgresql" Christoph Moench-Tegeder <cmt@burggraben.net>
  0 siblings, 1 reply; 2+ messages in thread

From: Dmitry O Litvintsev @ 2020-07-15 21:15 UTC (permalink / raw)
  To: pgsql-general@lists.postgresql.org <pgsql-general@lists.postgresql.org>

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/postgresql to 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






^ permalink  raw  reply  [nested|flat] 2+ messages in thread

* Re: ownership of "/var/run/postgresql"
  2020-07-15 21:15 ownership of "/var/run/postgresql" Dmitry O Litvintsev <litvinse@fnal.gov>
@ 2020-07-15 21:20 ` Christoph Moench-Tegeder <cmt@burggraben.net>
  0 siblings, 0 replies; 2+ messages in thread

From: Christoph Moench-Tegeder @ 2020-07-15 21:20 UTC (permalink / raw)
  To: Dmitry O Litvintsev <litvinse@fnal.gov>; +Cc: pgsql-general@lists.postgresql.org <pgsql-general@lists.postgresql.org>

## Dmitry O Litvintsev (litvinse@fnal.gov):

> 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. 

That's /usr/lib/tmpfiles.d/postgresql.conf (or similar). Don't
edit that file, see "man 5 tmpfiles.d" on how to override that
file and general info on the format.

Regards,
Christoph

-- 
Spare Space





^ permalink  raw  reply  [nested|flat] 2+ messages in thread


end of thread, other threads:[~2020-07-15 21:20 UTC | newest]

Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2020-07-15 21:15 ownership of "/var/run/postgresql" Dmitry O Litvintsev <litvinse@fnal.gov>
2020-07-15 21:20 ` Christoph Moench-Tegeder <cmt@burggraben.net>

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox