1
0
mirror of https://github.com/rancher/os.git synced 2025-06-05 05:02:29 +00:00

Merge pull request #1635 from rancher/mount-sys-fs-selinux-ro

Looks like /sys/fs/selinux should be mounted ro
This commit is contained in:
Sven Dowideit 2017-02-18 07:49:02 +10:00 committed by GitHub
commit 34d75115db

View File

@ -38,7 +38,7 @@ var (
{"none", "/sys/fs/cgroup", "tmpfs", ""}, {"none", "/sys/fs/cgroup", "tmpfs", ""},
} }
optionalMounts = [][]string{ optionalMounts = [][]string{
{"none", "/sys/fs/selinux", "selinuxfs", ""}, {"none", "/sys/fs/selinux", "selinuxfs", "ro"},
} }
) )