Samba generates a profile sniplet with permissions for all shares at start using the update-apparmor-samba-profile script. After the include rules were upstreamed in AppArmor 3.0.5 (MR 838), this patch was shortened. Now it "only" creates a dummy profile sniplet because update-apparmor-samba-profiles on Leap 15.3 and 15.4 aborts if the local/ sniplet doesn't exist. Tumbleweed does not rely on a pre-existing local/usr.sbin.smbd-shares anymore, therefore the patch gets skipped there in the spec. References: https://bugzilla.novell.com/show_bug.cgi?id=688040 Signed-off-by: Christian Boltz === 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!