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