open-iscsid init script fails to stop due to incorrect module unloading
The code line “do_modules ‘Removing iSCSI modules’ ‘iscsi_tcp scsi_transport_iscsi libiscsi’ ‘-r’” tries to unload unneeded iscsi related modules but receives non zero return code, so /etc/init.d/iscsid scripts fails to stop correctly. Actually modules have been unloaded but with non-zero return code. The workaround of this problem is just to disable ’do_modules “Removing iSCSI modules’…” command in init script.
(from redmine: issue id 653, created on 2011-05-20, closed on 2011-05-27)
- Changesets:
- Revision 214deaf9 on 2011-05-23T13:22:27Z:
main/open-iscsi: do not unload kernel modules when stopping service
ref #653
- Revision c9cc396f on 2011-05-24T13:34:16Z:
main/open-iscsi: do not unload kernel modules when stopping service
fixes #653
(cherry picked from commit 214deaf94fc840b4fda95e348767fae96ecb9091)