Strange PostgreSQL behaviour on service start
Ok, i understood.
It was a &quot;problem&quot; of selinux.
I changed the data directory, and selinux &quot;didn't know&quot; it, so i
chcon -R -t postgresql_db_t /data/pgdata
restorecon -RFv /data/pgdata.