networkless install doesn't set hostname
Bug #39243 reported by
Odd A Olsen
This bug report is a duplicate of:
Bug #32906: sudo fails if it cannot resolve the local hostname and no MTA is installed.
Edit
Remove
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
netcfg (Ubuntu) |
New
|
Medium
|
Unassigned |
Bug Description
When installing ubuntu without a network connection the hostname is not set in /etc/hosts. Thereafter sudo breaks when trying gethostbyname. Solution is to start in rescue mode and edit /etc/hosts like:
127.0.0.1 localhost myhostname
To post a comment you must log in.
Not sure if I picked the right part of the installer, but this should bring it to the attention of our installer guru.