[Bug 2073877] [NEW] [Regression] Unable to install mysql-server-8.0 with Ubuntu 24.04
lgourvenec
2073877 at bugs.launchpad.net
Tue Jul 23 12:01:19 UTC 2024
Public bug reported:
With Ubuntu ISO 24.04 and an autoinstall file with :
=====
packages:
- mysql-server-8.0
=====
or
=====
late-commands:
- curtin in-target --target=/target -- bash -c 'apt-get install -yf mysql-server-8.0'
=====
the installation fails. What happens :
during the execution of the postinst script, the function "stop_server" fails to detect that mysqld is stopped because the test line ~60 "if ! $(ps $server_pid >/dev/null 2>&1); then" doesn't detect that the server is in a defunct state... The parent process of mysqld is apt-get.
Oddly, this bug didn't occur with Ubuntu 22.04 (the postinst script doesn't seem to have changed).
Having no problem installing mysql-server-8.0 with apt-get on an installed server, I guess the problem comes from curtin or subiquity.
** Affects: curtin
Importance: Undecided
Status: New
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to curtin.
https://bugs.launchpad.net/bugs/2073877
Title:
[Regression] Unable to install mysql-server-8.0 with Ubuntu 24.04
Status in curtin:
New
Bug description:
With Ubuntu ISO 24.04 and an autoinstall file with :
=====
packages:
- mysql-server-8.0
=====
or
=====
late-commands:
- curtin in-target --target=/target -- bash -c 'apt-get install -yf mysql-server-8.0'
=====
the installation fails. What happens :
during the execution of the postinst script, the function "stop_server" fails to detect that mysqld is stopped because the test line ~60 "if ! $(ps $server_pid >/dev/null 2>&1); then" doesn't detect that the server is in a defunct state... The parent process of mysqld is apt-get.
Oddly, this bug didn't occur with Ubuntu 22.04 (the postinst script doesn't seem to have changed).
Having no problem installing mysql-server-8.0 with apt-get on an installed server, I guess the problem comes from curtin or subiquity.
To manage notifications about this bug go to:
https://bugs.launchpad.net/curtin/+bug/2073877/+subscriptions
More information about the foundations-bugs
mailing list