[Bug 1720244] Re: Leaving DNS blank during install, network doesn't come up after post-install boot

Frank Heimes 1720244 at bugs.launchpad.net
Thu May 3 08:54:45 UTC 2018


*** This bug is a duplicate of bug 1667296 ***
    https://bugs.launchpad.net/bugs/1667296

With the change to netplan this is fixed on 18.04.
(just tested with a VM guest installation of 18.04)

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

Title:
  Leaving DNS blank during install, network doesn't come up after post-
  install boot

Status in debian-installer package in Ubuntu:
  New
Status in netcfg package in Ubuntu:
  New

Bug description:
  If at d-i step "Domain name specification"
  the domain is just left blank (nothing specified):
  Domain name: <blank>
  The installation completes without errors, but the network does not get up after the post-install reboot.

  Found these msgs in the logs:
  Sep 28 13:23:11 debootstrap: /etc/network/interfaces:21: option with empty value
  Sep 28 13:23:11 debootstrap: ifquery: couldn't read interfaces file "/etc/network/interfaces"
  Sep 28 13:23:11 debootstrap: ifquery: no interface(s) specified
  Sep 28 13:23:11 debootstrap: ifquery: Use --help for help

  Full log see attachment.

  Line #21 in /etc/network/interfaces is 'dns-search':
  cat /etc/network/interfaces
  # This file describes the network interfaces available on your system
  # and how to activate them. For more information, see interfaces(5).

  source /etc/network/interfaces.d/*

  # The loopback network interface
  auto lo
  iface lo inet loopback

  # The primary network interface
  auto encc000.2653
  iface encc000.2653 inet static
  	address 10.245.236.12
  	netmask 255.255.255.0
  	network 10.245.236.0
  	broadcast 10.245.236.255
  	gateway 10.245.236.1
  	vlan_raw_device encc000
  	# dns-* options are implemented by the resolvconf package, if installed
  	dns-nameservers 0.0.0.0
  	dns-search

  Changing to:
  	dns-search canonical.com
  or re-installing and specifying 'canonical.com' as Domain name (just as an example) works.

  The system should come up after an installation even if DNS is empty.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/debian-installer/+bug/1720244/+subscriptions



More information about the foundations-bugs mailing list