1boothd_selinux(8) SELinux Policy boothd boothd_selinux(8)
2
3
4
6 boothd_selinux - Security Enhanced Linux Policy for the boothd pro‐
7 cesses
8
10 Security-Enhanced Linux secures the boothd processes via flexible
11 mandatory access control.
12
13 The boothd processes execute with the boothd_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 boothd_t
20
21
22
24 The boothd_t SELinux type can be entered via the boothd_exec_t file
25 type.
26
27 The default entrypoint paths for the boothd_t domain are the following:
28
29 /usr/sbin/boothd, /usr/sbin/booth-keygen
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 boothd policy is very flexible allowing users to setup their boothd
39 processes in as secure a method as possible.
40
41 The following process types are defined for boothd:
42
43 boothd_t
44
45 Note: semanage permissive -a boothd_t can be used to make the process
46 type boothd_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. boothd
53 policy is extremely flexible and has several booleans that allow you to
54 manipulate the policy and run boothd with the tightest access possible.
55
56
57
58 If you want to dontaudit all daemons scheduling requests (setsched,
59 sys_nice), you must turn on the daemons_dontaudit_scheduling boolean.
60 Enabled by default.
61
62 setsebool -P daemons_dontaudit_scheduling 1
63
64
65
66 If you want to allow all domains to execute in fips_mode, you must turn
67 on the fips_mode boolean. Enabled by default.
68
69 setsebool -P fips_mode 1
70
71
72
74 SELinux defines port types to represent TCP and UDP ports.
75
76 You can see the types associated with a port by using the following
77 command:
78
79 semanage port -l
80
81
82 Policy governs the access confined processes have to these ports.
83 SELinux boothd policy is very flexible allowing users to setup their
84 boothd processes in as secure a method as possible.
85
86 The following port types are defined for boothd:
87
88
89 boothd_port_t
90
91
92
93 Default Defined Ports:
94 tcp 9929
95 udp 9929
96
98 The SELinux process type boothd_t can manage files labeled with the
99 following file types. The paths listed are the default paths for these
100 file types. Note the processes UID still need to have DAC permissions.
101
102 boothd_var_run_t
103
104 /var/run/booth(/.*)?
105
106 cluster_conf_t
107
108 /etc/cluster(/.*)?
109
110 cluster_tmpfs_t
111
112
113 cluster_var_lib_t
114
115 /var/lib/pcsd(/.*)?
116 /var/lib/cluster(/.*)?
117 /var/lib/openais(/.*)?
118 /var/lib/pengine(/.*)?
119 /var/lib/corosync(/.*)?
120 /usr/lib/heartbeat(/.*)?
121 /var/lib/heartbeat(/.*)?
122 /var/lib/pacemaker(/.*)?
123
124 cluster_var_run_t
125
126 /var/run/crm(/.*)?
127 /var/run/cman_.*
128 /var/run/rsctmp(/.*)?
129 /var/run/aisexec.*
130 /var/run/heartbeat(/.*)?
131 /var/run/pcsd-ruby.socket
132 /var/run/corosync-qnetd(/.*)?
133 /var/run/corosync-qdevice(/.*)?
134 /var/run/corosync.pid
135 /var/run/cpglockd.pid
136 /var/run/rgmanager.pid
137 /var/run/cluster/rgmanager.sk
138
139 root_t
140
141 /sysroot/ostree/deploy/.*-atomic/deploy(/.*)?
142 /
143 /initrd
144
145
147 SELinux requires files to have an extended attribute to define the file
148 type.
149
150 You can see the context of a file using the -Z option to ls
151
152 Policy governs the access confined processes have to these files.
153 SELinux boothd policy is very flexible allowing users to setup their
154 boothd processes in as secure a method as possible.
155
156 STANDARD FILE CONTEXT
157
158 SELinux defines the file context types for the boothd, if you wanted to
159 store files with these types in a different paths, you need to execute
160 the semanage command to specify alternate labeling and then use re‐
161 storecon to put the labels on disk.
162
163 semanage fcontext -a -t boothd_exec_t '/srv/boothd/content(/.*)?'
164 restorecon -R -v /srv/myboothd_content
165
166 Note: SELinux often uses regular expressions to specify labels that
167 match multiple files.
168
169 The following file types are defined for boothd:
170
171
172
173 boothd_etc_t
174
175 - Set files with the boothd_etc_t type, if you want to store boothd
176 files in the /etc directories.
177
178
179
180 boothd_exec_t
181
182 - Set files with the boothd_exec_t type, if you want to transition an
183 executable to the boothd_t domain.
184
185
186 Paths:
187 /usr/sbin/boothd, /usr/sbin/booth-keygen
188
189
190 boothd_unit_file_t
191
192 - Set files with the boothd_unit_file_t type, if you want to treat the
193 files as boothd unit content.
194
195
196 Paths:
197 /usr/lib/systemd/system/booth@.service, /usr/lib/systemd/sys‐
198 tem/booth-arbitrator.service
199
200
201 boothd_var_lib_t
202
203 - Set files with the boothd_var_lib_t type, if you want to store the
204 boothd files under the /var/lib directory.
205
206
207
208 boothd_var_run_t
209
210 - Set files with the boothd_var_run_t type, if you want to store the
211 boothd files under the /run or /var/run directory.
212
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
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 port can also be used to manipulate the port definitions
232
233 semanage boolean can also be used to manipulate the booleans
234
235
236 system-config-selinux is a GUI tool available to customize SELinux pol‐
237 icy settings.
238
239
241 This manual page was auto-generated using sepolicy manpage .
242
243
245 selinux(8), boothd(8), semanage(8), restorecon(8), chcon(1), sepol‐
246 icy(8), setsebool(8)
247
248
249
250boothd 23-10-20 boothd_selinux(8)