1blueman_selinux(8) SELinux Policy blueman blueman_selinux(8)
2
3
4
6 blueman_selinux - Security Enhanced Linux Policy for the blueman pro‐
7 cesses
8
10 Security-Enhanced Linux secures the blueman processes via flexible
11 mandatory access control.
12
13 The blueman processes execute with the blueman_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 blueman_t
20
21
22
24 The blueman_t SELinux type can be entered via the blueman_exec_t file
25 type.
26
27 The default entrypoint paths for the blueman_t domain are the follow‐
28 ing:
29
30 /usr/libexec/blueman-mechanism
31
33 SELinux defines process types (domains) for each process running on the
34 system
35
36 You can see the context of a process using the -Z option to ps
37
38 Policy governs the access confined processes have to files. SELinux
39 blueman policy is very flexible allowing users to setup their blueman
40 processes in as secure a method as possible.
41
42 The following process types are defined for blueman:
43
44 blueman_t
45
46 Note: semanage permissive -a blueman_t can be used to make the process
47 type blueman_t permissive. SELinux does not deny access to permissive
48 process types, but the AVC (SELinux denials) messages are still gener‐
49 ated.
50
51
53 SELinux policy is customizable based on least access required. blueman
54 policy is extremely flexible and has several booleans that allow you to
55 manipulate the policy and run blueman with the tightest access possi‐
56 ble.
57
58
59
60 If you want to allow all domains to execute in fips_mode, you must turn
61 on the fips_mode boolean. Enabled by default.
62
63 setsebool -P fips_mode 1
64
65
66
67 If you want to allow system to run with NIS, you must turn on the
68 nis_enabled boolean. Disabled by default.
69
70 setsebool -P nis_enabled 1
71
72
73
74 If you want to allow xguest to use blue tooth devices, you must turn on
75 the xguest_use_bluetooth boolean. Enabled by default.
76
77 setsebool -P xguest_use_bluetooth 1
78
79
80
82 The SELinux process type blueman_t can manage files labeled with the
83 following file types. The paths listed are the default paths for these
84 file types. Note the processes UID still need to have DAC permissions.
85
86 blueman_tmp_t
87
88
89 blueman_var_lib_t
90
91 /var/lib/blueman(/.*)?
92
93 blueman_var_run_t
94
95
96 cluster_conf_t
97
98 /etc/cluster(/.*)?
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 krb5_host_rcache_t
127
128 /var/tmp/krb5_0.rcache2
129 /var/cache/krb5rcache(/.*)?
130 /var/tmp/nfs_0
131 /var/tmp/DNS_25
132 /var/tmp/host_0
133 /var/tmp/imap_0
134 /var/tmp/HTTP_23
135 /var/tmp/HTTP_48
136 /var/tmp/ldap_55
137 /var/tmp/ldap_487
138 /var/tmp/ldapmap1_0
139
140 root_t
141
142 /sysroot/ostree/deploy/.*-atomic/deploy(/.*)?
143 /
144 /initrd
145
146
148 SELinux requires files to have an extended attribute to define the file
149 type.
150
151 You can see the context of a file using the -Z option to ls
152
153 Policy governs the access confined processes have to these files.
154 SELinux blueman policy is very flexible allowing users to setup their
155 blueman processes in as secure a method as possible.
156
157 STANDARD FILE CONTEXT
158
159 SELinux defines the file context types for the blueman, if you wanted
160 to store files with these types in a diffent paths, you need to execute
161 the semanage command to specify alternate labeling and then use re‐
162 storecon to put the labels on disk.
163
164 semanage fcontext -a -t blueman_tmp_t '/srv/myblueman_content(/.*)?'
165 restorecon -R -v /srv/myblueman_content
166
167 Note: SELinux often uses regular expressions to specify labels that
168 match multiple files.
169
170 The following file types are defined for blueman:
171
172
173
174 blueman_exec_t
175
176 - Set files with the blueman_exec_t type, if you want to transition an
177 executable to the blueman_t domain.
178
179
180
181 blueman_tmp_t
182
183 - Set files with the blueman_tmp_t type, if you want to store blueman
184 temporary files in the /tmp directories.
185
186
187
188 blueman_var_lib_t
189
190 - Set files with the blueman_var_lib_t type, if you want to store the
191 blueman files under the /var/lib directory.
192
193
194
195 blueman_var_run_t
196
197 - Set files with the blueman_var_run_t type, if you want to store the
198 blueman files under the /run or /var/run directory.
199
200
201
202 Note: File context can be temporarily modified with the chcon command.
203 If you want to permanently change the file context you need to use the
204 semanage fcontext command. This will modify the SELinux labeling data‐
205 base. You will need to use restorecon to apply the labels.
206
207
209 semanage fcontext can also be used to manipulate default file context
210 mappings.
211
212 semanage permissive can also be used to manipulate whether or not a
213 process type is permissive.
214
215 semanage module can also be used to enable/disable/install/remove pol‐
216 icy modules.
217
218 semanage boolean can also be used to manipulate the booleans
219
220
221 system-config-selinux is a GUI tool available to customize SELinux pol‐
222 icy settings.
223
224
226 This manual page was auto-generated using sepolicy manpage .
227
228
230 selinux(8), blueman(8), semanage(8), restorecon(8), chcon(1), sepol‐
231 icy(8), setsebool(8)
232
233
234
235blueman 21-11-19 blueman_selinux(8)