[Linux-cluster] GFS w/ SELinux xattr issue

Markjan de Jong dejongm at TEOCO.com
Tue Mar 18 13:57:20 UTC 2008


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.

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!




More information about the Linux-cluster mailing list