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 domains to execute in fips_mode, you must turn
71 on the fips_mode boolean. Enabled by default.
72
73 setsebool -P fips_mode 1
74
75
76
77 If you want to allow confined applications to run with kerberos, you
78 must turn on the kerberos_enabled boolean. Enabled by default.
79
80 setsebool -P kerberos_enabled 1
81
82
83
84 If you want to allow system to run with NIS, you must turn on the
85 nis_enabled boolean. Disabled by default.
86
87 setsebool -P nis_enabled 1
88
89
90
91 If you want to allow confined applications to use nscd shared memory,
92 you must turn on the nscd_use_shm boolean. Disabled by default.
93
94 setsebool -P nscd_use_shm 1
95
96
97
99 The SELinux process type pegasus_openlmi_storage_t can manage files
100 labeled with the following file types. The paths listed are the
101 default paths for these file types. Note the processes UID still need
102 to have DAC permissions.
103
104 cluster_conf_t
105
106 /etc/cluster(/.*)?
107
108 cluster_var_lib_t
109
110 /var/lib/pcsd(/.*)?
111 /var/lib/cluster(/.*)?
112 /var/lib/openais(/.*)?
113 /var/lib/pengine(/.*)?
114 /var/lib/corosync(/.*)?
115 /usr/lib/heartbeat(/.*)?
116 /var/lib/heartbeat(/.*)?
117 /var/lib/pacemaker(/.*)?
118
119 cluster_var_run_t
120
121 /var/run/crm(/.*)?
122 /var/run/cman_.*
123 /var/run/rsctmp(/.*)?
124 /var/run/aisexec.*
125 /var/run/heartbeat(/.*)?
126 /var/run/corosync-qnetd(/.*)?
127 /var/run/corosync-qdevice(/.*)?
128 /var/run/corosync.pid
129 /var/run/cpglockd.pid
130 /var/run/rgmanager.pid
131 /var/run/cluster/rgmanager.sk
132
133 iscsi_lock_t
134
135 /var/lock/iscsi(/.*)?
136
137 lvm_metadata_t
138
139 /etc/lvmtab(/.*)?
140 /etc/lvmtab.d(/.*)?
141 /etc/lvm/cache(/.*)?
142 /etc/multipath(/.*)?
143 /etc/lvm/backup(/.*)?
144 /etc/lvm/archive(/.*)?
145 /var/cache/multipathd(/.*)?
146 /etc/lvm/.cache
147
148 mdadm_conf_t
149
150 /etc/mdadm.conf
151 /etc/mdadm.conf.anacbak
152
153 pegasus_data_t
154
155 /var/lib/Pegasus(/.*)?
156 /etc/Pegasus/pegasus_current.conf
157 /etc/Pegasus/cimserver_current.conf
158
159 pegasus_openlmi_storage_lib_t
160
161 /var/lib/openlmi-storage(/.*)?
162
163 pegasus_openlmi_storage_tmp_t
164
165
166 pegasus_openlmi_storage_var_run_t
167
168 /var/run/openlmi-storage(/.*)?
169
170 root_t
171
172 /sysroot/ostree/deploy/.*-atomic/deploy(/.*)?
173 /
174 /initrd
175
176 security_t
177
178 /selinux
179
180 sysfs_t
181
182 /sys(/.*)?
183
184
186 SELinux requires files to have an extended attribute to define the file
187 type.
188
189 You can see the context of a file using the -Z option to ls
190
191 Policy governs the access confined processes have to these files.
192 SELinux pegasus_openlmi_storage policy is very flexible allowing users
193 to setup their pegasus_openlmi_storage processes in as secure a method
194 as possible.
195
196 STANDARD FILE CONTEXT
197
198 SELinux defines the file context types for the pegasus_openlmi_storage,
199 if you wanted to store files with these types in a diffent paths, you
200 need to execute the semanage command to sepecify alternate labeling and
201 then use restorecon to put the labels on disk.
202
203 semanage fcontext -a -t pegasus_openlmi_storage_var_run_t '/srv/mypega‐
204 sus_openlmi_storage_content(/.*)?'
205 restorecon -R -v /srv/mypegasus_openlmi_storage_content
206
207 Note: SELinux often uses regular expressions to specify labels that
208 match multiple files.
209
210 The following file types are defined for pegasus_openlmi_storage:
211
212
213
214 pegasus_openlmi_storage_exec_t
215
216 - Set files with the pegasus_openlmi_storage_exec_t type, if you want
217 to transition an executable to the pegasus_openlmi_storage_t domain.
218
219
220 Paths:
221 /usr/libexec/pegasus/cmpiLMI_Hardware-cimprovagt,
222 /usr/libexec/pegasus/pycmpiLMI_Storage-cimprovagt
223
224
225 pegasus_openlmi_storage_lib_t
226
227 - Set files with the pegasus_openlmi_storage_lib_t type, if you want to
228 treat the files as pegasus openlmi storage lib data.
229
230
231
232 pegasus_openlmi_storage_tmp_t
233
234 - Set files with the pegasus_openlmi_storage_tmp_t type, if you want to
235 store pegasus openlmi storage temporary files in the /tmp directories.
236
237
238
239 pegasus_openlmi_storage_var_run_t
240
241 - Set files with the pegasus_openlmi_storage_var_run_t type, if you
242 want to store the pegasus openlmi storage files under the /run or
243 /var/run directory.
244
245
246
247 Note: File context can be temporarily modified with the chcon command.
248 If you want to permanently change the file context you need to use the
249 semanage fcontext command. This will modify the SELinux labeling data‐
250 base. You will need to use restorecon to apply the labels.
251
252
254 semanage fcontext can also be used to manipulate default file context
255 mappings.
256
257 semanage permissive can also be used to manipulate whether or not a
258 process type is permissive.
259
260 semanage module can also be used to enable/disable/install/remove pol‐
261 icy modules.
262
263 semanage boolean can also be used to manipulate the booleans
264
265
266 system-config-selinux is a GUI tool available to customize SELinux pol‐
267 icy settings.
268
269
271 This manual page was auto-generated using sepolicy manpage .
272
273
275 selinux(8), pegasus_openlmi_storage(8), semanage(8), restorecon(8),
276 chcon(1), sepolicy(8), setsebool(8)
277
278
279
280pegasus_openlmi_storage 19-06-18 pegasus_openlmi_storage_selinux(8)