Here is a diff that fixes both issues:
diff -u open-iscsi-2.0.870.1/debian/open-iscsi.postinst open-iscsi-2.0.870.1/deb ian/open-iscsi.postinst --- open-iscsi-2.0.870.1/debian/open-iscsi.postinst +++ open-iscsi-2.0.870.1/debian/open-iscsi.postinst @@ -55,7 +55,7 @@ # Fix init script ordering on upgrades from < jaunty if dpkg --compare-versions "$2" lt-nl 2.0.870-0ubuntu1 then - update-rc.d -f remove open-iscsi + update-rc.d -f open-iscsi remove fi
update_initramfs diff -u open-iscsi-2.0.870.1/debian/open-iscsi.init open-iscsi-2.0.870.1/debian/open-iscsi.init --- open-iscsi-2.0.870.1/debian/open-iscsi.init +++ open-iscsi-2.0.870.1/debian/open-iscsi.init @@ -69,7 +69,7 @@ log_end_msg $RETVAL # Don't kill the iscsi daemon when killing all processes # during system shutdown - ln -s $PIDFILE /lib/init/rw/sendsigs.omit.d/ + ln -sf $PIDFILE /lib/init/rw/sendsigs.omit.d/ fi }
Here is a diff that fixes both issues:
diff -u open-iscsi- 2.0.870. 1/debian/ open-iscsi. postinst open-iscsi- 2.0.870. 1/deb iscsi.postinst 2.0.870. 1/debian/ open-iscsi. postinst 2.0.870. 1/debian/ open-iscsi. postinst
ian/open-
--- open-iscsi-
+++ open-iscsi-
@@ -55,7 +55,7 @@
# Fix init script ordering on upgrades from < jaunty
if dpkg --compare-versions "$2" lt-nl 2.0.870-0ubuntu1
then
- update-rc.d -f remove open-iscsi
+ update-rc.d -f open-iscsi remove
fi
diff -u open-iscsi-
--- open-iscsi-
+++ open-iscsi-
@@ -69,7 +69,7 @@
# Don't kill the iscsi daemon when killing all processes
- ln -s $PIDFILE /lib/init/
+ ln -sf $PIDFILE /lib/init/
fi
}