aboutsummaryrefslogtreecommitdiff
path: root/init.d/procfs.in
diff options
context:
space:
mode:
authorWilliam Hubbs <w.d.hubbs@gmail.com>2015-04-11 16:29:58 -0500
committerWilliam Hubbs <w.d.hubbs@gmail.com>2015-04-14 11:41:17 -0500
commit62addf118067dd2cd57c3f5fee35c9e80f9fec42 (patch)
treea55a73d449c7e6064106e18364fbd447183d2e5b /init.d/procfs.in
parent1eab656ca1d3258ff00495710a68ad459ce50d3e (diff)
Move SELinux mount to sysfs service
The selinux file system is mounted under /sys, so move the code for it to the appropriate service. X-Gentoo-Bug: 546290 X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=546290
Diffstat (limited to 'init.d/procfs.in')
-rw-r--r--init.d/procfs.in9
1 files changed, 0 insertions, 9 deletions
diff --git a/init.d/procfs.in b/init.d/procfs.in
index 636cd20b..e7d4fce7 100644
--- a/init.d/procfs.in
+++ b/init.d/procfs.in
@@ -60,14 +60,5 @@ start()
fi
fi
- # Setup Kernel Support for SELinux
- 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 /sys/fs/selinux
- eend $?
- fi
- fi
-
return 0
}