Bug 223932 - /etc/init.d/halt uses of kexec shuts down the network too soon
/etc/init.d/halt uses of kexec shuts down the network too soon
Product: Red Hat Enterprise Linux 5
Classification: Red Hat
Component: initscripts (Show other bugs)
All Linux
medium Severity high
: ---
: ---
Assigned To: Bill Nottingham
Brock Organ
: 228814 (view as bug list)
Depends On:
Blocks: 223278
  Show dependency treegraph
Reported: 2007-01-23 00:00 EST by Mike Christie
Modified: 2014-03-16 23:05 EDT (History)
8 users (show)

See Also:
Fixed In Version: RHBA-2007-0663
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2007-11-07 14:11:34 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)
pass kexec -x (431 bytes, patch)
2007-01-23 00:00 EST, Mike Christie
no flags Details | Diff

  None (edit)
Description Mike Christie 2007-01-23 00:00:09 EST
Description of problem:

For reboot, /etc/init.d/halt calls kexec which turns off the network interfaces.
If MD, DM, LVM, or some other layer, was using a iscsi device this causes a hang
of the reboot. During the kernel shutdown/reboot, a device's driver model
shutdown function is called and for scsi/iscsi this function can try to send a
cache sync command (it depends on the target and/or device if the command is
needed and sent or not so this is why we do not always see a problem). When the
scsi layer sends the command, the iscsi layer will not have a good connection
because the interface has been brought down by kexec and the reboot/shutdown
sequence will wait forever for this command to complete (userspace is not up so
the iscsi error handle cannot do anything).

This is the same problem we had with /sbin/halt being passed -i.

Version-Release number of selected component (if applicable):

How reproducible:

Every time with certain targets like IET.

Steps to Reproduce:
Actual results:

Expected results:

Additional info:

The uploaded patch modifies /etc/init.d/halt's kexec usage so the network
interfaces are not turned off like was done for /sbin/halt.
Comment 1 Mike Christie 2007-01-23 00:00:09 EST
Created attachment 146267 [details]
pass kexec -x
Comment 2 Andrius Benokraitis 2007-02-19 18:11:04 EST
*** Bug 228814 has been marked as a duplicate of this bug. ***
Comment 3 Amit Bhutani 2007-02-20 20:26:06 EST
Sounds like a higher severity issue than "normal". Raising severity accordingly.
Comment 4 Amit Bhutani 2007-02-20 20:28:34 EST
Oops, just realized that this was not the Dell opened bug but rather the RH
opened one. Didn't mean to step on somebodies foot and raise the severity.
Please reset severity if you (Mike/Andrius) disagree.
Comment 5 Andrius Benokraitis 2007-02-21 08:24:52 EST
Amit, raising priority for this would be acceptable since more than one party
has seen this, and is imapacting Dell. Thanks!
Comment 6 RHEL Product and Program Management 2007-04-25 18:11:01 EDT
This request was evaluated by Red Hat Product Management for inclusion in a Red
Hat Enterprise Linux maintenance release.  Product Management has requested
further review of this request by Red Hat Engineering, for potential
inclusion in a Red Hat Enterprise Linux Update release for currently deployed
products.  This request is not yet committed for inclusion in an Update
Comment 8 Bill Nottingham 2007-06-22 18:02:34 EDT
Building in 8.45.16.EL-1.
Comment 9 Harald Hoyer 2007-06-29 05:31:55 EDT
Test-RPMS could be downloaded from
Comment 12 errata-xmlrpc 2007-11-07 14:11:34 EST
An advisory has been issued which should help the problem
described in this bug report. This report is therefore being
closed with a resolution of ERRATA. For more information
on the solution and/or where to find the updated files,
please follow the link below. You may reopen this bug report
if the solution does not work for you.


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