diff --git a/common.rc b/common.rc index 6231457c..602513af 100644 --- a/common.rc +++ b/common.rc @@ -72,11 +72,11 @@ _mount_opts() # nfs_t is a "liberal" context so we can use it. if [ -x /usr/sbin/selinuxenabled ] && /usr/sbin/selinuxenabled; then SELINUX_MOUNT_OPTIONS="-o context=system_u:object_r:nfs_t:s0" + export SELINUX_MOUNT_OPTIONS fi case $FSTYP in xfs) - export SELINUX_MOUNT_OPTIONS export MOUNT_OPTIONS=$XFS_MOUNT_OPTIONS ;; udf)