Mailinglist Archive: opensuse-bugs (3543 mails)

< Previous Next >
[Bug 630434] Server refuses to boot, while used iSCSI based non "/" file system is not available.

https://bugzilla.novell.com/show_bug.cgi?id=630434

https://bugzilla.novell.com/show_bug.cgi?id=630434#c32


--- Comment #32 from Dennis Olsson <D.Olsson@xxxxxxxxxxxxxxxxxx> 2011-09-14
14:56:49 CEST ---
Created an attachment (id=450697)
--> (http://bugzilla.novell.com/attachment.cgi?id=450697)
Patch fixing missing inclusion of iSCSI stack, when having "onboot" configured
iSCSI sessions.

Attached patch for "open-iscsi-2.0.871-0.29.1" contains patching of
"/etc/init.d/open-iscsi" & "/lib/mkinitrd/scripts/setup-iscsi.sh" and the
removal of "/etc/init.d/boot.open-iscsi".

This patch fixes the original reported problem (see comment 0) -- just as it
makes the work-around described in comment 29 above unnecessary -- by changing
the logic in "/lib/mkinitrd/scripts/setup-iscsi.sh" to look for all iSCSI
devices / sessions that have their start up configured to "onboot"
("node.conn[0].startup = onboot") and when at least one is found ensures that
"mkinitrd" includes the iSCSI session attachment of these during system boot up
in "initrd".
The patch also removes "/etc/init.d/boot.open-iscsi", while as far as I could
see during my testing, this script is a NOOP script that is always either
skipped (while the iSCSI was already loaded by "initrd") or fails (while it
cannot start the "/sbin/iscsid" daemon, because the necessary kernel modules
have not been loaded).
Granted, I have not tested the case, where iSCSI is being used during the
install, where the script might be of usage (see also comment 33 below).

--
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.

< Previous Next >