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
78 labeled with the following file types. The paths listed are the
79 default paths for these file types. Note the processes UID still need
80 to have 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/corosync-qnetd(/.*)?
105 /var/run/corosync-qdevice(/.*)?
106 /var/run/corosync.pid
107 /var/run/cpglockd.pid
108 /var/run/rgmanager.pid
109 /var/run/cluster/rgmanager.sk
110
111 iscsi_lock_t
112
113 /var/lock/iscsi(/.*)?
114
115 lvm_metadata_t
116
117 /etc/lvmtab(/.*)?
118 /etc/lvmtab.d(/.*)?
119 /etc/lvm/cache(/.*)?
120 /etc/multipath(/.*)?
121 /etc/lvm/backup(/.*)?
122 /etc/lvm/archive(/.*)?
123 /var/cache/multipathd(/.*)?
124 /etc/lvm/.cache
125
126 mdadm_conf_t
127
128 /etc/mdadm.conf
129 /etc/mdadm.conf.anacbak
130
131 pegasus_data_t
132
133 /var/lib/Pegasus(/.*)?
134 /etc/Pegasus/pegasus_current.conf
135 /etc/Pegasus/cimserver_current.conf
136
137 pegasus_openlmi_storage_lib_t
138
139 /var/lib/openlmi-storage(/.*)?
140
141 pegasus_openlmi_storage_var_run_t
142
143 /var/run/openlmi-storage(/.*)?
144
145 root_t
146
147 /sysroot/ostree/deploy/.*-atomic/deploy(/.*)?
148 /
149 /initrd
150
151 security_t
152
153 /selinux
154
155
157 SELinux requires files to have an extended attribute to define the file
158 type.
159
160 You can see the context of a file using the -Z option to ls
161
162 Policy governs the access confined processes have to these files.
163 SELinux pegasus_openlmi_storage policy is very flexible allowing users
164 to setup their pegasus_openlmi_storage processes in as secure a method
165 as possible.
166
167 STANDARD FILE CONTEXT
168
169 SELinux defines the file context types for the pegasus_openlmi_storage,
170 if you wanted to store files with these types in a diffent paths, you
171 need to execute the semanage command to sepecify alternate labeling and
172 then use restorecon to put the labels on disk.
173
174 semanage fcontext -a -t pegasus_openlmi_storage_var_run_t '/srv/mypega‐
175 sus_openlmi_storage_content(/.*)?'
176 restorecon -R -v /srv/mypegasus_openlmi_storage_content
177
178 Note: SELinux often uses regular expressions to specify labels that
179 match multiple files.
180
181 The following file types are defined for pegasus_openlmi_storage:
182
183
184
185 pegasus_openlmi_storage_exec_t
186
187 - Set files with the pegasus_openlmi_storage_exec_t type, if you want
188 to transition an executable to the pegasus_openlmi_storage_t domain.
189
190
191 Paths:
192 /usr/libexec/pegasus/cmpiLMI_Hardware-cimprovagt,
193 /usr/libexec/pegasus/pycmpiLMI_Storage-cimprovagt
194
195
196 pegasus_openlmi_storage_lib_t
197
198 - Set files with the pegasus_openlmi_storage_lib_t type, if you want to
199 treat the files as pegasus openlmi storage lib data.
200
201
202
203 pegasus_openlmi_storage_tmp_t
204
205 - Set files with the pegasus_openlmi_storage_tmp_t type, if you want to
206 store pegasus openlmi storage temporary files in the /tmp directories.
207
208
209
210 pegasus_openlmi_storage_var_run_t
211
212 - Set files with the pegasus_openlmi_storage_var_run_t type, if you
213 want to store the pegasus openlmi storage files under the /run or
214 /var/run directory.
215
216
217
218 Note: File context can be temporarily modified with the chcon command.
219 If you want to permanently change the file context you need to use the
220 semanage fcontext command. This will modify the SELinux labeling data‐
221 base. You will need to use restorecon to apply the labels.
222
223
225 semanage fcontext can also be used to manipulate default file context
226 mappings.
227
228 semanage permissive can also be used to manipulate whether or not a
229 process type is permissive.
230
231 semanage module can also be used to enable/disable/install/remove pol‐
232 icy modules.
233
234 semanage boolean can also be used to manipulate the booleans
235
236
237 system-config-selinux is a GUI tool available to customize SELinux pol‐
238 icy settings.
239
240
242 This manual page was auto-generated using sepolicy manpage .
243
244
246 selinux(8), pegasus_openlmi_storage(8), semanage(8), restorecon(8),
247 chcon(1), sepolicy(8), setsebool(8)
248
249
250
251pegasus_openlmi_storage 21-03-26 pegasus_openlmi_storage_selinux(8)