[Bug 1195412] smb does not start if openSUSE-SLE-15.3-2022-283 is installed and smb.conf has printers set up
https://bugzilla.suse.com/show_bug.cgi?id=1195412 https://bugzilla.suse.com/show_bug.cgi?id=1195412#c5 --- Comment #5 from Mathias Homann <Mathias.Homann@opensuse.org> --- (In reply to Andreas Osterburg from comment #4)
(In reply to Mathias Homann from comment #3)
(In reply to Mathias Homann from comment #2)
(In reply to Andreas Osterburg from comment #1)
Same here. It seems that apparmor is the problem.
My workaround:
Add the following two lines to /etc/apparmor.d/local/usr.sbin.smbd
/usr/lib64/samba/samba-bgqd ix, /run/samba/samba-bgqd.pid rw,
and reload the appamor profile
/sbin/apparmor_parser -r /etc/apparmor.d/usr.sbin.smbd
actually:
akari:~ # /sbin/apparmor_parser -r /etc/apparmor.d/local/usr.sbin.smbd AppArmor-Analysefehler f?r /etc/apparmor.d/local/usr.sbin.smbd in /etc/apparmor.d/local/usr.sbin.smbd in Zeile 2: syntax error, unexpected TOK_MODE, expecting TOK_OPEN
You cannot load just the local part, you have to include the whole profile: /sbin/apparmor_parser -r /etc/apparmor.d/usr.sbin.smbd
That worked, but the updated samba server does *not* offer any printers. -- You are receiving this mail because: You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@suse.com