7ae734d682
- update to AppArmor 3.0.4 - various fixes in profiles, abstractions, apparmor_parser and utils (some of them were already included as patches) - add support for mctp address family - see https://gitlab.com/apparmor/apparmor/-/wikis/Release_Notes_3.0.4 for the full upstream changelog - remove upstream(ed) patches: - aa-notify-more-arch-mr809.diff - ruby-3.1-build-fix.diff - add-samba-bgqd.diff - openssl-engdef-mr818.diff - profiles-python-3.10-mr783.diff - update-samba-abstractions-ldb2.diff - refresh patches: - apparmor-samba-include-permissions-for-shares.diff - ruby-2_0-mkmf-destdir.patch AppArmor 3.0.4 also includes a fix for the issue with 'mctp' found via https://build.opensuse.org/request/show/951354 so you might want to pick this SR into Staging:O OBS-URL: https://build.opensuse.org/request/show/953283 OBS-URL: https://build.opensuse.org/package/show/security:apparmor/apparmor?expand=0&rev=316
35 lines
1.3 KiB
Diff
35 lines
1.3 KiB
Diff
Samba generates a profile sniplet with permissions for all shares at
|
|
start using the update-apparmor-samba-profile script.
|
|
|
|
This patch includes the autogenerated profile sniplet it in the smbd
|
|
profile. It also creates a dummy profile sniplet to avoid "file not
|
|
found" errors when AppArmor is started before samba was started.
|
|
|
|
References: https://bugzilla.novell.com/show_bug.cgi?id=688040
|
|
|
|
|
|
Signed-off-by: Christian Boltz <apparmor@cboltz.de>
|
|
|
|
=== added file 'profiles/apparmor.d/local/usr.sbin.smbd-shares'
|
|
--- profiles/apparmor.d/local/usr.sbin.smbd-shares 1970-01-01 00:00:00 +0000
|
|
+++ profiles/apparmor.d/local/usr.sbin.smbd-shares 2011-10-19 09:40:05 +0000
|
|
@@ -0,0 +1,2 @@
|
|
+# This file will be replaced by rules for all samba shares at samba start.
|
|
+# Do not edit!
|
|
|
|
=== modified file 'profiles/apparmor.d/usr.sbin.smbd'
|
|
--- profiles/apparmor.d/usr.sbin.smbd 2011-08-27 18:50:42 +0000
|
|
+++ profiles/apparmor.d/usr.sbin.smbd 2011-10-19 09:37:04 +0000
|
|
@@ -59,6 +59,10 @@
|
|
@{HOMEDIRS}/** lrwk,
|
|
/var/lib/samba/usershares/{,**} lrwk,
|
|
|
|
+ # permissions for all configured shares
|
|
+ # autogenerated by update-apparmor-samba-profile at samba start
|
|
+ include <local/usr.sbin.smbd-shares>
|
|
+
|
|
# Site-specific additions and overrides. See local/README for details.
|
|
include if exists <local/usr.sbin.smbd>
|
|
}
|
|
|