Please note the following points when OS is updated from RHEL6 or RHEL7.0.
When using GFS in an environment where SELinux is enabled, due to the specification change in OS, the SELinux security context of a file on the GFS Shared File System displayed by the following operations is changed:
When the following command is executed to display the list of the GFS Shared File System (if the previous OS version is RHEL7.0)
mount(8) without option specified
When the following commands are executed to display the security context of the file on the GFS Shared File System
dir(1) -Z, --context
ls(1) -Z, --context
vdir(1) -Z, --context
find(1) -printf "%Z"
stat(1) without option specified, -c %C, --format=%C, --printf=%C
The following SELinux security context is displayed:
Before Update:
system_u:object_r:file_t:s0 |
After Update:
system_u:object_r:unlabeled_t:s0 |
It has no effect other than changing the display.