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  dontaudit all daemons scheduling requests (setsched,
56       sys_nice), you must turn on the  daemons_dontaudit_scheduling  boolean.
57       Enabled by default.
58
59       setsebool -P daemons_dontaudit_scheduling 1
60
61
62
63       If you want to allow all domains to execute in fips_mode, you must turn
64       on the fips_mode boolean. Enabled by default.
65
66       setsebool -P fips_mode 1
67
68
69
70       If you want to allow confined applications to use nscd  shared  memory,
71       you must turn on the nscd_use_shm boolean. Enabled by default.
72
73       setsebool -P nscd_use_shm 1
74
75
76

MANAGED FILES

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

FILE CONTEXTS

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

COMMANDS

230       semanage  fcontext  can also be used to manipulate default file context
231       mappings.
232
233       semanage permissive can also be used to manipulate  whether  or  not  a
234       process type is permissive.
235
236       semanage  module can also be used to enable/disable/install/remove pol‐
237       icy modules.
238
239       semanage boolean can also be used to manipulate the booleans
240
241
242       system-config-selinux is a GUI tool available to customize SELinux pol‐
243       icy settings.
244
245

AUTHOR

247       This manual page was auto-generated using sepolicy manpage .
248
249

SEE ALSO

251       selinux(8),  ccs(8), semanage(8), restorecon(8), chcon(1), sepolicy(8),
252       setsebool(8)
253
254
255
256ccs                                23-10-20                     ccs_selinux(8)
Impressum