[MDEV-15718] Issue upgrading on Debian stretch from 10.1 to 10.2 Created: 2018-03-29 Updated: 2022-06-14 Resolved: 2022-06-14 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | Packaging |
| Affects Version/s: | 10.2.14 |
| Fix Version/s: | 10.2.44 |
| Type: | Bug | Priority: | Major |
| Reporter: | Matthieu Roisil | Assignee: | Otto Kekäläinen |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | packaging | ||
| Environment: |
Debian 9.4 (stretch) |
||
| Issue Links: |
|
||||||||
| Description |
|
Hi, Following the upgrade guidelines (https://mariadb.com/kb/en/library/upgrading-from-mariadb-101-to-mariadb-102/), I hit this issue when upgrading from 10.1 to 10.2 on Debian 9.4 :
Debian dpkg preinst checks if mysql is running using pgrep mariadb-server-10.2.preinst but in my case I'm using prometheus/mysqld_exporter and the actual pgrep match it too. So I suggest using "pgrep -x mysqld" instead of "pgrep mysql" Regards, Puckel_ |
| Comments |
| Comment by Tuukka Pasanen [ 2022-03-21 ] |
|
Is this still problem as Debian 9 is getting out of Maintenance |
| Comment by Faustin Lammler [ 2022-03-25 ] |
|
Seems to be a duplicate of This was not backported to 10.2 though, serg should we? |
| Comment by Faustin Lammler [ 2022-03-25 ] |
|
See last comment |
| Comment by Sergei Golubchik [ 2022-03-25 ] |
|
sure, why not? |
| Comment by Faustin Lammler [ 2022-03-25 ] |
|
serg 10.3 seems to be missing it too, what is the best way to integrate it on both? 2 PR's? |
| Comment by Faustin Lammler [ 2022-03-25 ] |
|
PR created https://github.com/MariaDB/server/pull/2068, it should go to 10.3+ as explained by Anel. |
| Comment by Tuukka Pasanen [ 2022-03-29 ] |
|
I don't see any problems with this PR? |
| Comment by Anel Husakovic [ 2022-03-30 ] |
|
serg, otto, I think that fix for https://github.com/MariaDB/server/commit/fb7c1b9415c9a8b0dc2e86ae44f0e7a2634e5d7e is wrong and as a proof, I created the test script how PID namespace works and result. |
| Comment by Anel Husakovic [ 2022-05-04 ] |
|
This should be fixed with https://github.com/MariaDB/server/commit/794bebf9ee18de4138c4d2c93853d49ff3af7f12 |
| Comment by Anel Husakovic [ 2022-06-14 ] |
|
Fixed with https://github.com/MariaDB/server/commit/794bebf9ee18de4138c4d2c93853d49ff3af7f12 |