1pegasus_openlmi_storaSgEeL_isneulxinPuoxl(i8c)y pegasus_oppeenglamsiu_ss_toopreanglemi_storage_selinux(8)
2
3
4
6 pegasus_openlmi_storage_selinux - Security Enhanced Linux Policy for
7 the pegasus_openlmi_storage processes
8
10 Security-Enhanced Linux secures the pegasus_openlmi_storage processes
11 via flexible mandatory access control.
12
13 The pegasus_openlmi_storage processes execute with the pega‐
14 sus_openlmi_storage_t SELinux type. You can check if you have these
15 processes running by executing the ps command with the -Z qualifier.
16
17 For example:
18
19 ps -eZ | grep pegasus_openlmi_storage_t
20
21
22
24 The pegasus_openlmi_storage_t SELinux type can be entered via the pega‐
25 sus_openlmi_storage_exec_t file type.
26
27 The default entrypoint paths for the pegasus_openlmi_storage_t domain
28 are the following:
29
30 /usr/libexec/pegasus/cmpiLMI_Hardware-cimprovagt, /usr/libexec/pega‐
31 sus/pycmpiLMI_Storage-cimprovagt
32
34 SELinux defines process types (domains) for each process running on the
35 system
36
37 You can see the context of a process using the -Z option to ps
38
39 Policy governs the access confined processes have to files. SELinux
40 pegasus_openlmi_storage policy is very flexible allowing users to setup
41 their pegasus_openlmi_storage processes in as secure a method as possi‐
42 ble.
43
44 The following process types are defined for pegasus_openlmi_storage:
45
46 pegasus_openlmi_storage_t
47
48 Note: semanage permissive -a pegasus_openlmi_storage_t can be used to
49 make the process type pegasus_openlmi_storage_t permissive. SELinux
50 does not deny access to permissive process types, but the AVC (SELinux
51 denials) messages are still generated.
52
53
55 SELinux policy is customizable based on least access required. pega‐
56 sus_openlmi_storage policy is extremely flexible and has several bool‐
57 eans that allow you to manipulate the policy and run pega‐
58 sus_openlmi_storage with the tightest access possible.
59
60
61
62 If you want to allow users to resolve user passwd entries directly from
63 ldap rather then using a sssd server, you must turn on the authlo‐
64 gin_nsswitch_use_ldap boolean. Disabled by default.
65
66 setsebool -P authlogin_nsswitch_use_ldap 1
67
68
69
70 If you want to allow all daemons to write corefiles to /, you must turn
71 on the daemons_dump_core boolean. Disabled by default.
72
73 setsebool -P daemons_dump_core 1
74
75
76
77 If you want to enable cluster mode for daemons, you must turn on the
78 daemons_enable_cluster_mode boolean. Enabled by default.
79
80 setsebool -P daemons_enable_cluster_mode 1
81
82
83
84 If you want to allow all daemons to use tcp wrappers, you must turn on
85 the daemons_use_tcp_wrapper boolean. Disabled by default.
86
87 setsebool -P daemons_use_tcp_wrapper 1
88
89
90
91 If you want to allow all daemons the ability to read/write terminals,
92 you must turn on the daemons_use_tty boolean. Disabled by default.
93
94 setsebool -P daemons_use_tty 1
95
96
97
98 If you want to deny any process from ptracing or debugging any other
99 processes, you must turn on the deny_ptrace boolean. Enabled by
100 default.
101
102 setsebool -P deny_ptrace 1
103
104
105
106 If you want to allow any process to mmap any file on system with
107 attribute file_type, you must turn on the domain_can_mmap_files bool‐
108 ean. Enabled by default.
109
110 setsebool -P domain_can_mmap_files 1
111
112
113
114 If you want to allow all domains write to kmsg_device, while kernel is
115 executed with systemd.log_target=kmsg parameter, you must turn on the
116 domain_can_write_kmsg boolean. Disabled by default.
117
118 setsebool -P domain_can_write_kmsg 1
119
120
121
122 If you want to allow all domains to use other domains file descriptors,
123 you must turn on the domain_fd_use boolean. Enabled by default.
124
125 setsebool -P domain_fd_use 1
126
127
128
129 If you want to allow all domains to have the kernel load modules, you
130 must turn on the domain_kernel_load_modules boolean. Disabled by
131 default.
132
133 setsebool -P domain_kernel_load_modules 1
134
135
136
137 If you want to allow all domains to execute in fips_mode, you must turn
138 on the fips_mode boolean. Enabled by default.
139
140 setsebool -P fips_mode 1
141
142
143
144 If you want to enable reading of urandom for all domains, you must turn
145 on the global_ssp boolean. Disabled by default.
146
147 setsebool -P global_ssp 1
148
149
150
151 If you want to allow confined applications to run with kerberos, you
152 must turn on the kerberos_enabled boolean. Enabled by default.
153
154 setsebool -P kerberos_enabled 1
155
156
157
158 If you want to allow system to run with NIS, you must turn on the
159 nis_enabled boolean. Disabled by default.
160
161 setsebool -P nis_enabled 1
162
163
164
165 If you want to allow confined applications to use nscd shared memory,
166 you must turn on the nscd_use_shm boolean. Disabled by default.
167
168 setsebool -P nscd_use_shm 1
169
170
171
173 The SELinux process type pegasus_openlmi_storage_t can manage files
174 labeled with the following file types. The paths listed are the
175 default paths for these file types. Note the processes UID still need
176 to have DAC permissions.
177
178 cluster_conf_t
179
180 /etc/cluster(/.*)?
181
182 cluster_var_lib_t
183
184 /var/lib/pcsd(/.*)?
185 /var/lib/cluster(/.*)?
186 /var/lib/openais(/.*)?
187 /var/lib/pengine(/.*)?
188 /var/lib/corosync(/.*)?
189 /usr/lib/heartbeat(/.*)?
190 /var/lib/heartbeat(/.*)?
191 /var/lib/pacemaker(/.*)?
192
193 cluster_var_run_t
194
195 /var/run/crm(/.*)?
196 /var/run/cman_.*
197 /var/run/rsctmp(/.*)?
198 /var/run/aisexec.*
199 /var/run/heartbeat(/.*)?
200 /var/run/corosync-qnetd(/.*)?
201 /var/run/corosync-qdevice(/.*)?
202 /var/run/cpglockd.pid
203 /var/run/corosync.pid
204 /var/run/rgmanager.pid
205 /var/run/cluster/rgmanager.sk
206
207 iscsi_lock_t
208
209 /var/lock/iscsi(/.*)?
210
211 lvm_metadata_t
212
213 /etc/lvmtab(/.*)?
214 /etc/lvmtab.d(/.*)?
215 /etc/lvm/cache(/.*)?
216 /etc/multipath(/.*)?
217 /etc/lvm/backup(/.*)?
218 /etc/lvm/archive(/.*)?
219 /var/cache/multipathd(/.*)?
220 /etc/lvm/.cache
221
222 mdadm_conf_t
223
224 /etc/mdadm.conf
225 /etc/mdadm.conf.anacbak
226
227 pegasus_data_t
228
229 /var/lib/Pegasus(/.*)?
230 /etc/Pegasus/pegasus_current.conf
231 /etc/Pegasus/cimserver_current.conf
232
233 pegasus_openlmi_storage_lib_t
234
235 /var/lib/openlmi-storage(/.*)?
236
237 pegasus_openlmi_storage_tmp_t
238
239
240 pegasus_openlmi_storage_var_run_t
241
242 /var/run/openlmi-storage(/.*)?
243
244 root_t
245
246 /sysroot/ostree/deploy/.*-atomic.*/deploy(/.*)?
247 /
248 /initrd
249
250 security_t
251
252 /selinux
253
254 sysfs_t
255
256 /sys(/.*)?
257
258
260 SELinux requires files to have an extended attribute to define the file
261 type.
262
263 You can see the context of a file using the -Z option to ls
264
265 Policy governs the access confined processes have to these files.
266 SELinux pegasus_openlmi_storage policy is very flexible allowing users
267 to setup their pegasus_openlmi_storage processes in as secure a method
268 as possible.
269
270 STANDARD FILE CONTEXT
271
272 SELinux defines the file context types for the pegasus_openlmi_storage,
273 if you wanted to store files with these types in a diffent paths, you
274 need to execute the semanage command to sepecify alternate labeling and
275 then use restorecon to put the labels on disk.
276
277 semanage fcontext -a -t pegasus_openlmi_storage_var_run_t '/srv/mypega‐
278 sus_openlmi_storage_content(/.*)?'
279 restorecon -R -v /srv/mypegasus_openlmi_storage_content
280
281 Note: SELinux often uses regular expressions to specify labels that
282 match multiple files.
283
284 The following file types are defined for pegasus_openlmi_storage:
285
286
287
288 pegasus_openlmi_storage_exec_t
289
290 - Set files with the pegasus_openlmi_storage_exec_t type, if you want
291 to transition an executable to the pegasus_openlmi_storage_t domain.
292
293
294 Paths:
295 /usr/libexec/pegasus/cmpiLMI_Hardware-cimprovagt,
296 /usr/libexec/pegasus/pycmpiLMI_Storage-cimprovagt
297
298
299 pegasus_openlmi_storage_lib_t
300
301 - Set files with the pegasus_openlmi_storage_lib_t type, if you want to
302 treat the files as pegasus openlmi storage lib data.
303
304
305
306 pegasus_openlmi_storage_tmp_t
307
308 - Set files with the pegasus_openlmi_storage_tmp_t type, if you want to
309 store pegasus openlmi storage temporary files in the /tmp directories.
310
311
312
313 pegasus_openlmi_storage_var_run_t
314
315 - Set files with the pegasus_openlmi_storage_var_run_t type, if you
316 want to store the pegasus openlmi storage files under the /run or
317 /var/run directory.
318
319
320
321 Note: File context can be temporarily modified with the chcon command.
322 If you want to permanently change the file context you need to use the
323 semanage fcontext command. This will modify the SELinux labeling data‐
324 base. You will need to use restorecon to apply the labels.
325
326
328 semanage fcontext can also be used to manipulate default file context
329 mappings.
330
331 semanage permissive can also be used to manipulate whether or not a
332 process type is permissive.
333
334 semanage module can also be used to enable/disable/install/remove pol‐
335 icy modules.
336
337 semanage boolean can also be used to manipulate the booleans
338
339
340 system-config-selinux is a GUI tool available to customize SELinux pol‐
341 icy settings.
342
343
345 This manual page was auto-generated using sepolicy manpage .
346
347
349 selinux(8), pegasus_openlmi_storage(8), semanage(8), restorecon(8),
350 chcon(1), sepolicy(8) , setsebool(8)
351
352
353
354pegasus_openlmi_storage 19-04-25 pegasus_openlmi_storage_selinux(8)