Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 401060 Details for
Bug 546290
sys-apps/openrc: Move the selinux mount to the sysfs service
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
0001-Move-SELinux-mount-to-sysfs-service.patch
0001-Move-SELinux-mount-to-sysfs-service.patch (text/plain), 1.45 KB, created by
William Hubbs
on 2015-04-11 21:38:58 UTC
(
hide
)
Description:
0001-Move-SELinux-mount-to-sysfs-service.patch
Filename:
MIME Type:
Creator:
William Hubbs
Created:
2015-04-11 21:38:58 UTC
Size:
1.45 KB
patch
obsolete
>From 8c67582a1664ef491592f002dc6611e64cd040f1 Mon Sep 17 00:00:00 2001 >From: William Hubbs <w.d.hubbs@gmail.com> >Date: Sat, 11 Apr 2015 16:29:58 -0500 >Subject: [PATCH] Move SELinux mount to sysfs service > >The selinux file system is mounted under /sys, so move the code for it >to the appropriate service. >--- > init.d/procfs.in | 9 --------- > init.d/sysfs.in | 9 +++++++++ > 2 files changed, 9 insertions(+), 9 deletions(-) > >diff --git a/init.d/procfs.in b/init.d/procfs.in >index 636cd20..e7d4fce 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 > } >diff --git a/init.d/sysfs.in b/init.d/sysfs.in >index bc0d9d3..6e52a9d 100644 >--- a/init.d/sysfs.in >+++ b/init.d/sysfs.in >@@ -82,6 +82,15 @@ mount_misc() > 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 >+ > # setup up kernel support for efivarfs > # slightly complicated, as if it's build as a module but NOT yet loaded, > # it will NOT appear in /proc/filesystems yet >-- >2.0.5 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 546290
: 401060