[pca] Patch blacklist?
Jeff Wieland
wieland at purdue.edu
Wed Apr 23 17:53:31 CEST 2008
You should be able use something like this in your .pca file:
ignore=116338
ignore=118383
ignore=125698
We had to add these since they started showing up on our Solaris 8
boxes.
We use a shell script wrapper around pca that set things up for our
Solaris 8 and 10 hosts:
#!/bin/ksh
/bin/uname -r | read UNAME_R
CFFILE=""
case "$UNAME_R" in
5.8) export PCA_PATCHADD=/usr/local/sbin/patchadd
export PCA_WGET=/usr/local/bin/wget
;;
esac
if [ -r "/usr/local/lib/pca/pca-$UNAME_R.conf" ]; then
CFFILE="--cffile=/usr/local/lib/pca/pca-$UNAME_R.conf"
fi
exec /usr/local/lib/pca/pca $CFFILE "$@"
We use a hacked version of patchadd that avoids the fgrep
"too many patterns" error by using /usr/xpg4/bin/fgrep.
Then you just put whatever O/S-specific defaults you want
in, for instance, usr/local/slib/pca/pca-5.10.conf.
David Stark wrote:
>> Hi,
>
> Hi.
>
>> I have this in my .pca file:
>>
>> pattern=!VERITAS|sendmail
>>
>> This says "use any patch NOT(VERITAS or sendmail)". I don't want any patch
>> that touches VERITAS or sendmail code, so this excludes these patches via
>> the "not" (!) argument. Works great for me.
>
> Ah. Missed the -p/--pattern option. Looks like this should be workable with:
>
> pattern=!Intranet Input Method Framework
>
> It would be handy (and less prone to false positives?) if there was an option to match on the patch ID as well, but I think we're good to go for now.
>
> Cheers Jeff.
>
>> Jeff Earickson
>> Colby College
>
> Dave
>
>> On Wed, 23 Apr 2008, David Stark wrote:
>>
>>> Date: Wed, 23 Apr 2008 15:53:47 +0100
>>> From: David Stark <dave at davidstark.name>
>>> Reply-To: "PCA (Patch Check Advanced) Discussion" <pca at lists.univie.ac.at>
>>> To: pca at lists.univie.ac.at
>>> Subject: [pca] Patch blacklist?
>>>
>>> Hi all.
>>>
>>> Is there a way of completely blacklisting a patch in PCA without editing the script itself? --ignore (according to the docs, I've not had a chance to test) will apply an ignored patch if it's a dependency of another patch, so that may not work for us.
>>>
>>> The patches in question are the 120410-xx series - these cause our Oracle forms compiles to core dump, so we would like to exclude these until we can get a fix from Sun or Oracle.
>>>
>>> Cheers!
>>>
>>> Dave
>>>
>>>
--
Jeff Wieland | Purdue University
Network Systems Administrator | ITN&S Data Networks
Voice: (765)496-8234 | 501 Harrison Street
FAX: (765)494-6620 | West Lafayette, IN 47907-2025
More information about the pca
mailing list