Search Postgresql Archives

Postgres runs under other user/group, update crashs installation

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



 

Hey Folks,

we use postgres from the actual RHEL 7 repo.
I installed it some weeks ago and changed the user/group under which the service
runs via systemd:
userdel postgres
groupdel postgres
chown newuser.newgroup /var/run/postgresql -R
chown newuser.newgroup /var/lib/pgsql -R
 
systemctl edit postgresql.service
content:
[Service]
User=newuser
Group=newgroup
This works like a charm, until i updated to 9-2-18 yesterday.
In the back to postgres.postgres. 
Which lead to a postgres instance which couldnt start anymore because "newuser" can access the files....
How can i configure postgres so it doesnt break while updating?
Thanks a lot!


---
Die Bundesliga hat begonnen! Alle Tore, alle Ergebnisse, alle News: Pocket Liga jetzt im AppStore oder Google Play Store herunterladen - kostenlos!

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]
  Powered by Linux