]> xenbits.xensource.com Git - libvirt.git/commitdiff
apparmor, libvirt-qemu: Silence lttng related deny messages
authorStefan Bader <stefan.bader@canonical.com>
Tue, 19 Dec 2017 15:03:35 +0000 (16:03 +0100)
committerCédric Bosdonnat <cbosdonnat@suse.com>
Tue, 9 Jan 2018 08:59:29 +0000 (09:59 +0100)
Prevent denial messages related to attempted reads on lttng
files from spamming the logs.

Bug-Ubuntu: https://bugs.launchpad.net/bugs/1432644

Signed-off-by: Christian Ehrhardt <christian.ehrhardt@canonical.com>
Signed-off-by: Stefan Bader <stefan.bader@canonical.com>
examples/apparmor/libvirt-qemu

index 77c72a5bf454c5f0a0a16968d85ee6a2b96b7661..651d841f19e0126d3aff740401721a2613c8dc4b 100644 (file)
   /sys/devices/system/node/ r,
   /sys/devices/system/node/node[0-9]*/meminfo r,
   /sys/module/vhost/parameters/max_mem_regions r,
+
+  # silence refusals to open lttng files (see LP: #1432644)
+  deny /dev/shm/lttng-ust-wait-* r,
+  deny /run/shm/lttng-ust-wait-* r,