Ticket #728 (closed defect: fixed)

Opened 14 years ago

Last modified 13 years ago

Installer should be more robust to network suckage

Reported by: jdreed Owned by: jdreed
Priority: normal Milestone: Natty Release
Component: -- Keywords:
Cc: Fixed in version:
Upstream bug:

Description

This is partially #623, but also a different problem. In 57 today, the DHCP server has handing out net-10 addresses (10.119), but for some reason wasn't handing out DNS info. This caused d-i to barf (with the message '"" is not a valid hostname'). Using manual configuration worked. DHCP clearly works enough to get PXE working, but d-i's insistence on re-configuring causes it to barf. Can we perhaps get the installer to say "Do you want to specify a static IP?" before it even tries DHCP?

Change History

comment:1 Changed 13 years ago by jdreed

  • Owner set to jdreed
  • Status changed from new to accepted
  • Milestone changed from The Distant Future to Natty Beta

The PXE server passes netcfg/get_hostname=, and if DHCP fails, it will end up with a null one. We believe we can pass something stupid like netcfg/get_hostname=ubuntu.localdomain since we're going to clobber it later anyway. Testing is required to ensure that it will DTRT if it gets an IP with a valid PTR record.

comment:2 Changed 13 years ago by jdreed

This works. Passing netcfg/get_hostname=whatever will still cause it to get its "real" hostname if the IP reverse-resolves. This can be closed along with #904 once the change is in place.

comment:3 Changed 13 years ago by jdreed

  • Status changed from accepted to closed
  • Resolution set to fixed
Note: See TracTickets for help on using tickets.