]> git.ipfire.org Git - thirdparty/dracut.git/commit
iscsi: integrate with systemd and improve robustness
authorHarald Hoyer <harald@redhat.com>
Wed, 12 Aug 2015 12:33:49 +0000 (14:33 +0200)
committerHarald Hoyer <harald@redhat.com>
Wed, 12 Aug 2015 12:33:49 +0000 (14:33 +0200)
commitd94050ddaea8343d8adb8f151c8f4cad591d29d9
tree5d54899012121c518096cc5ef50f9bf390d8a1a2
parentf41720c3115011afb9577ed063a4bc521dc707ec
iscsi: integrate with systemd and improve robustness

parse-cmdline sets up an initial initiator-name to let iscsid start.

iscsid is started before doing any iscsistart business.

iscsistart is done with systemd-run asynchrone to do things in
paralllel. Also restarted for every new interface which shows up.

If rd.iscsi.waitnet (default) is set, iscsistart is done only
after all interfaces are up.

If not all interfaces are up and rd.iscsi.testroute (default) is set,
the route to a iscsi target IP is checked and skipped, if there is none.

If all things fail, we issue a "dummy" interface iscsiroot to retry
everything in the initqueue/timeout.
modules.d/95iscsi/cleanup-iscsi.sh
modules.d/95iscsi/iscsiroot.sh
modules.d/95iscsi/module-setup.sh
modules.d/95iscsi/parse-iscsiroot.sh