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



--- Comment #2 from Anurag S. Maskey <Anurag.Maskey at Sun.COM> 2009-09-03 
17:05:00 UTC ---
The actual location switching is done by the network/location service.  nwamd
sets the location/selected property for network/location and refreshes the
service.  On refresh, the setting for the new location are activated.

During this process, the previously activated location is lost. 
network/location doesn't know what location was active when it is activating a
new location.

The fix for this bug requires that the previously activated location must be
remembered.  This, I am proposing, will be done in a new non-persistent
property location/previous.  Before changing the value of location/selected by
nwamd, it copies the existing value to location/previous.  Then, it writes the
location to be activated in location/selected and refreshes network/location.

Before network location activates the location in location/selected, it
disables the SMF services in "enable-svcs" and enables the services in
"disable-svcs" for the location/previous location.  This basically are the
opposite of actions network/location took while activating the
location/previous location.

Thoughts?

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

Reply via email to