"Karl O. Pinc" <kop@meme.com> writes:
> /usr/bin/chcon: can't apply partial context to unlabeled file testtablespace
> /usr/bin/chcon: can't apply partial context to unlabeled file results
> The Makefile has
> [ -x /usr/bin/chcon ] && /usr/bin/chcon -t postgresql_db_t testtablespace results
Does it work better if you change that to
[ -x /usr/bin/chcon ] && /usr/bin/chcon -u user_u -r object_r -t postgresql_db_t testtablespace results
? I recall we had a similar issue in the initscript ...
regards, tom lane