diff -Nru mysql-5.5-5.5.44/debian/changelog mysql-5.5-5.5.44/debian/changelog --- mysql-5.5-5.5.44/debian/changelog 2015-07-15 22:04:22.000000000 +0200 +++ mysql-5.5-5.5.44/debian/changelog 2015-08-12 12:17:30.000000000 +0200 @@ -1,3 +1,10 @@ +mysql-5.5 (5.5.44-0+deb7u2) wheezy-updates; urgency=low + + * Fix mysql_install_db running as root, creating files owned by the wrong + user. It can prevent mysql from restarting. (See also: #663000 and #737224) + + -- Colin Leroy Wed, 12 Aug 2015 22:01:14 +0200 + mysql-5.5 (5.5.44-0+deb7u1) wheezy-security; urgency=high * Non-maintainer upload by the Security Team. diff -Nru mysql-5.5-5.5.44/debian/mysql-server-5.5.postinst mysql-5.5-5.5.44/debian/mysql-server-5.5.postinst --- mysql-5.5-5.5.44/debian/mysql-server-5.5.postinst 2015-07-15 22:04:22.000000000 +0200 +++ mysql-5.5-5.5.44/debian/mysql-server-5.5.postinst 2015-08-12 15:04:37.000000000 +0200 @@ -143,7 +143,7 @@ # Debian: beware of the bashisms... # Debian: can safely run on upgrades with existing databases set +e - bash /usr/bin/mysql_install_db --rpm 2>&1 | $ERR_LOGGER + bash /usr/bin/mysql_install_db --user mysql --rpm 2>&1 | $ERR_LOGGER if [ "$?" != "0" ]; then echo "ATTENTION: An error has occured. More info is in the syslog!" fi