![](https://seccdn.libravatar.org/avatar/0f88cf8bb979996f217ccb046ece82ea.jpg?s=120&d=mm&r=g)
I don't really need it because I don't need printing through samba,
but I'm curious, so I tried it:
# aa-logprof
Reading log entries from /var/log/audit/audit.log.
Updating AppArmor profiles in /etc/apparmor.d.
Target profile exists: /etc/apparmor.d/samba-bgqd
Profile: smbd
Execute: /usr/lib64/samba/samba-bgqd
Severity: unknown
(I)nherit / (C)hild / (P)rofile / (N)amed / (U)nconfined / (X) ix On /
(D)eny / Abo(r)t / (F)inish
I have no clue what to choose here. And there seems to be a big
discrepancy with 'man aa-logprof' because it only mentions and
explains these options:
(A)llow, (D)eny, (I)gnore, (N)ew, (G)lob last piece, (Q)uit
???
On Wed, Feb 2, 2022 at 11:22 AM Carlos E. R.
On 2022-02-02 11:17, Wilfred van Velzen wrote:
Thanks!
The 'disable spoolss = yes' did the trick for me. I already had everything else related to printing disabled, but smb still wouldn't start.
It might be related to the apparmor profile for samba, because I got a 'permission denied' error in my 'systemctl status smb' output...
To correct that, you must run "aa-logprof" as root in a terminal.
-- Cheers / Saludos,
Carlos E. R. (from 15.3 x86_64 at Telcontar)
-- Met vriendelijke groet / Best regards, Wilfred van Velzen