--- storage/formats/fs.py | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/storage/formats/fs.py b/storage/formats/fs.py index 22291d6..23f5d98 100644 --- a/storage/formats/fs.py +++ b/storage/formats/fs.py @@ -624,7 +624,7 @@ class FS(DeviceFormat): if rc: raise FSError("mount failed: %s" % rc) - if flags.selinux: + if flags.selinux and "ro" not in options.split(","): ret = isys.resetFileContext(mountpoint, chroot) log.info("set SELinux context for newly mounted filesystem " "root at %s to %s" %(mountpoint, ret)) -- 1.6.6 _______________________________________________ Anaconda-devel-list mailing list Anaconda-devel-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/anaconda-devel-list