If you notice kvm testsuite crashes that have something to do with a
failed login then check for the text:

   -bash-4.3#

somewhere in the output.  What's happened is the VM has somehow become
corrupt and needs a rebuild.

The sequence below is one trigger; however I've also seen this when a
normal reboot was in play:

-- start the domain

$ sudo virsh start f22.east
Domain f22.east started

-- connect to the console and let it boot/login:

$ sudo virsh console f22.east
Connected to domain f22.east
Escape character is ^]
[...]
east login: root
Password:
[root@east ~]#

-- now lets pull the virtual power cord

$ sudo virsh destroy f22.east
Domain f22.east destroyed
$ sudo virsh start f22.east
Domain f22.east started

-- again let the machine boot and log in

$ sudo virsh console f22.east
[...]
east login: root
Password:
Last login: Mon Jul  4 14:56:08 on ttyS0
-bash-4.3#

-- notice how the prompt isn't the usual "[root@east ~]# "!

It might take a few tries :-) and once the damage is done it stays
damaged - the VM needs rebuilding.

I tend to suspect f22 more than KVM - it has a log file system (I
assume), and at the time the cord was pulled was relatively "idle", so
really should survive these reboots.

Hints on what to look for also welcome.

Andrew
_______________________________________________
Swan-dev mailing list
[email protected]
https://lists.libreswan.org/mailman/listinfo/swan-dev

Reply via email to