I have a directory /media/databases under which I want to hold 3 different databases : mariadb, postgresql and neo4j.
My issue is that I already have configured postgresql selinux context and the server won't start unless the /media/databases context is set on postgresql_db_t.
So my question is : how could I set those contexts right ? Are there some contexts neutral enough to hold ? I've done a :
The list is quite large..
Or maybe I am seeing this all wrong and I should only separate my databases at the media root : /media/postgresql, /media/mariadb, /media/neo4j ?
Thanks for your insight.