Skip to content

Commit 5d3c461

Browse files
committed
KVM Container need to use tunnel sockets created by runtime.
Signed-off-by: Daniel J Walsh <[email protected]>
1 parent 0ef4703 commit 5d3c461

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

container.te

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
policy_module(container, 2.150.0)
1+
policy_module(container, 2.151.0)
22
gen_require(`
33
class passwd rootok;
44
')
@@ -1148,6 +1148,8 @@ allow container_kvm_t container_runtime_t:unix_stream_socket rw_stream_socket_pe
11481148

11491149
container_stream_connect(container_kvm_t)
11501150

1151+
allow container_kvm_t container_runtime_t:tun_socket attach_queue;
1152+
11511153
dev_rw_inherited_vhost(container_kvm_t)
11521154
dev_rw_vfio_dev(container_kvm_t)
11531155

0 commit comments

Comments
 (0)