Configuring a valid system hostname during install and boot

Registered by Robbie Williamson

We do not do a very good job of making sure that systems have a valid hostname. This session is to review the ways that hostname gets set during install and on boot for desktop and server and for DHCP and static assignment and have clear documentation on how this is supposed to work so we can identify all the current deficiencies and get them fixed.

See the following thread for more detail:
https://lists.ubuntu.com/archives/ubuntu-devel/2010-October/031785.html

Blueprint information

Status:
Not started
Approver:
Robbie Williamson
Priority:
High
Drafter:
Colin Watson
Direction:
Approved
Assignee:
None
Definition:
Approved
Series goal:
Accepted for natty
Implementation:
Not started
Milestone target:
None

Related branches

Sprints

Whiteboard

Work items:
[mathieu-tl] NM shouldn't write localhost.localdomain (see changelog for netcfg 1.17): DONE
[cjwatson] strip any trailing dot from domain: DONE
[lamont] make postfix cope with invalid hostname (270521): TODO
[clint-fewbar] Make postfix's apport hook include /var/log/installer/syslog and /var/log/installer/cdebconf/questions.dat (if present) when postinst exits with code 75: TODO
[cjwatson] check that ubiquity's netcfg clone is in sync: DONE
fix netcfg to make it possible for ubiquity to use it directly: TODO
line-by-line compare netcfg's hostname validation with postfix's: TODO

(?)

Work Items