Thanks for the report!

The failure comes from this machine's /tmp layout, not from mysql-8.4.
The kernel log shows AppArmor blocking the socket lock:
apparmor="DENIED" operation="mknod" ... profile="/usr/sbin/mysqld"
name="/home/tmp/tmp.SLG7aJMFXO/mysqld.sock.lock", while mysqld reports
"Could not create unix socket lock file
/tmp/tmp.SLG7aJMFXO/mysqld.sock.lock." and "Unable to setup unix socket
lock file.". That means /tmp is a symlink to /home/tmp, and the mysqld
AppArmor profile only allows /tmp paths (the same denials also hit apt's
gpgv under /home/tmp).

Please check with `ls -ld /tmp`, restore /tmp as a normal directory on /
(or add a local AppArmor override for /home/tmp), then run `sudo dpkg
--configure -a`.

** Changed in: mysql-8.4 (Ubuntu)
       Status: New => Invalid

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2174678

Title:
  package mysql-server 8.4.13-0ubuntu0.26.04.2 failed to
  install/upgrade: old mysql-server package postinst maintainer script
  subprocess failed with exit status 1

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/mysql-8.4/+bug/2174678/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to