Details
-
Bug
-
Status: Closed (View Workflow)
-
Critical
-
Resolution: Incomplete
-
10.2.20
-
Debian 9.6
Description
While upgrading mariadb using `apt upgrade`, apt hangs on this line with 200% CPU usage:
Setting up mariadb-server-10.2 (10.2.20...
|
Investigating with ps show that install script is blocked on bootstrap step:
/usr/sbin/mysqld --lc-messages-dir=/usr/share/mysql/english/.. --bootstrap --silent-startup --basedir=/usr --datadir=/var/lib/mysql --log-warnings=0 --enforce-storage-engine= --plugin-dir=/usr/lib/mysql/plugin --disable-log-bin --user=mysql --max_allowed_packet=8M --net_buffer_length=16K
|
At this state, strace simply shows:
futex(0x56132668fe44, FUTEX_WAIT_PRIVATE, 1, NULL
|
After one hour, I need to stop the install and start mysqld manually.Now it works, but my dpkg state is corrupted. I tried to reinstall, but the script hang again.