aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSven Vermeulen <sven.vermeulen@siphos.be>2014-04-19 21:18:18 +0200
committerWilliam Hubbs <w.d.hubbs@gmail.com>2014-06-20 18:37:33 -0500
commit6126700a0723efa4ef1e299da0f58498f742c3a1 (patch)
tree0f6025e1ba348b9538cc8a608cb99b81ee4a8418
parent19cccb2e9416311b85fcad3c15d4d988fed2f954 (diff)
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 <sven.vermeulen@siphos.be>
-rw-r--r--init.d/procfs.in4
1 files 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