On an SELinux enabled Oracle Linux 6 host, I have a product using MySQL as its underlying database and, through the database, is trying to access
/dev/shm mounts with context
tmpfs_t, by default.
mysqld_t doesn't have rights to
My take is that the best solution is to give the
mysqld_t context rights to interact with
tmp_t are already accessible.
Unfortunately, this getting deeper into the weeds of SELinux than most documentation goes into. Most hints, including Red Hat bug 306351, suggest I add a mount option to
/dev/shm to mount it as
tmp_t. I'm leaning against that, because I think
tmpfs_t is appropriate for
So, how do I give the
setattr(), etc., access to