minimum hostname length imposed by installer is incorrect

Bug #193054 reported by nosilver4u
4
Affects Status Importance Assigned to Milestone
netcfg (Ubuntu)
Fix Released
Low
Colin Watson
ubiquity (Ubuntu)
Fix Released
Low
Colin Watson

Bug Description

Binary package hint: debian-installer

In the last several versions of ubuntu, an 'arbitrary' minimum hostname length has been imposed on users. It specifies in the debian installer that a hostname should be between 2 and 63 characters long. In the graphical installer (as mentioned in bug 52501) it specifies 3 to 63 characters. Neither of these is correct, and based on the discrepancy, it certainly appears arbitrary. According to RFC1034, a label (hostname) can be 0 to 63 octets (characters), but needs be at least one, since the 0-length refers to the root.

Revision history for this message
Joseph Piché (josephpiche) wrote :

I agree that this is a bug. RFCs 1034 and 1035 both are descriptive in saying that the minimum limit of a name is 1. This is confirmed and expounded upon in RFC 2181.

Changed in debian-installer:
status: New → Confirmed
Colin Watson (cjwatson)
Changed in ubiquity:
importance: Undecided → Low
status: New → Confirmed
Changed in netcfg:
assignee: nobody → kamion
importance: Undecided → Low
status: Confirmed → Fix Committed
Changed in ubiquity:
assignee: nobody → kamion
status: Confirmed → Fix Committed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package netcfg - 1.40ubuntu4

---------------
netcfg (1.40ubuntu4) hardy; urgency=low

  * Backport from trunk:
    - RFC 2181 clarifies that host names may be as short as one octet, so
      allow that (LP: #193054).

 -- Colin Watson <email address hidden> Tue, 19 Feb 2008 11:19:22 +0000

Changed in netcfg:
status: Fix Committed → Fix Released
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package ubiquity - 1.7.9

---------------
ubiquity (1.7.9) hardy; urgency=low

  [ Evan Dandrea ]
  * Drop priviliges for gnome-settings-daemon in ubiquity-dm.
  * Added a new tzmap widget. Ubiquity now shrinks to 674x434 (LP: #38442).

  [ Colin Watson ]
  * RFC 2181 clarifies that host names may be as short as one octet, so
    allow that (LP: #193054).

  [ Evan Dandrea ]
  * Automatic update of included source packages: base-installer
    1.86ubuntu2, partman-target 52ubuntu6.

 -- Evan Dandrea <email address hidden> Wed, 20 Feb 2008 09:28:17 -0500

Changed in ubiquity:
status: Fix Committed → Fix Released
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.