Re: [zones-discuss] Does update on attach add information from the new systems kernel patch ?

2009-02-04 Thread Jerry Jelinek
Geoff Shipman wrote:
 Jerry,
 
 I received update they did not use a force option to the attach just the
 -u.  They noted that no log file was created in the
 /var/sadm/system/logs directory of the NGZ.   
 
 This attach was stymied originally by a Veritas package VRTSat that had
 patch 117499-02 with garbage characters in the obsoletes field of the
 pkginfo file.  Once they followed Symantecs instructions on removal of
 the patch and access a clean version from the Symantec ftp site the
 attach went OK, allowing the zoneadm attach to recreate the SUNWdetach
 information.
 
 The NGZ still shows garbage in the pkginfo information for VRTSat from
 the showrev -p data and the kernel patch 13-01 is not listed in the
 showrev output.
 
 I asked them to detach the NGZ and run the attach -u again after
 removing the SUNWdetach.xml to see if this time they get a log file
 created.

Just about the first thing that the update on attach does is
create the log file, so if there isn't one, then I'm not really
sure what they did or how the zone could have ended up in the
installed state.  Clearly something went wrong here so its hard
to draw any conclusions about the state of the pkg metadata
at this point.  If this is reproducible, then we can dig into
it further.  It sounds like the pkg metadata is still corrupted
in the NGZ due to the bad pkg?  Cleaning that up might help
things, but it would be nice to see whats really going on during
the whole process.

Jerry
___
zones-discuss mailing list
zones-discuss@opensolaris.org


Re: [zones-discuss] Does update on attach add information from the new systems kernel patch ?

2009-02-04 Thread Henrik Johansson

Geoff and Jerry,

On Feb 4, 2009, at 2:17 AM, Geoff Shipman wrote:


Jerry,

I received update they did not use a force option to the attach just  
the

-u.  They noted that no log file was created in the
/var/sadm/system/logs directory of the NGZ.

This attach was stymied originally by a Veritas package VRTSat that  
had

patch 117499-02 with garbage characters in the obsoletes field of the
pkginfo file.  Once they followed Symantecs instructions on removal of
the patch and access a clean version from the Symantec ftp site the
attach went OK, allowing the zoneadm attach to recreate the SUNWdetach
information.

The NGZ still shows garbage in the pkginfo information for VRTSat from
the showrev -p data and the kernel patch 13-01 is not listed in  
the

showrev output.



We have had some issues with the damaged VRTSat package, the fixed  
version of the same version of the patch together with the  
instructions did not solve the whole problem for us when using it with  
zones.


If I remember correctly this fix did in fact damage the package  
database, or at least make it inconsistent with the files present on  
the system. The solution was to remove the whole VRTSat package,  
reapply the package and then apply the working version on the patch  
version directly without applying the damaged version first. The  
pkgadd procedure would complain regarding already present or missing  
files but after this we ended up with a consistent package database  
again.


It's late here in Sweden but i can give you the exact information on  
what I experienced and how it was solved tomorrow morning if it's of  
any interest.


Regards

Henrik Johansson
http://sparcv9.blogspot.com



___
zones-discuss mailing list
zones-discuss@opensolaris.org