Package: apparmor / 2.13.4-3

debian/smbd-include-snippet-generated-at-runtime.patch Patch series | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
From: intrigeri <intrigeri@boum.org>
Date: Sun, 24 Feb 2019 17:42:16 +0000
Subject: smbd: include snippet generated at runtime

---
 profiles/apparmor.d/usr.sbin.smbd | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/profiles/apparmor.d/usr.sbin.smbd b/profiles/apparmor.d/usr.sbin.smbd
index f46e80e..1c49c9c 100644
--- a/profiles/apparmor.d/usr.sbin.smbd
+++ b/profiles/apparmor.d/usr.sbin.smbd
@@ -55,6 +55,10 @@ profile smbd /usr/{bin,sbin}/smbd {
 
   @{HOMEDIRS}/** lrwk,
 
+  # Permissions for all configured shares (file autogenerated by
+  # update-apparmor-samba-profile on service startup.
+  #include if exists <samba/smbd-shares>
+
   # Site-specific additions and overrides. See local/README for details.
   #include <local/usr.sbin.smbd>
 }