Comment 5 for bug 1501033

Revision history for this message
Scott Moser (smoser) wrote :

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>