Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 511718 - openrc' procfs should mount /sys/fs/selinux instead of /selinux
Summary: openrc' procfs should mount /sys/fs/selinux instead of /selinux
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: OpenRC Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 443822 481182
  Show dependency tree
 
Reported: 2014-05-28 18:40 UTC by Sven Vermeulen (RETIRED)
Modified: 2014-06-20 23:44 UTC (History)
1 user (show)

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


Attachments
openrc.git's procfs.in patch to use /sys/fs/selinux (0001-SELinux-filesystem-is-at-sys-fs-selinux.patch,1.04 KB, patch)
2014-05-28 18:41 UTC, Sven Vermeulen (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Sven Vermeulen (RETIRED) gentoo-dev 2014-05-28 18:40:34 UTC
Hi OpenRC maintainers

Currently, /etc/init.d/procfs (as provided by OpenRC) checks and mounts /selinux instead of /sys/fs/selinux. However, /sys/fs/selinux is the preferred location for SELinux mounts. /selinux has been deprecated.

Reproducible: Always
Comment 1 Sven Vermeulen (RETIRED) gentoo-dev 2014-05-28 18:41:40 UTC
Created attachment 377788 [details, diff]
openrc.git's procfs.in patch to use /sys/fs/selinux

Patch against openrc.git's procfs.in
Comment 2 William Hubbs gentoo-dev 2014-06-20 23:44:22 UTC
This is applied in commit 6126700 and will be part of OpenRC-0.13.