Bugzilla – Bug 728922
KIWI-built JeOS image hangs qemu-kvm
Last modified: 2011-11-09 14:51:56 UTC
1. Build a 12.1 image using a KIWI template: kiwi --build suse-12.1-JeOS -d my-12.1-appliance --type oem 2. Run the built appliance using "qemu-kvm -snapshot <image>.raw" 3. Loogin as root and enter "halt". 3. Observe that qemu-kvm hangs and does not quit. This bug also happens with appliances built by Studio (in fact, this is how I discovered it). With Studio-built appliances, the bug appears with OEM, VMX, ISO and OVF formats. It does not happen with XEN format. With ISO format, the console appears and text "System halted." is at the last line of the output, but qemu-kvm still hangs. I am not sure whether this is a KIWI bug or a bug in some package -- Marcus, if this isn't KIWI problem, please assign to someone more appropriate. Thanks.
This is not a kiwi problem. I also saw this and it happens on real hardware too the machine is no longer switched off. I have no clue who or what caused this that having said I don't know a responsible person for it
If it's not KIWI then it's likely a kernel issue. Alex -- could you have a look at this or do you know someone who could? (I have little knowledge about who does what in the kernel area.)
So it looks like one has to execute "halt -p" instead of "halt" in 12.1 with systemd. What a stupid change. Thanks to Stano for digging this out. *** This bug has been marked as a duplicate of bug 726387 ***