1ccs_selinux(8)                SELinux Policy ccs                ccs_selinux(8)
2
3
4

NAME

6       ccs_selinux - Security Enhanced Linux Policy for the ccs processes
7

DESCRIPTION

9       Security-Enhanced  Linux  secures the ccs processes via flexible manda‐
10       tory access control.
11
12       The ccs processes execute with the ccs_t SELinux type. You can check if
13       you  have  these processes running by executing the ps command with the
14       -Z qualifier.
15
16       For example:
17
18       ps -eZ | grep ccs_t
19
20
21

ENTRYPOINTS

23       The ccs_t SELinux type can be entered via the ccs_exec_t file type.
24
25       The default entrypoint paths for the ccs_t domain are the following:
26
27       /sbin/ccsd, /usr/sbin/ccsd
28

PROCESS TYPES

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       ccs policy is very flexible allowing users to setup their ccs processes
37       in as secure a method as possible.
38
39       The following process types are defined for ccs:
40
41       ccs_t
42
43       Note: semanage permissive -a ccs_t can be used to make the process type
44       ccs_t permissive. SELinux does not deny access  to  permissive  process
45       types, but the AVC (SELinux denials) messages are still generated.
46
47

BOOLEANS

49       SELinux  policy  is  customizable  based on least access required.  ccs
50       policy is extremely flexible and has several booleans that allow you to
51       manipulate the policy and run ccs with the tightest access possible.
52
53
54
55       If you want to allow all domains to execute in fips_mode, you must turn
56       on the fips_mode boolean. Enabled by default.
57
58       setsebool -P fips_mode 1
59
60
61
62       If you want to allow confined applications to use nscd  shared  memory,
63       you must turn on the nscd_use_shm boolean. Enabled by default.
64
65       setsebool -P nscd_use_shm 1
66
67
68

MANAGED FILES

70       The  SELinux  process type ccs_t can manage files labeled with the fol‐
71       lowing file types.  The paths listed are the default  paths  for  these
72       file types.  Note the processes UID still need to have DAC permissions.
73
74       ccs_tmp_t
75
76
77       ccs_tmpfs_t
78
79
80       ccs_var_lib_t
81
82            /var/lib/cluster/((ccs)|(ccsd)).*
83
84       ccs_var_run_t
85
86            /var/run/cluster/((ccs)|(ccsd)).pid
87            /var/run/cluster/((ccs)|(ccsd)).sock
88
89       cluster_conf_t
90
91            /etc/cluster(/.*)?
92
93       cluster_var_lib_t
94
95            /var/lib/pcsd(/.*)?
96            /var/lib/cluster(/.*)?
97            /var/lib/openais(/.*)?
98            /var/lib/pengine(/.*)?
99            /var/lib/corosync(/.*)?
100            /usr/lib/heartbeat(/.*)?
101            /var/lib/heartbeat(/.*)?
102            /var/lib/pacemaker(/.*)?
103
104       cluster_var_run_t
105
106            /var/run/crm(/.*)?
107            /var/run/cman_.*
108            /var/run/rsctmp(/.*)?
109            /var/run/aisexec.*
110            /var/run/heartbeat(/.*)?
111            /var/run/pcsd-ruby.socket
112            /var/run/corosync-qnetd(/.*)?
113            /var/run/corosync-qdevice(/.*)?
114            /var/run/corosync.pid
115            /var/run/cpglockd.pid
116            /var/run/rgmanager.pid
117            /var/run/cluster/rgmanager.sk
118
119       qpidd_tmpfs_t
120
121
122       root_t
123
124            /sysroot/ostree/deploy/.*-atomic/deploy(/.*)?
125            /
126            /initrd
127
128       unlabeled_t
129
130
131

FILE CONTEXTS

133       SELinux requires files to have an extended attribute to define the file
134       type.
135
136       You can see the context of a file using the -Z option to ls
137
138       Policy governs the access  confined  processes  have  to  these  files.
139       SELinux  ccs  policy is very flexible allowing users to setup their ccs
140       processes in as secure a method as possible.
141
142       STANDARD FILE CONTEXT
143
144       SELinux defines the file context types for the ccs, if  you  wanted  to
145       store  files  with  these types in a diffent paths, you need to execute
146       the semanage command to specify alternate labeling  and  then  use  re‐
147       storecon to put the labels on disk.
148
149       semanage fcontext -a -t ccs_var_run_t '/srv/myccs_content(/.*)?'
150       restorecon -R -v /srv/myccs_content
151
152       Note:  SELinux  often  uses  regular expressions to specify labels that
153       match multiple files.
154
155       The following file types are defined for ccs:
156
157
158
159       ccs_exec_t
160
161       - Set files with the ccs_exec_t type, if you want to transition an exe‐
162       cutable to the ccs_t domain.
163
164
165       Paths:
166            /sbin/ccsd, /usr/sbin/ccsd
167
168
169       ccs_initrc_exec_t
170
171       -  Set files with the ccs_initrc_exec_t type, if you want to transition
172       an executable to the ccs_initrc_t domain.
173
174
175
176       ccs_tmp_t
177
178       - Set files with the ccs_tmp_t type, if you want to store ccs temporary
179       files in the /tmp directories.
180
181
182
183       ccs_tmpfs_t
184
185       -  Set  files with the ccs_tmpfs_t type, if you want to store ccs files
186       on a tmpfs file system.
187
188
189
190       ccs_var_lib_t
191
192       - Set files with the ccs_var_lib_t type, if you want to store  the  ccs
193       files under the /var/lib directory.
194
195
196
197       ccs_var_log_t
198
199       -  Set files with the ccs_var_log_t type, if you want to treat the data
200       as ccs var log data, usually stored under the /var/log directory.
201
202
203
204       ccs_var_run_t
205
206       - Set files with the ccs_var_run_t type, if you want to store  the  ccs
207       files under the /run or /var/run directory.
208
209
210       Paths:
211            /var/run/cluster/((ccs)|(ccsd)).pid,                /var/run/clus‐
212            ter/((ccs)|(ccsd)).sock
213
214
215       Note: File context can be temporarily modified with the chcon  command.
216       If  you want to permanently change the file context you need to use the
217       semanage fcontext command.  This will modify the SELinux labeling data‐
218       base.  You will need to use restorecon to apply the labels.
219
220

COMMANDS

222       semanage  fcontext  can also be used to manipulate default file context
223       mappings.
224
225       semanage permissive can also be used to manipulate  whether  or  not  a
226       process type is permissive.
227
228       semanage  module can also be used to enable/disable/install/remove pol‐
229       icy modules.
230
231       semanage boolean can also be used to manipulate the booleans
232
233
234       system-config-selinux is a GUI tool available to customize SELinux pol‐
235       icy settings.
236
237

AUTHOR

239       This manual page was auto-generated using sepolicy manpage .
240
241

SEE ALSO

243       selinux(8),  ccs(8), semanage(8), restorecon(8), chcon(1), sepolicy(8),
244       setsebool(8)
245
246
247
248ccs                                22-05-27                     ccs_selinux(8)
Impressum