Red Hat Bugzilla – Bug 470437
iscsiadm auto-starting iscsid does not always work
Last modified: 2012-06-26 12:08:51 EDT
Created attachment 322818 [details]
PATCH: fix iscsiadm auto-starting iscsid does not always work
iscsiadm will call "service iscsid start" if iscsid is not running and it needs it, however /etc/rc.d/init.d/iscsid will only start iscsid if disks are configured, so if no disks are configured this does not work.
I've attached a patch (to the package / cvsextras) which fixes this by adding a force-start to the initscript, and by making the autostart patch use "service iscsid force-start" instead of "service iscsid start", note this patch thus patches the patch for the latter.
Mike, all I need from you is an ack that it is ok to move forward with this change and I'll commit and build.
Mike, one question, should this go to F-10 final, or in an update? Since it doesn't affect iscsi using installs I personally think it is ok to do it as an update.
Looks ok. Thanks.
For the F-10 final vs update:
If someone is installing this for the first time there will be no disks, so how can they get this started? Is there a workaround? Maybe we would want to release note it or note that a fix is going to be released right away in a update.
For existing installations with disks there is no regression right?
(In reply to comment #1)
> Looks ok. Thanks.
Ok new version with the fix for this and for bug 470438 now building:
> For the F-10 final vs update:
> If someone is installing this for the first time there will be no disks, so how
> can they get this started? Is there a workaround?
> Maybe we would want to
> release note it or note that a fix is going to be released right away in a
We can release this as a 0 day update and then hope people who hit troubles try yum update first before looking any further, we can also try to get a release note in about this, hoping people actually read this.
Or we can request rel-eng to tag this build into F10-final, then we are sure no F-10 users will get bitten by this.
This is your call, I'll happily mail rel-eng or do a 0 day update.
Note that if people install iscsi-initiator-utils after installation using yum, they will get the new fixed version no matter which path we choose, and a default install does not include iscsi-initiator-utils.
> For existing installations with disks there is no regression right?
iscsi-initiator-utils-22.214.171.1240-0.2.rc1.fc10 has been submitted as an update for Fedora 10.
This bug appears to have been reported against 'rawhide' during the Fedora 10 development cycle.
Changing version to '10'.
More information and reason for this action is here:
iscsi-initiator-utils-126.96.36.1990-0.2.rc1.fc10 has been pushed to the Fedora 10 stable repository. If problems still persist, please make note of it in this bug report.