Red Hat Bugzilla – Bug 211315
SELinux xattr support in GFS 6.1 RHEL4
Last modified: 2010-01-11 22:13:54 EST
Description of problem:
Right now the implementation of xattr in GFS for RHEL4 lacks support for SELinux
Version-Release number of selected component (if applicable):
Try to use SELinux context on files/dirs on a GFS mount
Steps to Reproduce:
1. Install GFS
2. Use SELinux
3. Try to set context on GFS mount
No Support for SELinux xattr handling
Support for SELinux xattr handling
Patch is available, would be good to have it in > U5
RHEL 4 request.
I have checked-in code for SELinux support to the RHEL4 branch. I'll post a
patch here, too.
Please note that the SELinux policy requires changes, too. Specifically, it must
be defined to be a filesystem that supports SELinux xattrs and removed from the
list of "generic" filesystems. Its a very simple change. I just wanted to
mention that the SELinux code for will not function properly without the correct
changes to the policy.
Created attachment 140508 [details]
SELinux support for GFS, RHEL4.
Fixed in current release (4.7).