I've modified the image a bit, to add 'set -x' to /sbin/resolvconf, and
to also echo '::: "$0" "$@"' in /sbin/resolvconf before the -x .  so you
can easily find those by looking for '::: /sbin/resolvconf'

I've caught in pass and fail and attach journalctl output here.
Also showing output of some things inside just for reference.  The only 
differnce between pass and fail in the following output is presence of 
'nameserver 10.0.2.3'  The fail case is shown, pass would have that line after 
DO NOT EDIT.

$ cat /etc/resolv.conf
# Dynamic resolv.conf(5) file for glibc resolver(3) generated by resolvconf(8)
#     DO NOT EDIT THIS FILE BY HAND -- YOUR CHANGES WILL BE OVERWRITTEN

$ ls -l /etc/resolv.conf
lrwxrwxrwx 1 root root 29 Oct  3 21:37 /etc/resolv.conf -> 
../run/resolvconf/resolv.conf

$ cat /run/network/ifstate
eth0=eth0
lo=lo

$ cat  /run/net-eth0.conf
DEVICE='eth0'
PROTO='dhcp'
IPV4ADDR='10.0.2.15'
IPV4BROADCAST='10.0.2.255'
IPV4NETMASK='255.255.255.0'
IPV4GATEWAY='10.0.2.2'
IPV4DNS0='10.0.2.3'
IPV4DNS1='0.0.0.0'
HOSTNAME=''
DNSDOMAIN=''
NISDOMAIN=''
ROOTSERVER='10.0.2.2'
ROOTPATH=''
filename=''
UPTIME='16'
DHCPLEASETIME='86400'
DOMAINSEARCH=''


** Attachment added: "journalctl on failed instance"
   
https://bugs.launchpad.net/ubuntu/+source/open-iscsi/+bug/1501033/+attachment/4484752/+files/journalctl-fail.txt

-- 
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