AppArmor profile included doesn't allow mysql to bind to winbind socket
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
mysql-dfsg-5.0 (Ubuntu) |
Fix Released
|
Undecided
|
Jamie Strandboge | ||
Intrepid |
Won't Fix
|
Undecided
|
Unassigned |
Bug Description
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://
100 /var/lib/
Related branches
Changed in mysql-dfsg-5.0: | |
status: | New → Triaged |
Hi,
On Wed, Dec 10, 2008 at 03:42:51PM -0000, 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
-- www.ubuntu. com
Mathias Gug
Ubuntu Developer http://