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


Anurag S. Maskey <Anurag.Maskey at Sun.COM> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |CLOSED
         Resolution|                            |INVALID




--- Comment #1 from Anurag S. Maskey <Anurag.Maskey at Sun.COM>  2009-05-06 
06:49:58 ---
Yes, the Automatic, NoNet and Legacy locations are meant to be modifiable.

You do have an error in the output below, which must be a typo:

> nwamcfg> select loc Automatic
> nwamcfg:loc:Automatic> list 
> LOC:Automatic
>         activation-mode                 system
>         nameservices                    dns
>         nameservices-config-file        "/etc/nsswitch.dns"
>         dns-nameservice-configsrc       dhcp
> nwamcfg:loc:Automatic> set nameservices=dns
> nwamcfg:loc:Automatic> set nis-nameservice-configsrc=dhcp

Did you mean "set nameservices=nis"? If not, then you should not be able to set
nis-nameservice-configsrc.

nwamcfg> select loc Automatic
nwamcfg:loc:Automatic> list
LOC:Automatic
        activation-mode                 system
        nameservices                    dns
        nameservices-config-file        "/etc/nsswitch.dns"
        dns-nameservice-configsrc       dhcp
nwamcfg:loc:Automatic> set nameservices=dns
nwamcfg:loc:Automatic> set nis-nameservice-configsrc=dhcp
Set error: 'nis-nameservice-configsrc' cannot be set

nwamcfg:loc:Automatic> set nameservices=nis
nwamcfg:loc:Automatic> set nis-nameservice-configsrc=dhcp
nwamcfg:loc:Automatic> list
LOC:Automatic
        activation-mode                 system
        nameservices-config-file        "/etc/nsswitch.dns"
        nameservices                    nis
        nis-nameservice-configsrc       dhcp

-- 
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