touch-packages team mailing list archive
-
touch-packages team
-
Mailing list archive
-
Message #89105
Re: [Bug 1473727] Re: No DNS servers after netboot
The VM image was generated via debootstrap, then the main changes were:
- add interfaces definitions for lo (auto) and eth0 (manual)
- set hostname
- set root password
- set fstab up (mounting / from /dev/nfs)
- install linux-virtual package via chroot
- set initramfs-tools for netboot & run update-initramfs -u
Note that the eth0 interface is left as configured by the initrd
environment, since re-running DHCP causes problems for an NFS root.
I'm pretty certain the guest OS is configured correctly, but perhaps this
is more of an uncatered for scenario (e.g. initramfs environment handling
DHCP) than a bug.
Fortunately, by the time the main kernel boots, /run is already populated
with the results of the initramfs DHCP, in the net-<iface>.conf file(s)
I'm happy to update the script - and if you could point me at the
guidelines for these, I'd be greatful - my internet searches didn't come up
with anything.
Phil
On Sun, Jul 12, 2015 at 8:01 PM, Thomas Hood <1473727@xxxxxxxxxxxxxxxxxx>
wrote:
> Hi there and thanks for your report.
>
> I don't see any evidence here of a bug in resolvconf. There is most
> probably something wrong with your machine's configuration. So this
> report should be reassigned to something else... or closed if the
> configuration shortcomings are purely local. Where did you get / how did
> you build the virtual machine you are running?
>
> The script you posted provides some useful clues as to what the problem
> is but it is for several reasons not a clean solution.
>
>
> ** Changed in: resolvconf (Ubuntu)
> Status: New => Incomplete
>
> --
> You received this bug notification because you are subscribed to the bug
> report.
> https://bugs.launchpad.net/bugs/1473727
>
> Title:
> No DNS servers after netboot
>
> Status in resolvconf package in Ubuntu:
> Incomplete
>
> Bug description:
> Ubuntu 14.04 / resolvconf 1.69ubuntu1.1
>
> When netbooting a xen VM, I see the following output:
>
> address: 192.168.1.180 broadcast: 192.168.1.255 netmask:
> 255.255.255.0
>
> gateway: 192.168.1.1 dns0 : 192.168.1.1 dns1 :
> 0.0.0.0
>
> So I know DHCP is working.
>
> However, resolv.conf doesn't get updated - the interface is set to
> manual as DHCP was handled at the initrd level.
>
> Please let me know how I can help get this fixed.
>
> To manage notifications about this bug go to:
>
> https://bugs.launchpad.net/ubuntu/+source/resolvconf/+bug/1473727/+subscriptions
>
--
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to resolvconf in Ubuntu.
https://bugs.launchpad.net/bugs/1473727
Title:
No DNS servers after netboot
Status in resolvconf package in Ubuntu:
Incomplete
Bug description:
Ubuntu 14.04 / resolvconf 1.69ubuntu1.1
When netbooting a xen VM, I see the following output:
address: 192.168.1.180 broadcast: 192.168.1.255 netmask:
255.255.255.0
gateway: 192.168.1.1 dns0 : 192.168.1.1 dns1 :
0.0.0.0
So I know DHCP is working.
However, resolv.conf doesn't get updated - the interface is set to
manual as DHCP was handled at the initrd level.
Please let me know how I can help get this fixed.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/resolvconf/+bug/1473727/+subscriptions
References