Hide Forgot
Description of problem: changing environment variables like PGDATA in /etc/sysconfig/pgsql/postgresql does not affect to startng postgresql.service, unlike previous releases Version-Release number of selected component (if applicable): postgresql-server-9.0.4-8.fc16.i686 package How reproducible: Steps to Reproduce: 1. change PGDATA in the /etc/sysconfig/pgsql/postgresql 2. try to restart postgresql server via "systemctl restart postgresql.service" Actual results: postgres still using /var/lib/pgsql/data as PGDATA Expected results: start postgresql server with PGDATA variable from /etc/sysconfig/pgsql/postgresql Additional info: workaround: change PGDATA in /lib/systemd/system/postgresql.service
This is an intentional change: sysconfig files are deprecated in the systemd world, and you're supposed to apply any customization you need by making a custom file in /lib/systemd/system. (Yeah, I have doubts about the future-proofness of that policy too, but it's the policy.)
ok, thanks for explanation...
I've modified the Fedora 16 release notes to document this explicitly.