[Linux-cluster] GFS w/ SELinux xattr issue
Steven Whitehouse
swhiteho at redhat.com
Tue Mar 18 14:31:05 UTC 2008
Hi,
On Tue, 2008-03-18 at 09:57 -0400, Markjan de Jong wrote:
> I'm having an issue with GFS, GFS2 and selinux xattrs. When I set the
> security context on one host, that security context is not applied on
> the other hosts.
>
Does this relate to GFS or GFS2 or both?
> MY GFS2 FS is mounted on /opt/xen_shared.
>
> Host XEN01 shows one context:
>
> [root at xen01 xen_shared]# ls -Z /opt/xen_shared/test
> -rw-r--r-- root root user_u:object_r:etc_t /opt/xen_shared/test
>
> While XEN02 shows another:
>
> [root at xen02 xen_shared]# ls -Z /opt/xen_shared/test
> -rw-r--r-- root root user_u:object_r:file_t /opt/xen_shared/test
>
> Both hosts show that the GFS2 file systems are mounted with the "use
> xattr" genfs_context. This is also the case with a GFS v1 mount. Any
> thoughts?
>
>
> Thanks!
>
Assuming that you've got lock_dlm on each node, and correctly configured
then it does look like a bug, so please file a report at
bugzilla.redhat.com. What kernel version are you using?
Steve.
More information about the Linux-cluster
mailing list