[Bug 306886] [NEW] AppArmor profile included doesn't allow mysql to bind to socket

2008-12-10 Thread Márcio Santos
Public bug reported:

The AppArmor profile included in MySQL Server 5, version 5.0.67-0ubuntu6
doesn't denies mysqld permissions to create socket, resulting in
problems with installation of package and use of MySQL.

Details of daemon.log:

Dec 10 15:30:09 avebi01 mysqld_safe[11071]: started
Dec 10 15:30:09 avebi01 mysqld[11074]: 081210 15:30:09  InnoDB: Started; log 
sequence number 0 43655
Dec 10 15:30:09 avebi01 mysqld[11074]: 081210 15:30:09 [ERROR] Can't create IP 
socket: Permission denied
Dec 10 15:30:09 avebi01 mysqld[11074]: 081210 15:30:09 [ERROR] Aborting
Dec 10 15:30:09 avebi01 mysqld[11074]: 
Dec 10 15:30:09 avebi01 mysqld[11074]: 081210 15:30:09  InnoDB: Starting 
shutdown...
Dec 10 15:30:10 avebi01 mysqld[11074]: 081210 15:30:10  InnoDB: Shutdown 
completed; log sequence number 0 43655
Dec 10 15:30:10 avebi01 mysqld[11074]: 081210 15:30:10 [Note] /usr/sbin/mysqld: 
Shutdown complete
Dec 10 15:30:10 avebi01 mysqld[11074]: 
Dec 10 15:30:10 avebi01 mysqld_safe[11095]: ended

Disabling the profile or disabling apparmor solves the problem.


Details of system:

Description:Ubuntu 8.10
Release:8.10

mysql-server-5.0:
  Installed: 5.0.67-0ubuntu6
  Candidate: 5.0.67-0ubuntu6
  Version table:
 *** 5.0.67-0ubuntu6 0
500 http://archive.ubuntu.com intrepid/main Packages
100 /var/lib/dpkg/status

** Affects: mysql-dfsg-5.0 (Ubuntu)
 Importance: Undecided
 Status: New

-- 
AppArmor profile included doesn't allow mysql to bind to socket
https://bugs.launchpad.net/bugs/306886
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to mysql-dfsg-5.0 in ubuntu.

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


Re: [Bug 306886] [NEW] AppArmor profile included doesn't allow mysql to bind to socket

2008-12-10 Thread Mathias Gug
Hi,

On Wed, Dec 10, 2008 at 03:42:51PM -, Márcio Santos wrote:
 The AppArmor profile included in MySQL Server 5, version 5.0.67-0ubuntu6
 doesn't denies mysqld permissions to create socket, resulting in
 problems with installation of package and use of MySQL.
 

Could you post the AppArmor messages from the kernel? You can find them
in dmesg or in /var/log/kern.log.

  status incomplete

-- 
Mathias Gug
Ubuntu Developer  http://www.ubuntu.com


** Changed in: mysql-dfsg-5.0 (Ubuntu)
   Status: New = Incomplete

-- 
AppArmor profile included doesn't allow mysql to bind to socket
https://bugs.launchpad.net/bugs/306886
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to mysql-dfsg-5.0 in ubuntu.

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs