The following pull request was submitted through Github.
It can be accessed and reviewed at: https://github.com/lxc/lxd/pull/7967

This e-mail was sent by the LXC bot, direct replies will not reach the author
unless they happen to be subscribed to this list.

=== Description (from pull-request) ===
Reported in #7935

Signed-off-by: Stéphane Graber <stgra...@ubuntu.com>
From 4950044cd42f5425c746da494b7e59bfd32833b8 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?St=C3=A9phane=20Graber?= <stgra...@ubuntu.com>
Date: Thu, 1 Oct 2020 12:10:24 -0400
Subject: [PATCH] lxd/apparmor: Allow access to zoneinfo files
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

Reported in #7935

Signed-off-by: Stéphane Graber <stgra...@ubuntu.com>
---
 lxd/apparmor/network_dnsmasq.go | 1 +
 1 file changed, 1 insertion(+)

diff --git a/lxd/apparmor/network_dnsmasq.go b/lxd/apparmor/network_dnsmasq.go
index ef2c5ef691..e77efd5029 100644
--- a/lxd/apparmor/network_dnsmasq.go
+++ b/lxd/apparmor/network_dnsmasq.go
@@ -37,6 +37,7 @@ profile "{{ .name }}" 
flags=(attach_disconnected,mediate_deleted) {
   # Additional system files
   @{PROC}/sys/net/ipv6/conf/*/mtu r,
   @{PROC}/@{pid}/fd/ r,
+  {{ .rootPath }}/usr/share/zoneinfo/**  r,
 
   # System configuration access
   {{ .rootPath }}/etc/gai.conf           r,
_______________________________________________
lxc-devel mailing list
lxc-devel@lists.linuxcontainers.org
http://lists.linuxcontainers.org/listinfo/lxc-devel

Reply via email to