http://defect.opensolaris.org/bz/show_bug.cgi?id=11926

           Summary: Legacy location with NIS hostnames fails
    Classification: Development
           Product: nwam
           Version: RC2
          Platform: ANY/Generic
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P3
         Component: ON misc
        AssignedTo: nwam-dev at opensolaris.org
        ReportedBy: Anurag.Maskey at Sun.COM
         QAContact: nwam-dev at opensolaris.org


--- Comment #0 from Anurag S. Maskey <Anurag.Maskey at Sun.COM> 2009-10-13 
20:08:41 UTC ---
The value of "nis-nameservice-servers" must be addresses, hostnames are not
allowed.  paul-02 from the code review comments points out that NIS doesn't do
nameservice lookups.

paul-02     net-loc'265: do_nis(): Keep in mind that the ypservers, if listed
by name, need to be in /etc/hosts. NIS looks explicitly there and does not so
regular nameservice lookup. Not sure if this is really the place to address it,
but there probably should be some warning when the user is doing manual config
and uses a hostname. 

Thus, the "nis-nameservice-servers" was modified to take addresses only.

However, when upgrading from Phase 0/0.5, users may have hostnames in
/var/yp/binding/<default-domain>/ypservers, with the address being listed in
/etc/hosts.  In these situations, nwamcfg fails to create the Legacy location. 
/var/svc/log/network-location\:default.log has the following error messages:

On line 9 of /etc/svc/volatile/nwam/create_loc_legacy:
Set error: invalid value
'nis-nameservice-servers' specifies NIS server host address(es)

-- 
Configure bugmail: http://defect.opensolaris.org/bz/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.

Reply via email to