Yes, resolvconf is installed, and calls the supplied script - which I
now notice needs the banner comment correcting - I'll provide an updated
script as an attachment.

The key to understanding this issue is that it's a diskless machine
booting via DHCP and using NFS to provide a root partition from a remote
server.

In this configuration, the network interface is configured early in boot
by the initramfs image, not the main boot process, so resolvconf isn't
yet present. Once the root filesystem (containing amongst other things,
resolvconf) is mounted, the network interface is left alone, rather than
re-configuring. With a network-mounted root filesystem, correct
behaviour is to leave the network interface set to manual, since re-
configuration would break the root mount.

Since the network scripts don't reconfigure the network interface, the
resolvconf hook in /etc/network/if-up.d/000resolvconf doesn't get
called.

The proposed solution to this issue is to use the settings already
received over DHCP in the initramfs environment, since these are present
in the file(s) /run/net-<iface>.conf.

** Attachment added: "netboot"
   
https://bugs.launchpad.net/ubuntu/+source/resolvconf/+bug/1473727/+attachment/4428386/+files/netboot

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

Title:
  No DNS servers after netboot

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/resolvconf/+bug/1473727/+subscriptions

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

Reply via email to