I've seen some of these kind of issues as well.

The reports I've seen so far often end with retrying until it works, yet
I like the temporary workaround you outlined with the sleep in the
postinst for those where restarting won't help.

I'll slightly modify the subject to make this more "findable" and tagged
it "triage" to make this the spot to dup similar bugs to.

I look forward to the reworked upgrade handling.

** Tags added: triage

** Summary changed:

- postinst runs mysql_upgrade before server is properly started
+ postinst runs mysql_upgrade before server is properly started ( Can't connect 
[...] '/var/run/mysqld/mysqld.sock)

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

Title:
  postinst runs mysql_upgrade before server is properly started ( Can't
  connect [...] '/var/run/mysqld/mysqld.sock)

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

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

Reply via email to