Endless stream of useless audit messages from smbd
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
apparmor (Ubuntu) |
Won't Fix
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: samba
In karmic, samba now produces an endless stream of "audit" messages in dmesg. See dmesg.txt attached to this report. I have also taken an strace log of the process in question, and I don't see any permission denied or access errors in there.
The main problem I have with this output is it's useless. It doesn't tell me anything about the file or other object that was supposedly accessed.
ProblemType: Bug
Architecture: amd64
Date: Fri Oct 2 12:03:31 2009
DistroRelease: Ubuntu 9.10
NonfreeKernelMo
Package: samba 2:3.4.0-3ubuntu4
ProcEnviron:
LANG=en_US.UTF-8
SHELL=/bin/bash
ProcVersionSign
SourcePackage: samba
Uname: Linux 2.6.31-11-generic x86_64
affects: | samba (Ubuntu) → apparmor (Ubuntu) |
Thank you for taking the time to report this bug and helping to make Ubuntu better. You seem to have the apparmor-profiles packages installed, and the messages you see are hex-encoded due to 'unsafe' characters in the filename. Eg: 52F4D757369632F 446176652042727 56265636B2D4A61 7A7A20436F6C6C6 56374696F6E2028 646973632031292 F30392047656F72 676961206F6E204 D79204D696E642E 666C6163
2F6172636869766
is:
/archive/Music/Dave Brubeck-Jazz Collection (disc 1)/09 Georgia on My Mind.flac
You need to update your profile for smbd in /etc/apparmor. d/usr.sbin. smbd to allow access to these files. If you would prefer not to confine smbd, you may alternatively disable the profile with: d/usr.sbin. smbd d/usr.sbin. smbd /etc/apparmor. d/disable/ usr.sbin. smbd
$ sudo apparmor_parser -R /etc/apparmor.
$ sudo ln -s /etc/apparmor.
The first operation unloads the profile from the kernel and the second disables the profile on boot.