Bug 728922 - KIWI-built JeOS image hangs qemu-kvm
Summary: KIWI-built JeOS image hangs qemu-kvm
Status: RESOLVED DUPLICATE of bug 726387
Alias: None
Product: openSUSE 12.1
Classification: openSUSE
Component: Other (show other bugs)
Version: RC 2
Hardware: Other Other
: P2 - High : Normal (vote)
Target Milestone: ---
Assignee: David Majda
QA Contact: E-mail List
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-11-08 15:00 UTC by David Majda
Modified: 2011-11-09 14:51 UTC (History)
0 users

See Also:
Found By: ---
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description David Majda 2011-11-08 15:00:09 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.
Comment 1 Marcus Schaefer 2011-11-08 15:35:16 UTC
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
Comment 2 David Majda 2011-11-09 11:51:22 UTC
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.)
Comment 3 David Majda 2011-11-09 14:51:56 UTC
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 ***