mirror of
git://git.yoctoproject.org/meta-selinux
synced 2026-01-01 13:58:04 +00:00
README: Add information about running the system
We want to give the users some basic information to be able to run the compiled system with SE Linux enabled, but not in enforcing mode. This will allow a knowledgable user to update the reference policy for their configuration. Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
This commit is contained in:
parent
4fefe83c32
commit
6733785db6
30
README
30
README
|
|
@ -86,6 +86,36 @@ VIRTUAL-RUNTIME_init_manager = "systemd"
|
|||
DISTRO_FEATURES_BACKFILL_CONSIDERED = ""
|
||||
|
||||
|
||||
Starting up the system
|
||||
----------------------
|
||||
Most likely the reference policy selected will not just work "out of the box".
|
||||
|
||||
As always, if you update the reference policy to better work with OpenEmbedded
|
||||
or Poky configurations, please submit the changes back to the project.
|
||||
|
||||
When using 'core-image-selinux', the system will boot and automatically setup
|
||||
the policy by running the "fixfiles -f -F relabel" for you. This is
|
||||
implemented via the 'selinux-autorelabel' recipe.
|
||||
|
||||
The 'core-image-selinux-minimal' does not automatically relabel the system.
|
||||
So you must boot using the parameters "selinux=1 enforcing=0", and then
|
||||
manually perform the setup. Running 'fixfiles -f -F relabel' is available
|
||||
in this configuration.
|
||||
|
||||
After logging in you can verify selinux is present using:
|
||||
|
||||
$ sestatus
|
||||
|
||||
Output should include:
|
||||
SELinux status: enabled
|
||||
...
|
||||
Current mode: enforcing
|
||||
...
|
||||
|
||||
The above indicates that selinux is currently running, and if you are running
|
||||
in an enforcing mode or not.
|
||||
|
||||
|
||||
License
|
||||
-------
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user