The dmesg output is full with these:
[ 9163.715239] audit: type=1400 audit(1532331617.751:43): apparmor="DENIED"
operation="mknod" profile="/usr/sbin/mysqld"
name="/opt/stack/mysql/server.lower-test" pid=3528 comm="mysqld"
requested_mask="c" denied_mask="c" fsuid=0 ouid=0
Ubuntu mysql won't write to /opt by default. Did you make local configuration
changes in that regard?
** Changed in: mysql-5.7 (Ubuntu)
Status: New => Incomplete
--
You received this bug notification because you are a member of Ubuntu
Server, which is subscribed to mysql-5.7 in Ubuntu.
Matching subscriptions: main
https://bugs.launchpad.net/bugs/1783106
Title:
package mysql-hostname-5.7 (not installed) failed to install/upgrade:
installed mysql-hostname-5.7 package post-installation script
subprocess returned error exit status 1
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/mysql-5.7/+bug/1783106/+subscriptions
--
Ubuntu-server-bugs mailing list
[email protected]
Modify settings or unsubscribe at:
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs