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