https://bugzilla.novell.com/show_bug.cgi?id=688040 https://bugzilla.novell.com/show_bug.cgi?id=688040#c26 --- Comment #26 from Norbert Hornyak <hnsz2002@gmail.com> 2012-01-31 10:19:47 UTC --- (In reply to comment #25)
Ah, you are using 11.4 - that explains it. The autogenerated apparmor sniplet for all shares is included starting with 12.1.
Basically, you have two options: a) manual way: - echo "# replaceme" > /etc/apparmor.d/local/usr.sbin.smbd-shares - add " #include <local/usr.sbin.smbd-shares>" to /etc/apparmor.d/usr.sbin.smbd - rcsmb restart (this should update the local/usr.sbin.smbd-shares sniplet)
b) update your apparmor-profiles package to 2.7.1 from security:apparmor:factory - I never tested the 2.7.1 profiles with apparmor 2.5, but if it works, it's the easiest solution.
a) AppArmor parser error for /etc/apparmor.d/usr.sbin.smbd in /etc/apparmor.d/local/usr.sbin.smbd-shares at line 3: syntax error, unexpected TOK_MODE, expecting TOK_OPEN /etc/apparmor.d/usr.sbin.smbd failed to load b) Same error: [ 6270.775634] type=1400 audit(1328005157.152:357): apparmor="DENIED" operation="open" parent=15544 profile="/usr/sbin/smbd" name="/srv/samba-share/" pid=15640 comm="smbd" requested_mask="r" denied_mask="r" fsuid=65534 ouid=1000 -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.