Package: mysql-server-5.5 Version: 5.5.44-0+deb7u1 Severity: important Hi, This bug happened already with mysql-server-5.1 (#663000) and has already been fixed in Jessie (#737224). It still happens on Wheezy, which is what my servers use.
The problem happens if mysql_install_db creates tables but also is binlogging is enabled, in which case *.bin logs are created owned by root:root instead of mysql:mysql. It can prevent mysql from restarting, with a permission denied error. Here is a debdiff to fix it. I hope this helps and can be integrated! Thanks for your work. -- System Information: Debian Release: 7.8 APT prefers oldstable-updates APT policy: (500, 'oldstable-updates'), (500, 'oldstable') Architecture: amd64 (x86_64) Kernel: Linux 2.6.32-5-amd64 (SMP w/8 CPU cores) Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash -- Colin
mysql-server-5.5-fix-postinst.debdiff
Description: Binary data