RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 607412 - rhel4.8 and rhel3.9 guest cannot be fully shutdown by executing 'halt' command in guest
Summary: rhel4.8 and rhel3.9 guest cannot be fully shutdown by executing 'halt' comman...
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: virt-manager
Version: 6.0
Hardware: All
OS: Linux
low
medium
Target Milestone: rc
: ---
Assignee: Cole Robinson
QA Contact: Virtualization Bugs
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2010-06-24 03:58 UTC by Jianjiao Sun
Modified: 2010-06-25 14:26 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2010-06-25 14:26:16 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
rhel3u9 halt (10.11 KB, image/png)
2010-06-25 10:00 UTC, Nan Zhang
no flags Details

Description Jianjiao Sun 2010-06-24 03:58:28 UTC
Description of problem:
The guest is rhel4.8 and rhel3.9 installed successfully.When I type in "halt" command as root.The system begin to shutdown.But hang up at "system halted".

Version-Release number of selected component (if applicable):
[root@dhcp-65-144 unanao]# rpm -q virt-manager
virt-manager-0.8.4-5.el6.noarch

[root@dhcp-65-144 unanao]# rpm -q libvirt
libvirt-0.8.1-9.el6.x86_64

[root@dhcp-65-144 unanao]# rpm -qa |grep kvm
qemu-kvm-0.12.1.2-2.79.el6.x86_64

[root@dhcp-65-144 unanao]# uname -a
Linux dhcp-65-144.nay.redhat.com 2.6.32-37.el6.x86_64 #1 SMP Sun Jun 20
19:29:35 EDT 2010 x86_64 x86_64 x86_64 GNU/Linux


How reproducible:
always

Steps to Reproduce:
1.Login the guest
2.su -
3.#halt
  
Actual results:
hung up at "system halted"

Expected results:
The guest halt successfully

Additional info:

Comment 2 RHEL Program Management 2010-06-24 04:12:54 UTC
This request was evaluated by Red Hat Product Management for inclusion in a Red
Hat Enterprise Linux major release.  Product Management has requested further
review of this request by Red Hat Engineering, for potential inclusion in a Red
Hat Enterprise Linux Major release.  This request is not yet committed for
inclusion.

Comment 3 Lawrence Lim 2010-06-24 08:01:18 UTC
What about other moe of shutdown?

Comment 4 Jianjiao Sun 2010-06-24 08:28:01 UTC
yeah!

#shutdown -h now 
works well .

But I think there are a lot of people like "#halt",beacuse It is convinet to use.

Comment 6 Nan Zhang 2010-06-25 10:00:43 UTC
Created attachment 426827 [details]
rhel3u9 halt

I can reproduced this issue.

1. Intall rhel3u9 or rhel4u8 guest
2. Log in guest and execute command
   # halt
3. The guest cannot be able to fully shutdown.

Using 'shutdown -h now' can workaround this issue. I captured a screenshot.

Comment 7 Daniel Berrangé 2010-06-25 14:00:33 UTC
I don't believe this is a bug. The 'halt' command is only intended to halt the operating system, not power off the machine. The 'poweroff' command should be used if you want the guest to actually power off the machine.

Shutdown -h is equivalent to poweroff in normal configs.

Please re-test with the 'poweroff' command.

Comment 8 Nan Zhang 2010-06-25 14:26:16 UTC
Yes, the guest can be shutdown with the 'poweroff' command, so it's not a bug. Close it.


Note You need to log in before you can comment on or make changes to this bug.