Page MenuHomeSolus

Postgresql server unable to start after reboot
Closed, InvalidPublic

Description

I'm using Solus 2017.04.18.0 64-bit.
I installed postgresql 9.6 and it works fine, but after rebooting the computer the postgres service is not longer working. I try to start it manually with systemctl and it fails. What I get from systemctl status is this:

Aug 06 11:39:48 ivan postgres[2015]: FATAL:  data directory "/var/db/pgsql/data" has group or world access
Aug 06 11:39:48 ivan postgres[2015]: DETAIL:  Permissions should be u=rwx (0700).

So I do a sudo chmod -R 0700 /var/db/pgsql/data
And it works, but after a reboot the permissions on that directory are back to the previous state, so I have the same issue.

I don't know very much about Linux, so I apologize in advance if I'm making a rookie mistake.

Thank you.

Event Timeline

DataDrake added a subscriber: DataDrake.

I suspect this has been fixed by now with newer releases. Please re-open if that is not the case.