Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 546290

Summary: sys-apps/openrc: Move the selinux mount to the sysfs service
Product: Gentoo Hosted Projects Reporter: William Hubbs <williamh>
Component: OpenRCAssignee: OpenRC Team <openrc>
Status: RESOLVED FIXED    
Severity: normal CC: selinux
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 520144    
Attachments: 0001-Move-SELinux-mount-to-sysfs-service.patch

Description William Hubbs gentoo-dev 2015-04-11 21:37:25 UTC
The SELinux file system is mounted under /sys, so we should move it to
the sysfs service instead of procfs.

@selinux:
I will provide a patch to do this, please test and report back whether
it works.
Comment 1 William Hubbs gentoo-dev 2015-04-11 21:38:58 UTC
Created attachment 401060 [details, diff]
0001-Move-SELinux-mount-to-sysfs-service.patch

@selinux:
Here is the patch against master that will move the selinux mounting
code to the sysfs service.

Please test and let me know if this works.
Comment 2 William Hubbs gentoo-dev 2015-04-14 16:51:07 UTC
Jason looked over this patch a couple of days ago and told me it should
be fine, so it is added in commit 62addf1.