ubiquity tells me my computer name already exists on the network - hostname lookup can be slow

Bug #924511 reported by Jeff Lane on 2012-01-31
56
This bug affects 7 people
Affects Status Importance Assigned to Milestone
ubiquity (Ubuntu)
Low
Unassigned

Bug Description

Whatever ubiquity is doing when it tries to find out if a chosen hostname already exists, it's not working very well.

Ubiquity tells me that the hostname "already exists on the network" regardless of whether I'm actually ON a network, or whether that name already exists. It shows me big, warning red letters until it starts verifying my user name as I type that, at which point the hostname turns from a red warning to a green checkbox.

BUT the warning is confusing. If I didn't know better, I could easily stand there and re-enter hostnames over and over trying to get one that doesn't generate that warning. In fact, I gave it 4 different hostnames (test, edubuntu, edubuntu-64-1 and edubuntu-64) all of which caused the red "Name Exists" warning to appear, until I started typing in a different field.

This is very confusing to the users, and I imagine is not liminted to Edubuntu, but to ubiquity in general.

I'm attaching before and after screenshots to highlight this.

ProblemType: Bug
DistroRelease: Ubuntu 12.04
Package: ubiquity 2.9.15
ProcVersionSignature: Ubuntu 3.2.0-12.20-generic 3.2.2
Uname: Linux 3.2.0-12-generic x86_64
ApportVersion: 1.91-0ubuntu1
Architecture: amd64
CasperVersion: 1.302
Date: Tue Jan 31 15:45:08 2012
LiveMediaBuild: Edubuntu 12.04 "Precise Pangolin" - Alpha amd64 (20120131)
ProcEnviron:
 PATH=(custom, no user)
 LANG=en_US.UTF-8
 SHELL=/bin/bash
SourcePackage: ubiquity
UpgradeStatus: No upgrade log present (probably fresh install)

Jeff Lane (bladernr) wrote :
Jeff Lane (bladernr) wrote :

Screenshot showing one of the host-names I tried that generated the "name already exists on network" error

Ubuntu QA Website (ubuntuqa) wrote :

This bug has been reported on the Ubuntu ISO testing tracker.

A list of all reports related to this bug can be found here:
http://iso.qa.ubuntu.com/qatracker/reports/bugs/924511

tags: added: iso-testing
Jeff Lane (bladernr) wrote :

THe warning persists for every name I try, until I just give up and move to the username field and start typing there. As soon as I enter something in the username field, the hostname warning changes to a green checkmark.

Vadim Rutkovsky (roignac) wrote :

Possibly, this is a duplicate of bug 828181?
---
Ubuntu Bug Squad volunteer triager
http://wiki.ubuntu.com/BugSquad

Brian Murray (brian-murray) wrote :

I was unable to recreate this using ubiquity 2.9.15 on an Ubuntu amd64 Live CD.

Changed in ubiquity (Ubuntu):
importance: Undecided → Medium
Brian Murray (brian-murray) wrote :

Discussed in #ubuntu-installer:

09:55 < stgraber> that test takes a while so it's done using the _async
                  function in ubiquity which means it can take up to 4-5s
                  before the warning shows up or disappears

So the warning probably would have disappeared if you had been more patient. ;-)
Additionally, a check may also be done when switching fields hence it sorting itself out.

summary: - ubiquity tells me my computer name already exists on the network when it
- doesnt
+ ubiquity tells me my computer name already exists on the network -
+ hostname lookup can be slow
Changed in ubiquity (Ubuntu):
status: New → Triaged
importance: Medium → Low
assignee: nobody → Stéphane Graber (stgraber)
tags: added: ubi-usersetup
Stéphane Graber (stgraber) wrote :

Hmm, even on Edubuntu using the same example as above I couldn't reproduce the issue, the dialog seems to behave as expected here.

Jeff: Could you try with a recent image (beta1) and confirm it still happens for you?

A change in ubi-usersetup that went in a bit before beta1 fixes a bunch of cases where the local DNS server gives IP addresses for pretty much any hostname, maybe that same fix fixed your problem?

Changed in ubiquity (Ubuntu):
status: Triaged → Incomplete
tags: added: quantal
Brian Murray (brian-murray) wrote :

Bug 1030475 is from a user who seems to have been installing Quantal.

Jeff Lane (bladernr) wrote :

Marking this back to confirmed as it is seen on Quantal as well.

Changed in ubiquity (Ubuntu):
status: Incomplete → Confirmed
Changed in ubiquity (Ubuntu):
status: Confirmed → Triaged
tags: added: vivid
Changed in ubiquity (Ubuntu):
assignee: Stéphane Graber (stgraber) → nobody
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers