Apparmor profile prevents read/write from /tmp
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
mysql-5.1 (Ubuntu) |
Invalid
|
Undecided
|
Unassigned |
Bug Description
Need to add
/home/tmp/*.MY* rw,
to the usr.sbin.mysqld apparmor profile
Affected package: mysql-5.1
Kern.log entries of interest
[17480.475541] type=1400 audit(130105939
[19694.473134] type=1400 audit(130106161
[19598.298780] type=1400 audit(130106151
ProblemType: Bug
DistroRelease: Ubuntu 10.10
Package: mysql-server-5.1 5.1.49-1ubuntu8.1
ProcVersionSign
Uname: Linux 2.6.35-27-generic i686
Architecture: i386
Date: Fri Mar 25 21:15:46 2011
InstallationMedia: Ubuntu 10.10 "Maverick Meerkat" - Release i386 (20101007)
ProcEnviron:
LANG=en_US.UTF-8
SHELL=/bin/bash
SourcePackage: mysql-5.1
Necrolyte, thanks for taking the time to file this bug report and help us make Ubuntu better.
I'm not sure why we would add /home/tmp to the default apparmor profile for mysqld, when it is not the default tmpdir for the package. Can you explain your reasoning for that?
If you want to put tmp on /home/tmp, you most certainly can, but you will need to also modify the apparmor profile (which will subsequently be re-loaded when mysql is stopped and started again.)
Closing as Invalid. If I have misunderstood the issue, please feel free to change the status back to New, or file a new report.