postgresql requires a data directory to store dbs, logs, configs after emerging postgresql-7.4.2, the postgres user is created correctly (yea!) and the /etc/conf.d/postgresql file contains settings for $PGDATA but the directory has not been created. Reproducible: Always Steps to Reproduce: 1. ACCEPT_KEYWORDS="~x86" emerge postgresql-7.4.2 Actual Results: postgres is installed w/o a configured data directory Expected Results: either emerge should create the directory indicated in /etc/conf.d/postgresql (with ownership given to postgres:postgres and modlvl u=rwx) or emerge should provide output informing the user that they need to create the directory and setup the ownership and modlvl
postgresql ebuilds doesn't make it automacically. If you want to create it, you can do this command: # ebuild /var/db/pkg/dev-db/postgresql-7.4.2/postgresql-7.4.2.ebuild config The message should appear after emerge postgresql. I'm closing this bug. If you can't resolve this problem, feel free to reopen this bug :)