Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 546290 - sys-apps/openrc: Move the selinux mount to the sysfs service
Summary: sys-apps/openrc: Move the selinux mount to the sysfs service
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Hosted Projects
Classification: Unclassified
Component: OpenRC (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: OpenRC Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: openrc-0.14
  Show dependency tree
 
Reported: 2015-04-11 21:37 UTC by William Hubbs
Modified: 2015-04-14 16:51 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
0001-Move-SELinux-mount-to-sysfs-service.patch (0001-Move-SELinux-mount-to-sysfs-service.patch,1.45 KB, patch)
2015-04-11 21:38 UTC, William Hubbs
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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.