Activity log for bug #1602945

Date Who What changed Old value New value Message
2016-07-14 06:06:23 Lars Tangvald bug added bug
2016-07-14 11:10:30 Robie Basak nominated for series Ubuntu Xenial
2016-07-14 11:10:30 Robie Basak bug task added mysql-5.7 (Ubuntu Xenial)
2016-07-14 11:10:49 Robie Basak mysql-5.7 (Ubuntu): status New Triaged
2016-07-14 11:10:52 Robie Basak mysql-5.7 (Ubuntu Xenial): status New Triaged
2016-09-20 11:40:18 Lars Tangvald mysql-5.7 (Ubuntu): status Triaged Fix Committed
2016-09-28 09:15:41 Launchpad Janitor mysql-5.7 (Ubuntu): status Fix Committed Fix Released
2016-12-01 11:46:49 Lars Tangvald description When purging the server package, the user should be given the option to remove data files. This is especially important if switching between MySQL and MariaDB, as they are not compatible, so not cleaning up after one is likely to make installation of the other fail. However, the dialogue for this is never shown. The cause is that there's a check that skips the dialog if the server binary exists (is executable), which never passes. It seems to have been copied from an old version (4.1) that had the logic in the metapackage mysql-server (Debian bug #307473). Checking the file shouldn't be needed any longer. When purging the server package, the user should be given the option to remove data files. This is especially important if switching between MySQL and MariaDB, as they are not compatible, so not cleaning up after one is likely to make installation of the other fail. However, the dialogue for this is never shown. The cause is that there's a check that skips the dialog if the server binary exists (is executable), which never passes. It seems to have been copied from an old version (4.1) that had the logic in the metapackage mysql-server (Debian bug #307473). [Impact] Users are never given the option to remove data files when purging the package. This causes fairly significant issues for users wanting to go from MariaDB to MySQL or vice-versa, since the two packages occupy the same data directories, but are not compatible with each other. The fix removes the useless file check, so users are given the data removal option when purging the package. [Test case] Install mysql-server package, then purge it. [Regression Potential] This change has been in Yakkety for some time (5.7.15-0ubuntu2). It's possible that a user might have a MySQL server installed in some other way not covered by the package system, so they wouldn't want to purge data, but this will only give the option to do so.
2016-12-16 09:28:15 Lars Tangvald mysql-5.7 (Ubuntu Xenial): status Triaged Fix Committed
2016-12-16 09:28:15 Lars Tangvald mysql-5.7 (Ubuntu Xenial): assignee Lars Tangvald (lars-tangvald)
2016-12-16 11:42:27 Lars Tangvald mysql-5.7 (Ubuntu Xenial): status Fix Committed In Progress
2017-01-06 11:43:03 Robie Basak mysql-5.7 (Ubuntu Xenial): milestone xenial-updates