[Bug 742501] Re: Apparmor profile prevents read/write from /tmp
Clint Byrum
clint at fewbar.com
Fri Apr 1 23:48:50 UTC 2011
Excerpts from Necrolyte2's message of Sat Mar 26 00:38:50 UTC 2011:
> /tmp is a symbolic link to /home/tmp
>
> I didn't do it so I'm assuming it was done during the install
>
Definitely not. By default /tmp is its own directory off /
> --
> You received this bug notification because you are a direct subscriber
> of the bug.
> https://bugs.launchpad.net/bugs/742501
>
> Title:
> Apparmor profile prevents read/write from /tmp
>
> Status in “mysql-5.1” package in Ubuntu:
> Invalid
>
> 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(1301059398.713:35): apparmor="DENIED" operation="mknod" parent=1 profile="/usr/sbin/mysqld" name="/home/tmp/#sql_f07_0.MYI" pid=4538 comm="mysqld" requested_mask="c" denied_mask="c" fsuid=115 ouid=115
> [19694.473134] type=1400 audit(1301061612.712:369): apparmor="DENIED" operation="mknod" parent=1 profile="/usr/sbin/mysqld" name="/home/tmp/#sql_1772_0.MYD" pid=6010 comm="mysqld" requested_mask="c" denied_mask="c" fsuid=115 ouid=115
> [19598.298780] type=1400 audit(1301061516.536:336): apparmor="DENIED" operation="mknod" parent=1 profile="/usr/sbin/mysqld" name="/home/tmp/ibm6SIim" pid=6002 comm="mysqld" requested_mask="c" denied_mask="c" fsuid=115 ouid=115
>
> ProblemType: Bug
> DistroRelease: Ubuntu 10.10
> Package: mysql-server-5.1 5.1.49-1ubuntu8.1
> ProcVersionSignature: Ubuntu 2.6.35-27.48-generic 2.6.35.11
> 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
>
> To unsubscribe from this bug, go to:
> https://bugs.launchpad.net/ubuntu/+source/mysql-5.1/+bug/742501/+subscribe
--
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to mysql-5.1 in Ubuntu.
https://bugs.launchpad.net/bugs/742501
Title:
Apparmor profile prevents read/write from /tmp
More information about the Ubuntu-server-bugs
mailing list