/etc/hosts has 'ubuntu' as for 127.0.0.1 in oneiric, precise

Bug #906687 reported by Scott Moser
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Ubuntu on EC2
Fix Released
Medium
Unassigned

Bug Description

$ tar -Sxvzf natty/current/natty-server-cloudimg-amd64.tar.gz
$ tar -Sxvzf precise/current/precise-server-cloudimg-amd64.tar.gz
$ for r in natty precise; do echo === $r === ;
   sudo mount -o loop,ro $r-server-cloudimg-amd64.img /mnt ;
   echo == build.info == ;
   cat /mnt/etc/cloud/build.info;
   echo == /etc/hosts ==;
   cat /mnt/etc/hosts;
   sudo umount /mnt
  done
=== natty ===
== build.info ==
build_name: server
serial: 20111219
== /etc/hosts ==
127.0.0.1 localhost

# The following lines are desirable for IPv6 capable hosts
::1 ip6-localhost ip6-loopback
fe00::0 ip6-localnet
ff00::0 ip6-mcastprefix
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters
ff02::3 ip6-allhosts
=== precise ===
== build.info ==
build_name: server
serial: 20111219
== /etc/hosts ==
127.0.0.1 ubuntu

# The following lines are desirable for IPv6 capable hosts
::1 ip6-localhost ip6-loopback
fe00::0 ip6-localnet
ff00::0 ip6-mcastprefix
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters
ff02::3 ip6-allhosts

The issue in the output above is 'ubuntu' as the 127.0.0.1 entry. That should read 'localhost'.

Changed in ubuntu:
status: Confirmed → In Progress
Scott Moser (smoser)
summary: - /etc/hosts has 'ubuntu' as for 127.0.0.1 in natty, precise
+ /etc/hosts has 'ubuntu' as for 127.0.0.1 in oneiric, precise
Revision history for this message
Ben Howard (darkmuggle-deactivatedaccount) wrote :
Changed in ubuntu:
status: In Progress → Fix Committed
Martin Pitt (pitti)
Changed in ubuntu:
milestone: precise-alpha-2 → ubuntu-12.04-beta-1
Revision history for this message
Scott Moser (smoser) wrote :

$ tar -Sxvzf server/releases/precise/alpha-2/precise-server-cloudimg-i386.tar.gz
precise-server-cloudimg-i386.img
precise-server-cloudimg-i386-vmlinuz-virtual
precise-server-cloudimg-i386-loader
precise-server-cloudimg-i386-floppy
$ sudo mount -o loop,ro precise-server-cloudimg-i386.img /mnt
$ cat /mnt/etc/hosts
127.0.0.1 localhost

# The following lines are desirable for IPv6 capable hosts
::1 ip6-localhost ip6-loopback
fe00::0 ip6-localnet
ff00::0 ip6-mcastprefix
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters
ff02::3 ip6-allhosts

So, fix-released in alpha-2.

Changed in ubuntu:
status: Fix Committed → Fix Released
Mathew Hodson (mhodson)
affects: ubuntu → ubuntu-on-ec2
Changed in ubuntu-on-ec2:
milestone: ubuntu-12.04-beta-1 → none
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.