homeassistant: Add bluetooth support
This commit is contained in:
parent
1285656eae
commit
7b88de9100
4 changed files with 59 additions and 0 deletions
BIN
roles/homeassistant/files/homeassistant-local.pp
Normal file
BIN
roles/homeassistant/files/homeassistant-local.pp
Normal file
Binary file not shown.
21
roles/homeassistant/files/homeassistant-local.te
Normal file
21
roles/homeassistant/files/homeassistant-local.te
Normal file
|
@ -0,0 +1,21 @@
|
|||
|
||||
module homeassistant-local 1.0;
|
||||
|
||||
require {
|
||||
type container_t;
|
||||
type system_dbusd_var_run_t;
|
||||
type system_dbusd_t;
|
||||
type bluetooth_t;
|
||||
class sock_file write;
|
||||
class unix_stream_socket connectto;
|
||||
class dbus send_msg;
|
||||
}
|
||||
|
||||
#============= bluetooth_t ==============
|
||||
allow bluetooth_t container_t:dbus send_msg;
|
||||
|
||||
#============= container_t ==============
|
||||
allow container_t bluetooth_t:dbus send_msg;
|
||||
allow container_t system_dbusd_t:dbus send_msg;
|
||||
allow container_t system_dbusd_t:unix_stream_socket connectto;
|
||||
allow container_t system_dbusd_var_run_t:sock_file write;
|
Loading…
Add table
Add a link
Reference in a new issue