Commit d8198f6c authored by intrigeri's avatar intrigeri

Patch usr.sbin.smdb to include snippet generated at runtime (part of the fix for #896080).

parent 2f89c7d5
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>
}
......@@ -27,6 +27,7 @@ debian/non-linux.patch
debian/Enable-writing-cache.patch
debian/Make-the-systemd-unit-a-no-op-in-containers-with-no-inter.patch
debian/dnsmasq-revert-own-profile-name-and-libvirt-s.patch
debian/smbd-include-snippet-generated-at-runtime.patch
debian-only/pin-feature-set.patch
debian-only/aa-notify-point-to-Debian-documentation.patch
debian-only/Document-which-AppArmor-features-are-not-supported-on-Deb.patch
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment