[MDEV-19706] RPM no longer installs init script on systemd systems, but preun script still tries to erase it Created: 2019-06-06 Updated: 2020-08-25 Resolved: 2019-06-11 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | Packaging, Platform RedHat, Scripts & Clients |
| Affects Version/s: | 10.4.5 |
| Fix Version/s: | 10.4.6 |
| Type: | Bug | Priority: | Critical |
| Reporter: | Geoff Montee (Inactive) | Assignee: | Sergei Golubchik |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Issue Links: |
|
||||||||||||||||||||
| Description |
|
After the fix for https://github.com/MariaDB/server/blob/mariadb-10.4.5/support-files/rpm/server-preun.sh#L12 This leads to the following problem:
More verbose output shows:
|
| Comments |
| Comment by Juan [ 2019-06-06 ] | |
|
Currently you can work around the error by suppressing the problem script:
| |
| Comment by Sergei Golubchik [ 2019-06-07 ] | |
|
Because chkconfig is
I'll change to run it only if /etc/init.d/mysql exists |