After emerging and configuring postgresql-server-9.0, trying to start it with /etc/init.d/postgesql-9.0 start fails. /var/lib/postgresql/9.0/data/postmatser.log shows FATAL: could not create lock file "/var/run/postgresql/.s.PGSQL.5432.lock": No such file or directory I created /var/run/postgresql manually and changed ownership to postgres:postgres and now it starts without issues. Presumably this should have been done during the installation or the config Reproducible: Always Steps to Reproduce: 1. emerge postgresql-server-9.0 2. emerge --config postgresql-server 3. /etc/init.d/postgresql-9.0 start Actual Results: postgresql fails to start Expected Results: postgresql starts
Created attachment 250549 [details] My emerge --info
postgresql-server-9.0.1.ebuild: keepdir /var/run/postgresql So the ebuild *should* generate this directory. Always :) The only way I can think of how this might fail is /var/run being wiped between reboots or something like that - if you can narrow it down why it doesn't work for you please reopen. Until then closing as NEEDINFO