OpenSolaris

Printable Version Enter a New Search
Bug ID 6620213
Synopsis The special handling of "xx0" in the net-physical script is no longer needed
State 10-Fix Delivered (Fix available in build)
Category:Subcategory network:config
Keywords
Responsible Engineer Cathy Zhou
Reported Against
Duplicate Of
Introduced In sunos_4.1.1
Commit to Fix snv_78
Fixed In snv_78
Release Fixed solaris_nevada(snv_78)
Related Bugs
Submit Date 23-October-2007
Last Update Date 21-November-2007
Description
In the net-physical script, there is some special handling for the "xx0" interface:

                if [ "$1" = "xx0" ]; then
                        #
                        # For some unknown historical reason the xx0
                        # ifname is ignored.
                        #
                        shift
                        continue
                fi
According to google, this hack is introduced in SunOS 4.x.x to allow someone to set
the hostname of a standalone system:

  "When a system boots SunOS 4.1.x the appropriate ethernet network
  interface(s) are configured (ifconfig) based on the presence of one or
  more files named /etc/hostname.<interface>, where <interface> is the
  name of an interface to be passed to ifconfig (e.g. ie0 or le0). This
  operation is done during the rc.boot procedure. By changing the name of
  this file (assuming there is only one ethernet interface for the
  system) to "hostname.xx0" (literally; the xx0 doesn't stand for
  something else), the contents of the file will be correctly used to set
  the system's hostname, but no ethernet interface will be setup."

This hack should be no longer needed.
Work Around
N/A
Comments
N/A