Red Hat Bugzilla – Bug 1012526
Allow 389-ds-base to create subdir of /dev/shm
Last modified: 2015-02-18 11:26:57 EST
Description of problem:
The 389-ds-base (dirsrv) needs to create and use a subdirectory of /dev/shm e.g. /dev/shm/slapd-hostname
We are able to workaround the problem by creating a policy module like this:
allow dirsrv_t tmpfs_t:dir create;
semanage -i dirsrv_tmpfs.pp
but it would be better if this were part of the base OS policy
Version-Release number of selected component (if applicable):
Steps to Reproduce:
We need to add additional rules for dirsrv_tmpfs_t.
Added to Fedora.
Author: Miroslav Grepl <email@example.com>
Date: Thu Sep 26 17:18:13 2013 +0200
Allow dirsrv to create dirs in /dev/shm with dirsrv_tmpfs label
Hi Rich, are you willing to test the scenario once the new selinux-policy packages become available?
(In reply to Milos Malik from comment #3)
> Hi Rich, are you willing to test the scenario once the new selinux-policy
> packages become available?
More fixes have been added during RHEL6.5 cycle related to dirsrv and this bug should be fixed. If no, please re-open the bug and it will be addressed in RHEL6.6.