Red Hat Bugzilla – Bug 223932
/etc/init.d/halt uses of kexec shuts down the network too soon
Last modified: 2014-03-16 23:05:06 EDT
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):
Every time with certain targets like IET.
Steps to Reproduce:
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.
Created attachment 146267 [details]
pass kexec -x
*** Bug 228814 has been marked as a duplicate of this bug. ***
Sounds like a higher severity issue than "normal". Raising severity accordingly.
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.
Amit, raising priority for this would be acceptable since more than one party
has seen this, and is imapacting Dell. Thanks!
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
Building in 8.45.16.EL-1.
Test-RPMS could be downloaded from
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.