[Bug 1501033] Re: transient error results in /etc/resolv.conf not populated in iscsi root

Martin Pitt martin.pitt at ubuntu.com
Tue Oct 6 05:07:48 UTC 2015


Took a bit to get the reproducer running (no pointer to xkvm), but I can
reproduce this now. This can be triggered much more reliably by adding
"ExecStartPre=/bin/sleep 5" to /lib/systemd/system/resolvconf.service .

I tested/uploaded a fix.

** Changed in: open-iscsi (Ubuntu)
       Status: In Progress => Fix Committed

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

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

Status in open-iscsi package in Ubuntu:
  Fix Committed

Bug description:
  similar to the issue described in bug 1463461, i am now seeing
  transient errors resulting in /etc/resolv.conf not having any
  nameserver entries when it should.

  The reproduce is similar
   http://bazaar.launchpad.net/~smoser/maas/maas-ephemeral-sniff/view/head:/README.txt

  ./get-maas-eph wily.d wily

  # you probably have to fix 'ipaddr=' in ./tgt-boot-test
  # or set HOST_IP= to some ip address valid for your host.

  ./tgt-boot-test wily.d/root-image wily.d/hwe-w/boot-kernel
  wily.d/hwe-w/boot-initrd

  login with 'ubuntu:passw0rd'
  and cat /etc/resolv.conf.
  you should have something there.

  Related bugs:
   * bug 1463461: resolvconf not updated by /lib/systemd/system/ifup at .service.d/open-iscsi.conf 
   * bug 1432829: resolv.conf not updated correctly for interfaces configured in initramfs 


  ProblemType: Bug
  DistroRelease: Ubuntu 15.10
  Package: open-iscsi 2.0.873-3ubuntu12
  ProcVersionSignature: User Name 4.2.0-10.12-generic 4.2.0
  Uname: Linux 4.2.0-10-generic x86_64
  ApportVersion: 2.18.1-0ubuntu1
  Architecture: amd64
  Date: Tue Sep 29 19:56:40 2015
  ProcEnviron:
   TERM=linux
   PATH=(custom, no user)
   XDG_RUNTIME_DIR=<set>
   LANG=en_US.UTF-8
   SHELL=/bin/bash
  SourcePackage: open-iscsi
  UpgradeStatus: No upgrade log present (probably fresh install)

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



More information about the foundations-bugs mailing list