http://defect.opensolaris.org/bz/show_bug.cgi?id=10833
Summary: 'restart svc:/network/location:default' didn't
recreate the locations.
Classification: Development
Product: nwam
Version: unspecified
Platform: ANY/Generic
OS/Version: All
Status: NEW
Status Whiteboard: nwam1-build:2009-08-20
Severity: normal
Priority: P3
Component: CLI
AssignedTo: nwam-dev at opensolaris.org
ReportedBy: lizhong.li at sun.com
QAContact: nwam-dev at opensolaris.org
--- Comment #0 from Lizhong Li <lizhong.li at sun.com> 2009-08-21 11:12:40 UTC
---
Since the Legacy is missed, so I delete the loc.conf and ncp*.conf, then
restart the svc:/network/location:default, while it can't recreate the
locations.
bash-3.2# rm /etc/nwam/*.conf
bash-3.2# svcadm restart svc:/network/location:default
bash-3.2# nwamcfg list
bash-3.2# svcadm restart svc:/network/physical:nwam
bash-3.2# nwamcfg list
NCPs:
Automatic
bash-3.2# svcadm disable svc:/network/physical:default
bash-3.2# svcadm enable svc:/network/physical:nwam
bash-3.2# nwamadm list
TYPE PROFILE STATE
ncp Automatic online
ncu:ip bge1 offline
ncu:phys bge1 offline
ncu:ip bge3 online
ncu:phys bge3 online
ncu:ip bge2 offline*
ncu:phys bge2 online
ncu:ip bge0 offline*
ncu:phys bge0 online
bash-3.2#
bash-3.2# svcadm restart svc:/network/location:default
bash-3.2# nwamadm list
TYPE PROFILE STATE
ncp Automatic online
ncu:ip bge1 offline
ncu:phys bge1 offline
ncu:ip bge3 online
ncu:phys bge3 online
ncu:ip bge2 offline*
ncu:phys bge2 online
ncu:ip bge0 offline*
ncu:phys bge0 online
bash-3.2# ls /etc/nwam
loc ncp-Automatic.conf
bash-3.2# ls -l /etc/nwam/loc/
total 8
drwxr-xr-x 2 netadm netadm 512 Aug 21 18:30 Legacy
drwxr-xr-x 2 netadm netadm 512 Aug 20 23:37 NoNet
-rw-rw-r-- 1 netadm netadm 155 Aug 20 23:37 create_loc_auto
-rw-rw-r-- 1 netadm netadm 232 Aug 20 23:37 create_loc_nonet
--
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.