[MDEV-6762] Init script is too silent in case of basic failures Created: 2014-09-21 Updated: 2018-01-15 Resolved: 2018-01-15 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | Packaging, Platform Debian, Scripts & Clients |
| Affects Version/s: | 5.5.39, 10.0.14 |
| Fix Version/s: | 10.2.3 |
| Type: | Bug | Priority: | Minor |
| Reporter: | Elena Stepanova | Assignee: | Sergei Golubchik |
| Resolution: | Fixed | Votes: | 1 |
| Labels: | None | ||
| Issue Links: |
|
||||||||
| Description |
|
Currently a failed upgrade or incomplete installation, which ends up with mysqld_safe not being installed, becomes an investigation nightmare. The service attempts to start and after a timeout says that it failed:
Syslog only contains unhelpful messages saying that something went wrong:
That's how we end up with users' complaints like "server just does not start, nothing in the error log", at which point we get stuck because there's nothing to work with. It is a realistic situation, for example that's exactly what happens when one tries to dist-upgrade from 5.5 to 10.0 on Wheezy. It happens because all output of mysqld_safe call in the init script is redirected to /dev/null. |
| Comments |
| Comment by Jean Weisbuch [ 2014-09-22 ] | |||||||||||
|
I already proposed a fix for this issue for the Debian init script on
| |||||||||||
| Comment by Elena Stepanova [ 2014-09-22 ] | |||||||||||
|
Great, thanks, so we just need to include it into our version as well. | |||||||||||
| Comment by Daniel Black [ 2018-01-15 ] | |||||||||||
|
Fixed in https://github.com/MariaDB/server/commit/73f1c655ada9 |