I found a one-liner fix for /etc/init.d/open-iscsi.
--------
--- /etc/init.d/open-iscsi.org 2010-02-05 20:47:23.000000000 +0000
+++ /etc/init.d/open-iscsi 2010-04-22 02:36:57.264590495 +0000
@@ -69,6 +69,7 @@
log_end_msg $RETVAL
# Don't kill the iscsi daemon when killing all processes
# during system shutdown
+ mkdir -p /lib/init/rw/sendsigs.omit.d
ln -sf $PIDFILE /lib/init/rw/sendsigs.omit.d/ || true
fi
}
--------
The open-iscsi script tries to register its PID to the 'omit' directory at
start-up, but the directory does not exist. So the sendsigs script kills
iscsid at shutdown without giving grace, and something goes wrong...
I'm not sure whether I should put mkdir in open-iscsi or in some common script.
** Patch added: "open-iscsi.patch"
http://launchpadlibrarian.net/44998303/open-iscsi.patch
--
system hangs in shutdown if open-iscsi is working
https://bugs.launchpad.net/bugs/567143
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs