3.5.1 Matrix Server Installation Guide (June 2008)

Chapter 2: Install Matrix Server and MxFS-Linux 41
1. Adds a psfs policy line to the following file:
/etc/selinux/targeted/src/policy/genfs_contexts
2. Rebuilds the binary policy file and installs it in:
/etc/selinux/targeted/policy/policy.*
3. Reloads the kernel with the new policy information.
If you modify SELinux and the psfs policy implemented by Matrix Server
no longer works, you will need to make changes similar to the above to
allow PSFS filesystems to be mounted.
When Matrix Server is uninstalled, it takes these actions to remove the
psfs policy information.
4. Removes the psfs policy line from the following file:
/etc/selinux/targeted/src/policy/genfs_contexts
5. Rebuilds the binary policy file and installs it in:
/etc/selinux/targeted/policy/policy.*
6. Reloads the kernel with the new policy information.
Enable SELinux for Apache
Like several other filesystems, the PSFS filesystem uses selinux nfs_t.
If you would like to use a PSFS filesystem as an Apache DocumentRoot,
you must enable the use_nfs_home_dirs SELinux option by running the
following command:
setsebool use_nfs_home_dirs 1