1groupd_selinux(8) SELinux Policy groupd groupd_selinux(8)
2
3
4
6 groupd_selinux - Security Enhanced Linux Policy for the groupd pro‐
7 cesses
8
10 Security-Enhanced Linux secures the groupd processes via flexible
11 mandatory access control.
12
13 The groupd processes execute with the groupd_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 groupd_t
20
21
22
24 The groupd_t SELinux type can be entered via the groupd_exec_t file
25 type.
26
27 The default entrypoint paths for the groupd_t domain are the following:
28
29 /usr/sbin/groupd
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 groupd policy is very flexible allowing users to setup their groupd
39 processes in as secure a method as possible.
40
41 The following process types are defined for groupd:
42
43 groupd_t
44
45 Note: semanage permissive -a groupd_t can be used to make the process
46 type groupd_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. groupd
53 policy is extremely flexible and has several booleans that allow you to
54 manipulate the policy and run groupd with the tightest access possible.
55
56
57
58 If you want to allow cluster administrative cluster domains memcheck-
59 amd64- to use executable memory, you must turn on the cluster_use_ex‐
60 ecmem boolean. Disabled by default.
61
62 setsebool -P cluster_use_execmem 1
63
64
65
66 If you want to dontaudit all daemons scheduling requests (setsched,
67 sys_nice), you must turn on the daemons_dontaudit_scheduling boolean.
68 Enabled by default.
69
70 setsebool -P daemons_dontaudit_scheduling 1
71
72
73
74 If you want to allow all domains to execute in fips_mode, you must turn
75 on the fips_mode boolean. Enabled by default.
76
77 setsebool -P fips_mode 1
78
79
80
81 If you want to allow system to run with NIS, you must turn on the
82 nis_enabled boolean. Disabled by default.
83
84 setsebool -P nis_enabled 1
85
86
87
89 The SELinux process type groupd_t can manage files labeled with the
90 following file types. The paths listed are the default paths for these
91 file types. Note the processes UID still need to have DAC permissions.
92
93 cluster_conf_t
94
95 /etc/cluster(/.*)?
96
97 cluster_log
98
99
100 cluster_var_lib_t
101
102 /var/lib/pcsd(/.*)?
103 /var/lib/cluster(/.*)?
104 /var/lib/openais(/.*)?
105 /var/lib/pengine(/.*)?
106 /var/lib/corosync(/.*)?
107 /usr/lib/heartbeat(/.*)?
108 /var/lib/heartbeat(/.*)?
109 /var/lib/pacemaker(/.*)?
110
111 cluster_var_run_t
112
113 /var/run/crm(/.*)?
114 /var/run/cman_.*
115 /var/run/rsctmp(/.*)?
116 /var/run/aisexec.*
117 /var/run/heartbeat(/.*)?
118 /var/run/pcsd-ruby.socket
119 /var/run/corosync-qnetd(/.*)?
120 /var/run/corosync-qdevice(/.*)?
121 /var/run/corosync.pid
122 /var/run/cpglockd.pid
123 /var/run/rgmanager.pid
124 /var/run/cluster/rgmanager.sk
125
126 groupd_tmpfs_t
127
128
129 groupd_var_run_t
130
131 /var/run/groupd.pid
132
133 krb5_host_rcache_t
134
135 /var/tmp/krb5_0.rcache2
136 /var/cache/krb5rcache(/.*)?
137 /var/tmp/nfs_0
138 /var/tmp/DNS_25
139 /var/tmp/host_0
140 /var/tmp/imap_0
141 /var/tmp/HTTP_23
142 /var/tmp/HTTP_48
143 /var/tmp/ldap_55
144 /var/tmp/ldap_487
145 /var/tmp/ldapmap1_0
146
147 root_t
148
149 /sysroot/ostree/deploy/.*-atomic/deploy(/.*)?
150 /
151 /initrd
152
153
155 SELinux requires files to have an extended attribute to define the file
156 type.
157
158 You can see the context of a file using the -Z option to ls
159
160 Policy governs the access confined processes have to these files.
161 SELinux groupd policy is very flexible allowing users to setup their
162 groupd processes in as secure a method as possible.
163
164 STANDARD FILE CONTEXT
165
166 SELinux defines the file context types for the groupd, if you wanted to
167 store files with these types in a different paths, you need to execute
168 the semanage command to specify alternate labeling and then use re‐
169 storecon to put the labels on disk.
170
171 semanage fcontext -a -t groupd_exec_t '/srv/groupd/content(/.*)?'
172 restorecon -R -v /srv/mygroupd_content
173
174 Note: SELinux often uses regular expressions to specify labels that
175 match multiple files.
176
177 The following file types are defined for groupd:
178
179
180
181 groupd_exec_t
182
183 - Set files with the groupd_exec_t type, if you want to transition an
184 executable to the groupd_t domain.
185
186
187
188 groupd_tmpfs_t
189
190 - Set files with the groupd_tmpfs_t type, if you want to store groupd
191 files on a tmpfs file system.
192
193
194
195 groupd_var_log_t
196
197 - Set files with the groupd_var_log_t type, if you want to treat the
198 data as groupd var log data, usually stored under the /var/log direc‐
199 tory.
200
201
202
203 groupd_var_run_t
204
205 - Set files with the groupd_var_run_t type, if you want to store the
206 groupd files under the /run or /var/run directory.
207
208
209
210 Note: File context can be temporarily modified with the chcon command.
211 If you want to permanently change the file context you need to use the
212 semanage fcontext command. This will modify the SELinux labeling data‐
213 base. You will need to use restorecon to apply the labels.
214
215
217 semanage fcontext can also be used to manipulate default file context
218 mappings.
219
220 semanage permissive can also be used to manipulate whether or not a
221 process type is permissive.
222
223 semanage module can also be used to enable/disable/install/remove pol‐
224 icy modules.
225
226 semanage boolean can also be used to manipulate the booleans
227
228
229 system-config-selinux is a GUI tool available to customize SELinux pol‐
230 icy settings.
231
232
234 This manual page was auto-generated using sepolicy manpage .
235
236
238 selinux(8), groupd(8), semanage(8), restorecon(8), chcon(1), sepol‐
239 icy(8), setsebool(8)
240
241
242
243groupd 23-10-20 groupd_selinux(8)