[Pkg-samba-maint] Bug#896080: AppArmor/Samba integration in Debian

Mathieu Parent math.parent at gmail.com
Thu Feb 21 21:19:34 GMT 2019

Hi Christian,

I'm working on AppArmor/Samba integration in Samba and integrated you'
"update-apparmor-samba-profile" script.

I've taken version 1.1, but it silently exists with:

    grep -q '^/usr/sbin/smbd (' /sys/kernel/security/apparmor/profiles || \
        silentexit "smbd profile not loaded"

I don't have the complete path but the profile name in this file:

$ sudo cat /sys/kernel/security/apparmor/profiles | grep smbd
smbd (enforce)

I don't know much about Apparmor, is this a bug in the script or a
behavior difference under Debian?

Mathieu Parent

More information about the Pkg-samba-maint mailing list