UPDATE: I have found some answers regarding possible solutions and causes.
It looks like this is rooted in Overlayfs only implementing a subset of the
POSIX standards.
There are files, necessary to mysql, that can't be created due to abilities
outside of the POSIX standards implemented by Overlayfs.
Overlayroot utilizes Overlayfs which is why the bug was seen here.
The simplest fix I see is to run the following commands:
find /var/lib/mysql -type f -exec touch {} \;
service restart mysql
This will fix the issue BUT WILL NOT persist between system restarts (even if
written in chroot since it's part of the application startup).
It must be run on every boot.
My sources of info are the following:
https://github.com/sjp38/cloudsuite/commit/e48bc2434bc2d15fcec7f496245726a6a35ca000
#diff-0ba6a4ef358d86a1f4610bc46f9f5e5c
https://docs.docker.com/engine/userguide/storagedriver/overlayfs-driver
/#limitations-on-overlayfs-compatibility
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1714262
Title:
mysql socket no longer accessible during overlayroot
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/cloud-initramfs-tools/+bug/1714262/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs