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):
Steps to Reproduce:
1. change PGDATA in the /etc/sysconfig/pgsql/postgresql
2. try to restart postgresql server via "systemctl restart postgresql.service"
postgres still using /var/lib/pgsql/data as PGDATA
start postgresql server with PGDATA variable from /etc/sysconfig/pgsql/postgresql
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.