[Bug 743070] Re: ubiquity sets wrong computer's name

Christian A. Reiter christian.a.reiter at gmail.com
Thu Apr 10 19:27:42 UTC 2014


Hm, you can' t use the hostname to set the hostname, but you can use what you get from a dhcp server as hostname.
See http://askubuntu.com/questions/104918/how-to-get-hostname-from-dhcp-server and  https://tools.ietf.org/html/rfc1533#section-3.14 for that.

Sorry to insist here., but while I understand that you don't want to
hardcode "ubuntu" or anything else, a programmatical try to give the
computer the most meaningful name available cannot be an "invalid" bug,
can it?

So IMHO Ubiquity should (in this order)
1. look what a possible DHCP server offers
2. look at the bios provided name

and  write the first possible hostname as suggestion into the box.

Why is this bug invalid?
If you don't want to fix it because of other opinion (which is perfectly ok, you own Ubuntu), mark it as "Won't fix".
IMHO getting a better hostname by workarounding a provider's "stupid" fault is an enhancement of Ubiquity.

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to ubiquity in Ubuntu.
https://bugs.launchpad.net/bugs/743070

Title:
  ubiquity sets wrong computer's name

Status in “ubiquity” package in Ubuntu:
  Invalid

Bug description:
  Binary package hint: ubiquity

  In Ubiquity (here KDE version, but should be the same in GNOME) the name that is set automatically here is "christian-System-Product-Name", so it seems to be %username%-%hostname%.
  But this hostname or system-product name is not retrieved correctly.

  There should be a check if it is retrieved correctly, and if not, give
  it a default name, but not "System-Product-Name", maybe "computer" or
  "laptop", depending on system, if that's possible.

  Most computer-untrained persons (like Bobs mum or Alice's Grandfather
  :-) ) leave this text like it is, and "Alfred-System-Product-Name" is
  a VERY unpretty name for a computer ;-).

  ProblemType: Bug
  DistroRelease: Ubuntu 11.04
  Package: ubiquity 2.5.22
  ProcVersionSignature: Ubuntu 2.6.38-5.32-generic 2.6.38-rc6
  Uname: Linux 2.6.38-5-generic x86_64
  Architecture: amd64
  Date: Sat Mar 26 12:39:43 2011
  LiveMediaBuild: Kubuntu 11.04 "Natty Narwhal" - Alpha amd64 (20110303)
  ProcEnviron:
   LANGUAGE=
   LANG=de_DE.UTF-8
   SHELL=/bin/bash
  SourcePackage: ubiquity
  UpgradeStatus: No upgrade log present (probably fresh install)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ubiquity/+bug/743070/+subscriptions



More information about the foundations-bugs mailing list