ok. a bit more debug, i think i have the problem understood now.
The last set of changes to open-iscsi added moved the invocation of /lib/open-iscsi/net-interface-handler to udev rules in /lib/open-iscsi/net-interface-handler .
I caught the output of /lib/open-iscsi/net-interface-handler via modification of the program, redirecting its output to /run/net-interface-handler.log and see this log (http://paste.ubuntu.com/12689756/) with a snippet.
I believe the problem is that the udev rule is running before the resolvconf service has run.
| :: start /lib/open-iscsi/net-interface-handler start
| <snip>
| ::: /sbin/resolvconf -a eth0.iscsi-network
| + PATH=/sbin:/bin
| + MYNAME=resolvconf
| + RUN_DIR=/run/resolvconf
| + ENABLE_UPDATES_FLAGFILE=/run/resolvconf/enable-updates
| + POSTPONED_UPDATE_FLAGFILE=/run/resolvconf/postponed-update
| + CMD=-a
| + IFACE=eth0.iscsi-network
| + [ ! eth0.iscsi-network ]
| + [ -d /run/resolvconf/interface ]
| + report_err /run/resolvconf/interface either does not exist or is not a directo
| ry
| + echo resolvconf: Error: /run/resolvconf/interface either does not exist or is
| not a directory
| resolvconf: Error: /run/resolvconf/interface either does not exist or is not a directory
| + exit 1
| + set +x
| :: end /lib/open-iscsi/net-interface-handler start
| <snip>
ok. a bit more debug, i think i have the problem understood now. iscsi/net- interface- handler to udev rules in /lib/open- iscsi/net- interface- handler .
The last set of changes to open-iscsi added moved the invocation of /lib/open-
I caught the output of /lib/open- iscsi/net- interface- handler via modification of the program, redirecting its output to /run/net- interface- handler. log and see this log (http:// paste.ubuntu. com/12689756/) with a snippet.
I believe the problem is that the udev rule is running before the resolvconf service has run.
| :: start /lib/open- iscsi/net- interface- handler start /run/resolvconf UPDATES_ FLAGFILE= /run/resolvconf /enable- updates UPDATE_ FLAGFILE= /run/resolvconf /postponed- update iscsi-network /interface ] /interface either does not exist or is not a directo /interface either does not exist or is /interface either does not exist or is not a directory iscsi/net- interface- handler start
| <snip>
| ::: /sbin/resolvconf -a eth0.iscsi-network
| + PATH=/sbin:/bin
| + MYNAME=resolvconf
| + RUN_DIR=
| + ENABLE_
| + POSTPONED_
| + CMD=-a
| + IFACE=eth0.
| + [ ! eth0.iscsi-network ]
| + [ -d /run/resolvconf
| + report_err /run/resolvconf
| ry
| + echo resolvconf: Error: /run/resolvconf
| not a directory
| resolvconf: Error: /run/resolvconf
| + exit 1
| + set +x
| :: end /lib/open-
| <snip>