[MDEV-10507] MariaDB 10.1 + wsrep fails to start under systemd post-reboot Created: 2016-08-07 Updated: 2016-08-25 Resolved: 2016-08-25 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | Scripts & Clients |
| Affects Version/s: | 10.1.16 |
| Fix Version/s: | 10.1.17 |
| Type: | Bug | Priority: | Blocker |
| Reporter: | Andrew Garner | Assignee: | Nirbhay Choubey (Inactive) |
| Resolution: | Fixed | Votes: | 3 |
| Labels: | None | ||
| Environment: |
Debian 8 |
||
| Description |
|
After a reboot attempting to start a Galera enabled MariaDB 10.1 fails with an error along these lines:
This is caused by a missing /var/run/mysqld/ directory under the /var/run tmpfs. The mariadb.service file includes a ExecStartPre directive to recreate this directory but this action is currently specified after the galera_recovery related directive:
Moving the /var/run/mysqld ExecStartPre directive to before the galera_recovery line resolves this and startup works as expected. |
| Comments |
| Comment by Maciej Radzikowski [ 2016-08-08 ] |
|
I can confirm, we also encountered this issue and editing /lib/systemd/system/mariadb.service fixes the problem. |
| Comment by Joachim de Groot [ 2016-08-19 ] |
|
Is it possible to rebuild the package for Debian with a fix for this issue? This way it is not usable, and older packages are not available from the repo, so a downgrade is no option either. |
| Comment by Nirbhay Choubey (Inactive) [ 2016-08-22 ] |
|
http://lists.askmonty.org/pipermail/commits/2016-August/009683.html |
| Comment by Jon Purdy [ 2016-08-23 ] |
|
Confirmed that the suggested fix works running 10.1.16-MariaDB-1~jessie. |