Skip to content
Merged
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 15 additions & 0 deletions DC-SAP-SELinux
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
# This file originates from the project https://github.com/openSUSE/doc-kit
# This file can be edited downstream.

MAIN="SELinux.asm.xml"
# Point to the ID of the <structure> of your assembly
SRC_DIR="articles"
IMG_SRC_DIR="images"

PROFOS="sles4sap"
PROFCONDITION="16.0"
#PROFCONDITION="suse-product;beta"
#PROFCONDITION="community-project"

STYLEROOT="/usr/share/xml/docbook/stylesheet/suse2022-ns"
FALLBACK_STYLEROOT="/usr/share/xml/docbook/stylesheet/suse-ns"
4 changes: 3 additions & 1 deletion concepts/selinux-modes.xml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,9 @@
</listitem>
</varlistentry>
</variablelist>
<para>The default in &productnameshort; &productnumber; is <literal>enforcing</literal> mode.</para>

<para><phrase os="sles">default in &productnameshort; &productnumber; is <literal>enforcing</literal> mode.</phrase></para>
<para> <phrase os="sles4sap"> The default in &productname; &productnumber; is enabled in <literal>permissive</literal> mode, if &sap; patterns are installed. </phrase></para>
<para>
For information about switching between &selnx; modes, refer to
<xref linkend="selinux-switching-modes"/>.
Expand Down
8 changes: 8 additions & 0 deletions tasks/selinux-packages.xml
Original file line number Diff line number Diff line change
Expand Up @@ -68,8 +68,16 @@
Advanced policy development requires additional <literal>-devel</literal>
packages, which can be installed by:
</para>


<screen os="sles;sles4sap">
&prompt.sudo;<command>zypper install selinux-policy-devel policycoreutils-devel</command>
</screen>
<screen os="slmicro">&prompt.sudo;<command>transactional-update pkg install selinux-policy-devel policycoreutils-devel</command></screen>
<para><phrase os="sles4sap"><emphasis role="bold">About &selnx; for &productname; &productnumber;</emphasis></phrase></para>

<para><phrase os="sles4sap"> The<literal>selinux-policy-sapenablement</literal> package is for &selnx; policy changes for running &sap;.
Currently it sets the settings that are needed, but still sets &selnx; to <literal>permissive</literal> mode.
This package is installed by default. </phrase></para>

</topic>