From 6126700a0723efa4ef1e299da0f58498f742c3a1 Mon Sep 17 00:00:00 2001 From: Sven Vermeulen Date: Sat, 19 Apr 2014 21:18:18 +0200 Subject: [PATCH] SELinux filesystem is at /sys/fs/selinux The SELinux filesystem has been moved to /sys/fs/selinux for quite some time. We kept supporting /selinux for backwards compatibility, but it's time to move forward on this. X-Gentoo-Bug: 511718 X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=511718 Signed-off-by: Sven Vermeulen --- init.d/procfs.in | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/init.d/procfs.in b/init.d/procfs.in index 0db53051..636cd20b 100644 --- a/init.d/procfs.in +++ b/init.d/procfs.in @@ -61,10 +61,10 @@ start() fi # Setup Kernel Support for SELinux - if [ -d /selinux ] && ! mountinfo -q /selinux; then + if [ -d /sys/fs/selinux ] && ! mountinfo -q /sys/fs/selinux; then if grep -qs selinuxfs /proc/filesystems; then ebegin "Mounting SELinux filesystem" - mount -t selinuxfs selinuxfs /selinux + mount -t selinuxfs selinuxfs /sys/fs/selinux eend $? fi fi