Yep, it's definitely an apparmor issue. Are you using your distribution's
packages ? I would say this is more a thing for their support - I for one
keep as far away from apparmor as I can :-)


On Tue, Nov 30, 2010 at 3:54 AM, Jorg W Young
<jorgwyoung...@gmail.com<jorgwyoung%2...@gmail.com>
> wrote:

> Hi,
>
> I'm running mysql 5.1.37 for ubuntu 9.10 (64 bits OS).
>
> I installed mysqld with apt-get, and going with  /etc/init.d/mysql for
> start/stop the server.
>
> I can start mysql server successfully, but can't stop the server with
> /etc/init.d/mysql stop. The error message is:
>
> Nov 30 10:46:05 kickseed kernel: [73702.681483] type=1503
> audit(1291085165.873:164): operation="open" pid=15424 parent=15423
> profile="/usr/sbin/mysqld" requested_mask="r::" denied_mask="r::"
> fsuid=0 ouid=0 name="/sys/devices/system/cpu/"
> Nov 30 10:46:33 kickseed kernel: [73730.137574] type=1503
> audit(1291085193.373:165): operation="open" pid=15448 parent=15447
> profile="/usr/sbin/mysqld" requested_mask="r::" denied_mask="r::"
> fsuid=0 ouid=0 name="/sys/devices/system/cpu/"
> Nov 30 10:46:33 kickseed kernel: [73730.164645] type=1503
> audit(1291085193.403:166): operation="open" pid=15468 parent=15467
> profile="/usr/sbin/mysqld" requested_mask="r::" denied_mask="r::"
> fsuid=0 ouid=0 name="/sys/devices/system/cpu/"
> Nov 30 10:46:33 kickseed kernel: [73730.356014] type=1503
> audit(1291085193.593:167): operation="open" pid=15653 parent=15474
> profile="/usr/sbin/mysqld" requested_mask="r::" denied_mask="r::"
> fsuid=0 ouid=0 name="/sys/devices/system/cpu/"
> Nov 30 10:46:34 kickseed kernel: [73731.183992] type=1503
> audit(1291085194.423:168): operation="open" pid=15662 parent=15661
> profile="/usr/sbin/mysqld" requested_mask="r::" denied_mask="r::"
> fsuid=0 ouid=0 name="/sys/devices/system/cpu/"
> Nov 30 10:46:35 kickseed kernel: [73732.197943] type=1503
> audit(1291085195.443:169): operation="open" pid=15678 parent=15677
> profile="/usr/sbin/mysqld" requested_mask="r::" denied_mask="r::"
> fsuid=0 ouid=0 name="/sys/devices/system/cpu/"
> Nov 30 10:46:35 kickseed kernel: [73732.232258] type=1503
> audit(1291085195.473:170): operation="open" pid=15689 parent=15688
> profile="/usr/sbin/mysqld" requested_mask="r::" denied_mask="r::"
> fsuid=0 ouid=0 name="/sys/devices/system/cpu/"
> Nov 30 10:46:54 kickseed kernel: [73751.579821] type=1503
> audit(1291085214.853:171): operation="open" pid=15735 parent=15734
> profile="/usr/sbin/mysqld" requested_mask="r::" denied_mask="r::"
> fsuid=0 ouid=0 name="/sys/devices/system/cpu/"
>
>
> Also I tried to add the line "/sys/devices/system/cpu/ r," to
> /etc/apparmor.d/usr.sbin.mysqld then restart apparmor, mysql still
> coundn't be stopped with /etc/init.d/mysql stop.
>
> Please help, thanks.
>
> --
> MySQL General Mailing List
> For list archives: http://lists.mysql.com/mysql
> To unsubscribe:    http://lists.mysql.com/mysql?unsub=vegiv...@tuxera.be
>
>


-- 
Bier met grenadyn
Is als mosterd by den wyn
Sy die't drinkt, is eene kwezel
Hy die't drinkt, is ras een ezel

Reply via email to