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>

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1501033

Title:
  transient error results in /etc/resolv.conf not populated in iscsi
  root

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/open-iscsi/+bug/1501033/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to