Red Hat Bugzilla – Bug 584912
iscsi hangs/errors when shutting down
Last modified: 2014-01-17 07:26:01 EST
Description of problem:
The fix for bug 511271 deleted the lines in the iscsi init script that disabled network shutdown:
> This is the diff of two versions of /etc/init.d/iscsid:
> $ diff iscsid.iscsi-initiator-utils-18.104.22.1681-0.14.el5.i386.rpm \
> > echo -n $"Turning off network shutdown. "
> > # we do not want iscsi or network to run during system shutdown
> > # incase there are RAID or multipath devices using
> > # iscsi disks
> > chkconfig --level 06 network off
> > rm /etc/rc0.d/*network
> > rm /etc/rc6.d/*network
This was done to avoid a conflict with readonly root environments but causes a regression of bug 209523, (I/O errors and hangs when shutting down a system using iSCSI).
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Configure a system to use iscsi-initiator-utils to access storage
2. Shutdown the host while the iscsi storage is in use
Network shutdown scripts shut down the iSCSI interfaces before file systems are unmounted and the iSCSI service itself is shut down, leading to I/O errors.
System should not hang or produce I/O errors on shutdown.
This is a s dup of
Which bz do you want to use? The other one is not setup for z stream yet.
The fix is not easy when also supporting boot and existing solutions and the chkconfig read-only issue.
Should I be able to just run "chkconfig --level 06 network off" in the rpm install section? Then on later boots the network shutdown should be off or is there something that resets that on each boot?
*** This bug has been marked as a duplicate of bug 583218 ***