How to Avoid Patch Problems When Moving a Local Zone?
This tech tip provides tips for dealing with package and patch-level issues when moving a local zone from one host to another for the Oracle Solaris 10 OS.
I am building a bff using mkinstallp.
My template file is :
Package Name: svr_exForum
Package VRMF: 7.2
Update: N
Fileset
Fileset Name: svr_exForum.rte
Fileset VRMF: 7.2
USRLIBLPPFiles
Pre-installation Script: /lppdir/lpp/exForum/F_pre_i
... (2 Replies)
All,
I am trying to install the patch 148689-02. However, this patch fails to install due to the non global zone does not have the required patch 147143-17. I have tried to login to the non global zone and install it manually. "patchadd 147143-17" however, this returns a message stating its for... (1 Reply)
Hi ,
I added a new fs to the global zone and also did the zonecfg to add the FS to the zone but finally I do not see the new "FS" on the local zone.
Even in th e/etc/zones/zone.xml the fs and the correct directory is mentioned.
Any Idea please ? (4 Replies)
Hello Solaris experts,
I would like to inquire of the error I'm encountering when using patchadd on a non-global zone.
bash-3.00# patchadd 148625-01
Validating patches...
Loading patches installed on the system...
Done!
Loading patches requested to install.
Cannot locate 148625-01... (1 Reply)
Hi there,
Apologies if this question has been asked and answered already but I've not been able to find the thread.
Question: Is it possible to apply the Solaris 10 Recommended Patch Cluster to a whole root (non-global) zone locally? I.E. apply the patch cluster from the non-global in... (3 Replies)
Dears,
I would like to convert solaris 10 x86 and solaris 10 sparc (Global Zones) physical servers into Local zones.
i found a document which seems to be helpful but i'm stuck @ the 1st step.
to test this i want to do it 1st on x86 system running under vmware ESXi and if it succeeds i will... (1 Reply)
Hello Guruz,
I am unable see the zone cloning option in zoneadm command, I guess the option if not available with the current OS release (Solaris 10 1/06).
Could some one let me know if there any specific patch is available for the same?.
My zoneadm o/p as follows.
Zoneadm
usage: ... (18 Replies)
Hi Gurus
I am not able to ping the local zone from global zone
when i am trying to ping i am getting below
ICMP Host Unreachable from gateway zone ( 192.268.35.210)
for icmp from zone ( 192.168.35.210) to sun1 ( 192.168.35.210)
However i can ping local zone from global
please... (12 Replies)
Patch(3pm) User Contributed Perl Documentation Patch(3pm)NAME
Text::Patch - Patches text with given patch
SYNOPSIS
use Text::Patch;
$output = patch( $source, $diff, STYLE => "Unified" );
use Text::Diff;
$src = ...
$dst = ...
$diff = diff( $src, $dst, { STYLE => 'Unified' } );
$out = patch( $src, $diff, { STYLE => 'Unified' } );
print "Patch successful" if $out eq $dst;
DESCRIPTION
Text::Patch combines source text with given diff (difference) data. Diff data is produced by Text::Diff module or by the standard diff
utility (man diff, see -u option).
patch( $source, $diff, options... )
First argument is source (original) text. Second is the diff data. Third argument can be either hash reference with options or all the
rest arguments will be considered patch options:
$output = patch( $source, $diff, STYLE => "Unified", ... );
$output = patch( $source, $diff, { STYLE => "Unified", ... } );
Options are:
STYLE => 'Unified'
STYLE can be "Unified", "Context" or "OldStyle".
The 'Unified' diff format looks like this:
@@ -1,7 +1,6 @@
-The Way that can be told of is not the eternal Way;
-The name that can be named is not the eternal name.
The Nameless is the origin of Heaven and Earth;
-The Named is the mother of all things.
+The named is the mother of all things.
+
Therefore let there always be non-being,
so we may see their subtlety,
And let there always be being,
@@ -9,3 +8,6 @@
The two are the same,
But after they are produced,
they have different names.
+They both may be called deep and profound.
+Deeper and more profound,
+The door of all subtleties!
TODO
Interfaces with files, arrays, etc.
AUTHOR
Vladi Belperchinov-Shabanski "Cade"
<cade@biscom.net> <cade@datamax.bg> <cade@cpan.org>
http://cade.datamax.bg
VERSION
$Id: Patch.pm,v 1.6 2007/04/07 19:57:41 cade Exp $
perl v5.10.1 2010-10-04 Patch(3pm)