Meem, I believe your original hypothesis is correct.  We work from the 
snapshot, and the snapshot isn't taken until manifest-import.  (Another 
reason I want manifest-import to run 'first' during boot.  Steve's code 
which is currently out for review is the infrastructure we need to 
pursue that solution in all supported deployment scenarios.)

To question two points not quoted:
1) I'm a bit surprised you're using a dependent, rather than a
    dependency.  Are network/physical and datalink-management really
    separable components of the system?

2) The duplicate dependencies in the svcs -d output are a bit worrisome.
    I haven't seen that bug before.

Peter Memishian wrote:
>  > Sounds like we need to do 'svcadm refresh' on both 
>  > 'network/datalink-management' and 'network/physical' right after we 
>  > upgraded the system in order to make the dependency effective (sync w/ 
>  > some sort of snapshot)...
> 
> I agree with the thinking, but I'm not aware of a way to do this prior to
> rebooting the upgraded machine, or an appropriate service to run the
> refresh from during reboot.

Correct.  I filed a bug long ago to suggest this functionality, but now 
believe that having manifest-import run earlier is the better solution 
in order to avoid all additional manual maintenance steps by either the 
admin or the programmer.

Regardless... I'm fairly sure that I recall a similar situation 
occurring in the past, but cannot remember previous advice.  Someone 
else (e.g. Bustos) might.

Honestly the best thing that I'm coming up with at this particular 
moment (given the urgent nature) is for us to give you a call to 
specifically rotate the snapshot before reboot.  (Or, at least to remove 
the running snapshot so we automatically fall back.)

You could test that this will work by explicitly deleting 
network/physical and re-importing it (with SVCCFG_REPOSITORY set).  The 
solution for both this problem and the problem Cathy's seeing with 
backwards bfu are probably similar.

Others may have better suggestions to offer, but I wanted to turn around 
one potential solution quickly.

liane (on vacation today)

Reply via email to