[PATCH] start iscsid when needed

82 views
Skip to first unread message

Mike Christie

unread,
Feb 7, 2009, 1:32:05 AM2/7/09
to open-iscsi, Hans de Goede
This patch is from Fedora. The problem is that some distros are starting
iscsid in anticipation that iscsi might be needed, and it turns out it
might never be :( So this patch has the iscsi tools start iscsid only
when they first need it for login/discovery.

The original patch had some Fedora start command hardcoded. I modified
that patch so in the attached, you set the startup command in
/etc/iscsi/iscsid.conf. For upstream I just have it start iscsid. When I
merge the patch I will modify it to run some command in the init script
so that everything gets set up right (subsys locks get touched, and
modules are loaded).

0001-iscsid-start-iscsid-automatically-when-needed.patch

Hans de Goede

unread,
Feb 7, 2009, 9:09:53 AM2/7/09
to Mike Christie, open-iscsi

New version looks good to me.

Regards,

Hans

Hans de Goede

unread,
Feb 7, 2009, 9:07:43 AM2/7/09
to Mike Christie, open-iscsi

New version looks good to me.

Regards,

Hans

Mike Christie

unread,
Sep 3, 2009, 11:21:19 PM9/3/09
to open-...@googlegroups.com, Hans de Goede

Merged in commit dd61cb863559297b89b5b41f7320760372883b1c for the next
release. Thanks Hans. Sorry for the long wait. Working on libiscsi.

Reply all
Reply to author
Forward
0 new messages