[MDEV-9080] Debian: incorrect empty password check in postinst Created: 2015-11-04 Updated: 2015-11-06 Resolved: 2015-11-06 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | Packaging, Platform Debian |
| Affects Version/s: | 5.5, 10.0, 10.1 |
| Fix Version/s: | 10.1.9 |
| Type: | Bug | Priority: | Major |
| Reporter: | Sergey Vojtovich | Assignee: | Sergey Vojtovich |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Issue Links: |
|
||||||||
| Sprint: | 10.1.9-2 | ||||||||
| Description |
|
There's this code in debian/mariadb-server-10.1.postinst script:
The purpose of this code is to check for empty root password, but it is wrong in many regards:
|
| Comments |
| Comment by Sergey Vojtovich [ 2015-11-04 ] |
|
serg, looks like this didn't work even in 5.1. Should we remove this (really trivial) or attempt to fix it (this will take some time for testing). |
| Comment by Sergei Golubchik [ 2015-11-04 ] |
|
I'd remove it. |
| Comment by Sergey Vojtovich [ 2015-11-04 ] |
|
serg, please review fix for this bug. |
| Comment by Sergey Vojtovich [ 2015-11-04 ] |
|
Relevant revision is 2ef562d. |
| Comment by Sergey Vojtovich [ 2015-11-05 ] |
|
Added to 10.1.9-2 as it was originally planned. |