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