[MDEV-21331] installation fails in an server with containers Created: 2019-12-17 Updated: 2022-05-04 Resolved: 2020-04-29 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | Packaging, Platform Debian |
| Affects Version/s: | 10.2, 10.3, 10.4 |
| Fix Version/s: | 10.2.32, 10.3.23, 10.4.13 |
| Type: | Bug | Priority: | Critical |
| Reporter: | Philip orleans | Assignee: | Sergei Golubchik |
| Resolution: | Fixed | Votes: | 1 |
| Labels: | None | ||
| Environment: |
Debian Buster |
||
| Issue Links: |
|
||||||||||||||||
| Description |
|
The installation script has to realize that in a machine with containers, there are several processes called mysqld, but they don't belong to the central session, are isolated in containers. A workaround is to stop all containers, but in busy server that is not simply possible. Preparing to unpack .../0-mariadb-server-10.4_1%3a10.4.11+maria~buster_amd64.deb ... |
| Comments |
| Comment by Elena Stepanova [ 2019-12-18 ] | ||||
|
serg, what do you think about this one? Maybe just add the error 5 to
would it be enough? | ||||
| Comment by Sergei Golubchik [ 2020-03-01 ] | ||||
|
100 looks like an obsolete check, from pre-systemctl days. https://freedesktop.org/software/systemd/man/systemd.exec.html#Process%20exit%20codes | ||||
| Comment by Sergei Golubchik [ 2020-04-22 ] | ||||
|
we cannot just start ignoring 5, it's a valid error, meaning a mysqld process is running and we cannot shut it down. philip_38, could you try the following command, whether it works with your containters? Just a plain
shows all mysqld processes, also in containers.
this should not show containerized mysqld processes, it should only show the one on the host. At least it does for me and docker containers. Does that work for you too? | ||||
| Comment by Anel Husakovic [ 2022-03-30 ] | ||||
|
I tested one more time with faust this bug and I can confirm that the bug occurs for Debian buster, but is not reproducible for Ubuntu bionic and I don't know why otto FYI | ||||
| Comment by Otto Kekäläinen [ 2022-03-30 ] | ||||
|
This issue status is closed - why are you still investigating it? If you were able to reproduce the issue, what are the exact steps? Do you want me to run them and debug what Debian Buster does? | ||||
| Comment by Anel Husakovic [ 2022-03-31 ] | ||||
|
Hi Otto,
I would like you to run on any version prior the patch fb7c1b9415c9a8 like <=10.2.31, <=10.3.22, <=10.4.12, etc but on Ubuntu bionic (since I noted on this distro). |