[Samba] Log Level For Debugging preexec/postexec?

Stefan Kania stefan at kania-online.de
Thu Dec 23 17:27:37 UTC 2021



Am 23.12.21 um 14:55 schrieb Adam Tauno Williams via samba:
> type=AVC msg=audit(1640209580.186:1156): apparmor="DENIED" operation="open" profile="smbd" name="/proc/28232/fd/" pid=28232 comm="smbd" requested_mask="r" denied_mask="r" fsuid=437 ouid=0
> type=AVC msg=audit(1640209580.194:1157): apparmor="DENIED" operation="exec" profile="smbd" name="/usr/bin/bash" pid=28232 comm="smbd" requested_mask="x" denied_mask="x" fsuid=437 ouid=0
> type=AVC msg=audit(1640209583.190:1158): apparmor="DENIED" operation="open" profile="smbd" name="/proc/28233/fd/" pid=28233 comm="smbd" requested_mask="r" denied_mask="r" fsuid=0 ouid=0
> type=AVC msg=audit(1640209583.198:1159): apparmor="DENIED" operation="exec" profile="smbd" name="/usr/bin/bash" pid=28233 comm="smbd" requested_mask="x" denied_mask="x" fsuid=0 ouid=0

So just add /usr/bin/bash with r,x permission in the apparmor file from
smbd, restart apparmor and smbd

-- 
Stefan Kania
Landweg 13
25693 St. Michaelisdonn


Signieren jeder E-Mail hilft Spam zu reduzieren und schützt Ihre
Privatsphäre. Ein kostenfreies Zertifikat erhalten Sie unter
https://www.dgn.de/dgncert/index.html
Download der root-Zertifikate: https://www.dgn.de/dgncert/downloads.html





More information about the samba mailing list