1howl_selinux(8) SELinux Policy howl howl_selinux(8)
2
3
4
6 howl_selinux - Security Enhanced Linux Policy for the howl processes
7
9 Security-Enhanced Linux secures the howl processes via flexible manda‐
10 tory access control.
11
12 The howl processes execute with the howl_t SELinux type. You can check
13 if you have these processes running by executing the ps command with
14 the -Z qualifier.
15
16 For example:
17
18 ps -eZ | grep howl_t
19
20
21
23 The howl_t SELinux type can be entered via the howl_exec_t file type.
24
25 The default entrypoint paths for the howl_t domain are the following:
26
27 /usr/bin/nifd, /usr/bin/mDNSResponder
28
30 SELinux defines process types (domains) for each process running on the
31 system
32
33 You can see the context of a process using the -Z option to ps
34
35 Policy governs the access confined processes have to files. SELinux
36 howl policy is very flexible allowing users to setup their howl pro‐
37 cesses in as secure a method as possible.
38
39 The following process types are defined for howl:
40
41 howl_t
42
43 Note: semanage permissive -a howl_t can be used to make the process
44 type howl_t permissive. SELinux does not deny access to permissive
45 process types, but the AVC (SELinux denials) messages are still gener‐
46 ated.
47
48
50 SELinux policy is customizable based on least access required. howl
51 policy is extremely flexible and has several booleans that allow you to
52 manipulate the policy and run howl with the tightest access possible.
53
54
55
56 If you want to allow all daemons to write corefiles to /, you must turn
57 on the allow_daemons_dump_core boolean. Disabled by default.
58
59 setsebool -P allow_daemons_dump_core 1
60
61
62
63 If you want to allow all daemons to use tcp wrappers, you must turn on
64 the allow_daemons_use_tcp_wrapper boolean. Disabled by default.
65
66 setsebool -P allow_daemons_use_tcp_wrapper 1
67
68
69
70 If you want to allow all daemons the ability to read/write terminals,
71 you must turn on the allow_daemons_use_tty boolean. Disabled by
72 default.
73
74 setsebool -P allow_daemons_use_tty 1
75
76
77
78 If you want to allow all domains to use other domains file descriptors,
79 you must turn on the allow_domain_fd_use boolean. Enabled by default.
80
81 setsebool -P allow_domain_fd_use 1
82
83
84
85 If you want to allow sysadm to debug or ptrace all processes, you must
86 turn on the allow_ptrace boolean. Disabled by default.
87
88 setsebool -P allow_ptrace 1
89
90
91
92 If you want to allow system to run with NIS, you must turn on the
93 allow_ypbind boolean. Disabled by default.
94
95 setsebool -P allow_ypbind 1
96
97
98
99 If you want to enable cluster mode for daemons, you must turn on the
100 daemons_enable_cluster_mode boolean. Disabled by default.
101
102 setsebool -P daemons_enable_cluster_mode 1
103
104
105
106 If you want to allow all domains to have the kernel load modules, you
107 must turn on the domain_kernel_load_modules boolean. Disabled by
108 default.
109
110 setsebool -P domain_kernel_load_modules 1
111
112
113
114 If you want to allow all domains to execute in fips_mode, you must turn
115 on the fips_mode boolean. Enabled by default.
116
117 setsebool -P fips_mode 1
118
119
120
121 If you want to enable reading of urandom for all domains, you must turn
122 on the global_ssp boolean. Disabled by default.
123
124 setsebool -P global_ssp 1
125
126
127
128 If you want to enable support for upstart as the init program, you must
129 turn on the init_upstart boolean. Enabled by default.
130
131 setsebool -P init_upstart 1
132
133
134
136 SELinux defines port types to represent TCP and UDP ports.
137
138 You can see the types associated with a port by using the following
139 command:
140
141 semanage port -l
142
143
144 Policy governs the access confined processes have to these ports.
145 SELinux howl policy is very flexible allowing users to setup their howl
146 processes in as secure a method as possible.
147
148 The following port types are defined for howl:
149
150
151 howl_port_t
152
153
154
155 Default Defined Ports:
156 tcp 5335
157 udp 5353
158
160 The SELinux process type howl_t can manage files labeled with the fol‐
161 lowing file types. The paths listed are the default paths for these
162 file types. Note the processes UID still need to have DAC permissions.
163
164 cluster_conf_t
165
166 /etc/cluster(/.*)?
167
168 cluster_var_lib_t
169
170 /var/lib(64)?/openais(/.*)?
171 /var/lib(64)?/pengine(/.*)?
172 /var/lib(64)?/corosync(/.*)?
173 /usr/lib(64)?/heartbeat(/.*)?
174 /var/lib(64)?/heartbeat(/.*)?
175 /var/lib(64)?/pacemaker(/.*)?
176 /var/lib/cluster(/.*)?
177
178 cluster_var_run_t
179
180 /var/run/crm(/.*)?
181 /var/run/cman_.*
182 /var/run/rsctmp(/.*)?
183 /var/run/aisexec.*
184 /var/run/heartbeat(/.*)?
185 /var/run/cpglockd.pid
186 /var/run/corosync.pid
187 /var/run/rgmanager.pid
188 /var/run/cluster/rgmanager.sk
189
190 howl_var_run_t
191
192 /var/run/nifd.pid
193
194 initrc_tmp_t
195
196
197 initrc_var_run_t
198
199 /var/run/utmp
200 /var/run/random-seed
201 /var/run/runlevel.dir
202 /var/run/setmixer_flag
203
204 mnt_t
205
206 /mnt(/[^/]*)
207 /mnt(/[^/]*)?
208 /rhev(/[^/]*)?
209 /media(/[^/]*)
210 /media(/[^/]*)?
211 /etc/rhgb(/.*)?
212 /media/.hal-.*
213 /net
214 /afs
215 /rhev
216 /misc
217
218 root_t
219
220 /
221 /initrd
222
223 tmp_t
224
225 /tmp
226 /usr/tmp
227 /var/tmp
228 /tmp-inst
229 /var/tmp-inst
230 /var/tmp/vi.recover
231
232
234 SELinux requires files to have an extended attribute to define the file
235 type.
236
237 You can see the context of a file using the -Z option to ls
238
239 Policy governs the access confined processes have to these files.
240 SELinux howl policy is very flexible allowing users to setup their howl
241 processes in as secure a method as possible.
242
243 STANDARD FILE CONTEXT
244
245 SELinux defines the file context types for the howl, if you wanted to
246 store files with these types in a diffent paths, you need to execute
247 the semanage command to sepecify alternate labeling and then use
248 restorecon to put the labels on disk.
249
250 semanage fcontext -a -t howl_var_run_t '/srv/myhowl_content(/.*)?'
251 restorecon -R -v /srv/myhowl_content
252
253 Note: SELinux often uses regular expressions to specify labels that
254 match multiple files.
255
256 The following file types are defined for howl:
257
258
259
260 howl_exec_t
261
262 - Set files with the howl_exec_t type, if you want to transition an
263 executable to the howl_t domain.
264
265
266 Paths:
267 /usr/bin/nifd, /usr/bin/mDNSResponder
268
269
270 howl_var_run_t
271
272 - Set files with the howl_var_run_t type, if you want to store the howl
273 files under the /run or /var/run directory.
274
275
276
277 Note: File context can be temporarily modified with the chcon command.
278 If you want to permanently change the file context you need to use the
279 semanage fcontext command. This will modify the SELinux labeling data‐
280 base. You will need to use restorecon to apply the labels.
281
282
284 semanage fcontext can also be used to manipulate default file context
285 mappings.
286
287 semanage permissive can also be used to manipulate whether or not a
288 process type is permissive.
289
290 semanage module can also be used to enable/disable/install/remove pol‐
291 icy modules.
292
293 semanage port can also be used to manipulate the port definitions
294
295 semanage boolean can also be used to manipulate the booleans
296
297
298 system-config-selinux is a GUI tool available to customize SELinux pol‐
299 icy settings.
300
301
303 This manual page was auto-generated using sepolicy manpage .
304
305
307 selinux(8), howl(8), semanage(8), restorecon(8), chcon(1) , setse‐
308 bool(8)
309
310
311
312howl 15-06-03 howl_selinux(8)