[MDEV-25930] RPM Posttrans syntax error Created: 2021-06-15 Updated: 2021-09-22 Resolved: 2021-06-16 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | Packaging, Upgrades |
| Affects Version/s: | 10.4.19, 10.5.10 |
| Fix Version/s: | 10.2.40, 10.3.31, 10.4.21, 10.5.12, 10.6.3 |
| Type: | Bug | Priority: | Blocker |
| Reporter: | Hartmut Holzgraefe | Assignee: | Alexey Bychko (Inactive) |
| Resolution: | Fixed | Votes: | 1 |
| Labels: | None | ||
| Description |
|
MariaDB-Server POSTTRANS script in 10.5.10 RPMs (both CentOS/RHEL and SLES) causes a shell error on upgrade from earlier versions. This does not prevent the package update from completing, but due to the failed check the intended systemctl restart of the service is not happening ... E.g. on CentOS/8 with yum, when using "yum update" to upgrade from 10.5.9 to 10.5.10, this is reported as:
Suggested fix:
|
| Comments |
| Comment by Hartmut Holzgraefe [ 2021-06-15 ] |
|
10.4.19 is also affected, and probably latest 10.3 and 10.2 releases, too |
| Comment by Sergei Golubchik [ 2021-06-15 ] |
|
Ouch. It's https://github.com/MariaDB/server/commit/9ecf9a644c57be61a8f1399ce677d72f5865a770 |
| Comment by Alexey Bychko (Inactive) [ 2021-06-16 ] |
|
pushed to bb-10.2- |
| Comment by Alexey Bychko (Inactive) [ 2021-06-16 ] |
|
done |