I cannot reproduce this neither on Vivid nor on Xenial using your steps
in comment 11. I used current release cloud images using uvtool (KVM):

uvt-simplestreams-libvirt sync release=vivid arch=amd64
uvt-kvm create test release=vivid
uvt-kvm ssh --insecure test

and "virsh console test" to watch the system console.

There is no hang on reboot, and starting and stopping mysql using "sudo
service mysql stop" (and start) repeatedly works, as does multiple
reboots. A mysql service stop seems to take about two seconds.

Can you figure out how your reproduction steps are different from mine?
Without this, I don't expect any progress on this.

** Description changed:

+ [Status]
+ 
+ Cannot reproduce - see comment 20. Without steps that someone else can
+ follow to reproduce the problem from a fresh system, we don't expect to
+ make any progress on this issue.
+ 
+ [Original Description]
+ 
  This is a huge problem.
  
  After several iterations of - service mysql {start|stop|restart} - the
  mysql service becomes broken + unrecoverable.
  
  The problem becomes - service mysql stop - hangs forever, upon
  attempting...
  
-      exec systemctl stop mysql.service
+      exec systemctl stop mysql.service
  
  What's required then is one of these...
  
-      mysqladmin -uroot -p shutdown
-      pkill mysqld
+      mysqladmin -uroot -p shutdown
+      pkill mysqld
  
  Neither of these is acceptable.
  
  The biggest problem is this breakage also breaks reboots.
  
  The reboot sequence depends on services doing what's expected, so when
  systemctl stop mysql.service hangs, reboot hangs too.
  
  Because of the lunacy of the entire systemctl subsystem, sshd is
  correctly killed off while msqld hangs.
  
  At this point, there's no way to ssh into system + a power recycle must
  be done to complete a reboot sequence.
  
  /bin/systemctl is an executable with no apparent way to debug it's
  logic.
  
  Please update this bug with details about how to debug /bin/systemctl +
  I'll post output.

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

Title:
  mysql stop/restart fails + breaking mysql + reboots

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/mariadb-10.0/+bug/1468804/+subscriptions

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

Reply via email to