Commit 19cda85f authored by Otto Kekäläinen's avatar Otto Kekäläinen
Browse files

Backported the fix of #770177 from 10.0 to 5.5 so that the migration

question will not be asked repeatedly.
parent 52ceea23
...@@ -5,6 +5,8 @@ mariadb-5.5 (5.5.39-3) UNRELEASED; urgency=low ...@@ -5,6 +5,8 @@ mariadb-5.5 (5.5.39-3) UNRELEASED; urgency=low
the package mariadb-server-5.5 to allow overwriting the innochecksum the package mariadb-server-5.5 to allow overwriting the innochecksum
man page file which has changed location (LP: #1368124) as per man page file which has changed location (LP: #1368124) as per
doc https://www.debian.org/doc/debian-policy/ch-relationships.html#s7.6.1 doc https://www.debian.org/doc/debian-policy/ch-relationships.html#s7.6.1
* Backported the fix of #770177 from 10.0 to 5.5 so that the migration
question will not be asked repeatedly.
-- Otto Kekäläinen <otto@seravo.fi> Sat, 04 Oct 2014 22:45:02 +0300 -- Otto Kekäläinen <otto@seravo.fi> Sat, 04 Oct 2014 22:45:02 +0300
......
...@@ -134,6 +134,8 @@ EOF ...@@ -134,6 +134,8 @@ EOF
# data directory and then somewhen gets purged by the admin. # data directory and then somewhen gets purged by the admin.
db_set mysql-server/postrm_remove_database false || true db_set mysql-server/postrm_remove_database false || true
# Clean up old flags before setting new one
rm $mysql_statedir/debian-*.flag
# To avoid downgrades. # To avoid downgrades.
touch $mysql_statedir/debian-5.5.flag touch $mysql_statedir/debian-5.5.flag
...@@ -146,7 +148,7 @@ EOF ...@@ -146,7 +148,7 @@ EOF
set +e set +e
bash /usr/bin/mysql_install_db --rpm --user=mysql 2>&1 | $ERR_LOGGER bash /usr/bin/mysql_install_db --rpm --user=mysql 2>&1 | $ERR_LOGGER
set -e set -e
## On every reconfiguration the maintenance user is recreated. ## On every reconfiguration the maintenance user is recreated.
# #
# - It is easier to regenerate the password every time but as people # - It is easier to regenerate the password every time but as people
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment