[MDEV-19233] mysql_upgrade is not executed on package upgrade on Debian Created: 2019-04-10 Updated: 2019-04-28 Resolved: 2019-04-28 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | Platform Debian, Scripts & Clients |
| Affects Version/s: | 10.1.37, 10.2.23 |
| Fix Version/s: | N/A |
| Type: | Bug | Priority: | Major |
| Reporter: | Jean Weisbuch | Assignee: | Unassigned |
| Resolution: | Duplicate | Votes: | 0 |
| Labels: | None | ||
| Environment: |
Debian Stretch AMD64 |
||
| Issue Links: |
|
||||||||||||
| Description |
|
It seems that mysql_upgrade is not (always?) executed automatically anymore on packages upgrade on recent Debian using the MariaDB repositories. For example, on two fresh Debian Stretch (using systemd), upgrading from MariaDB 10.1.37 (from the Debian repository) to a 10.2.23 (from the MariaDB repository) did need to manually execute mysql_upgrade after the packages upgrade ended and the servers were running for a few minutes (the debian-start script was not running anymore). I recall having a similar issue on upgrade from 10.0 to 10.1 on Debian Jessie (both from the MariaDB repository). |
| Comments |
| Comment by Elena Stepanova [ 2019-04-28 ] |
|
Yes, there is a notorious race condition around mysql_upgrade on deb-based systems, which unfortunately remains unresolved so far. |