-
Notifications
You must be signed in to change notification settings - Fork 14
/
SELinux-troubleshooting.asm.xml
195 lines (195 loc) · 7.17 KB
/
SELinux-troubleshooting.asm.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!-- This file originates from the project https://github.com/openSUSE/doc-kit -->
<!-- This file can be edited downstream. -->
<!DOCTYPE assembly
[
<!ENTITY % entities SYSTEM "../common/generic-entities.ent">
%entities;
]>
<!-- refers to legacy doc: <add github link to legacy doc piece, if applicable> -->
<!-- point back to this document with a similar comment added to your legacy doc piece -->
<!-- refer to README.md for file and id naming conventions -->
<assembly version="5.2" xml:lang="en"
xmlns:xlink="http://www.w3.org/1999/xlink"
xmlns:trans="http://docbook.org/ns/transclusion"
xmlns:its="http://www.w3.org/2005/11/its"
xmlns="http://docbook.org/ns/docbook">
<!-- resources section references all topic chunks used in the final article
-->
<!-- R E S O U R C E S -->
<!-- Concept files -->
<resources>
<resource xml:id="_setroubleshoot-about" href="../concepts/setroubleshoot-about.xml">
<description>About setroubleshoot</description>
</resource>
<resource xml:id="_selinux-audit-log" href="../concepts/selinux-audit-log.xml">
<description>About the audit log</description>
</resource>
</resources>
<!-- Tasks -->
<resources>
<resource xml:id="_selinux-audit2allow" href="../tasks/selinux-audit2allow.xml">
<description>audit2allow</description>
</resource>
<resource xml:id="_setroubleshoot-running-analysis" href="../tasks/setroubleshoot-running-analysis.xml">
<description>Running analysis</description>
</resource>
</resources>
<!-- References -->
<resources>
<resource xml:id="_setroubleshoot-congfiguration" href="../references/setroubleshoot-congfiguration.xml">
<description>Configuring mail notifications</description>
</resource>
</resources>
<!-- Legal -->
<resources>
<resource href="../common/legal.xml" xml:id="_legal">
<description>Legal Notice</description>
</resource>
<resource href="../common/license_gfdl1.2.xml" xml:id="_gfdl">
<description>GNU Free Documentation License</description>
</resource>
</resources>
<!-- S T R U C T U R E -->
<structure renderas="article" xml:id="setroubleshoot" xml:lang="en">
<merge>
<title>Troubleshooting &selnx;</title>
<!-- History -->
<revhistory xml:id="rh-setroubleshoot">
<revision><date>2024-11-19</date>
<revdescription>
<para>
Initial version
</para>
</revdescription>
</revision>
</revhistory>
<!-- Maintainer -->
<meta name="maintainer" content="[email protected]" its:translate="no"/>
<!-- Architectures -->
<meta name="architecture" its:translate="no">
<phrase>&x86-64;</phrase>
<phrase>&power;</phrase>
<phrase>&ibm;</phrase>
<phrase>&aarch64;</phrase>
</meta>
<!-- Productname & Version -->
<meta name="productname" its:translate="no">
<productname version="6.1">&slm;</productname>
</meta>
<!-- Search -->
<meta name="title" its:translate="yes">Troubleshooting &selnx;</meta>
<meta name="description" its:translate="yes">Using setroubleshoot and audit2allow to
troubleshoot &selnx;.</meta>
<!-- Social Media -->
<meta name="social-descr" its:translate="yes">AVC denials, setroubleshoot and audit2allow.</meta>
<!-- Task -->
<meta name="task" its:translate="no">
<phrase>Security</phrase>
<phrase>Troubleshooting</phrase>
</meta>
<!-- Series -->
<meta name="series" its:translate="no">Products & Solutions</meta>
<dm:docmanager xmlns:dm="urn:x-suse:ns:docmanager">
<dm:bugtracker>
<dm:url>https://bugzilla.suse.com/enter_bug.cgi</dm:url>
<dm:component>Documentation</dm:component>
<dm:product os="slmicro">SUSE Linux Micro 6.1</dm:product>
<dm:assignee>[email protected]</dm:assignee>
</dm:bugtracker>
<dm:translation>yes</dm:translation>
</dm:docmanager>
<abstract>
<variablelist>
<varlistentry>
<term>WHAT?</term>
<listitem>
<para>
A system with &selnx; in the <literal>enforcing</literal> mode
may cause access denials that may prevent applications from
running correctly. You can use <command>audit2allow</command>
or <literal>setroubleshoot</literal> to analyze denial messages
in a user-friendly way.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term>WHY?</term>
<listitem>
<para>
This article provides instructions on how to solve access
denials caused by &selnx; without decreasing the security of
your system.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term>EFFORT</term>
<listitem>
<para>
It takes approximately 30 minutes to read the article.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term>GOAL</term>
<listitem>
<para>
You will be able to use one of the further described tools to
debug &selnx; denials.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term>REQUIREMENTS</term>
<listitem>
<itemizedlist>
<listitem>
<para>
A running system with enabled &selnx;.
</para>
</listitem>
</itemizedlist>
</listitem>
</varlistentry>
</variablelist>
</abstract>
</merge>
<!-- pull in all the topic files you need -->
<!-- pick the appropriate type of include to match your needs -->
<!-- pull in a topic as is -->
<module resourceref="_selinux-audit-log" renderas="section"/>
<module resourceref="_selinux-audit2allow" renderas="section"/>
<!-- pull in a topic and switch the title -->
<module renderas="section">
<merge>
<title>Analyzing AVC messages using <command>setroubleshoot</command></title>
<abstract>
<para>
To analyze AVC denial messages in a user-friendly way, you can use
the <literal>setroubleshoot</literal> tool.
</para>
</abstract>
</merge>
<module resourceref="_setroubleshoot-about" renderas="section">
<merge>
<abstract>
<para/>
</abstract>
</merge>
</module>
<module resourceref="_setroubleshoot-congfiguration" renderas="section"/>
<module resourceref="_setroubleshoot-running-analysis" renderas="section">
<merge>
<abstract>
<para/>
</abstract>
</merge>
</module>
</module>
<module resourceref="_legal"/>
<module resourceref="_gfdl">
<output renderas="appendix"/>
</module>
</structure>
</assembly>