Displaying 1 result from an estimated 1 matches for "postgresql_db_t".
2014 Mar 31
2
Centos and Selinux issue
.../pgsql/data, initdb or start
postgresql fail. This issue is selinux related.
Now, directory /mnt/data/pgsql/data, has fcontext to samba_share_t and
postgresql init script give permission denied on
/mnt/data/pgsql/data/postgresql.conf.
At this point I've tried to set with chcon /mnt/data at postgresql_db_t,
rerun initdb and /etc/init.d/postgresql start and all works fine, except
for samba. I can't access anymore the share (for context change).
I've tried to set:
/mnt/data to samba_share_t
/mnt/data/pgsql to postgresql_db_t
but with this config is pgsql that does not work.
At this point,...