xenial cloudimage with missing hostname on hosts

Bug #1573015 reported by Luis Ferro
16
This bug affects 3 people
Affects Status Importance Assigned to Milestone
One Hundred Papercuts
Expired
High
Unassigned
hostname (Ubuntu)
Expired
High
Unassigned

Bug Description

Install Vagrant / Virtualbox

On Terminal run:

$> vagrant init

Edit the Vagrantfile to change the box name from "base" to "ubuntu/xenial64"

Then on the terminal again do:

$> vagrant up

After installing do:

$> vagrant ssh

$> sudo su

You will get a message stating: "sudo: unable to resolve host ubuntu-xenial"

The reason for this message is because the entry on /etc/hostname (which have "ubuntu-xenial") doesn't exist on /etc/hosts

To Fix:

Edit the /etc/hosts:

$> sudo vim /etc/hosts (for instance)

And on the entry:

127.0.0.1 localhost

Change to:

127.0.0.1 localhost ubuntu-xenial

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in hostname (Ubuntu):
status: New → Confirmed
Changed in hostname (Ubuntu):
importance: Undecided → High
Changed in hundredpapercuts:
status: New → Confirmed
importance: Undecided → High
Revision history for this message
Paul White (paulw2u) wrote :

We are sorry that we do not always have the capacity to review all reported bugs in a timely manner. You reported this bug some time ago and there have been many changes in Ubuntu since that time.

Ubuntu 16.04 (xenial) reached end-of-life on April 29, 2021.

Do you still see a problem related to the one that you reported when using a currently supported version of Ubuntu? Please let us know if you do otherwise this report can be left to expire in approximately 60 days time.

Changed in hundredpapercuts:
status: Confirmed → Incomplete
Changed in hostname (Ubuntu):
status: Confirmed → Incomplete
Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for hostname (Ubuntu) because there has been no activity for 60 days.]

Changed in hostname (Ubuntu):
status: Incomplete → Expired
Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for One Hundred Papercuts because there has been no activity for 60 days.]

Changed in hundredpapercuts:
status: Incomplete → Expired
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.