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

Reply via email to