Hi Anurag,
For my understanding, for all the object created by system:
now Automatic, NoNet and Legacy LOC can be modifiable.
but Automatic NCP is read only.
Is it correct? Though this will make a little surprise for the user.
Thanks
- Alex
On May 6, 2009, at 9:50 PM, bugzilla-daemon at defect.opensolaris.org
wrote:
> 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 reported the bug.