Jumpstart and Applying Recommended Patch Cluster

I'm trying to setup our jumpstart server to automatically apply the latest patch cluster during installs, but I'm running into an issue. Every time Jumpstart runs it has this error. Obviously it's processing the patch_order file, so I'm not sure what I'm missing.

==============================================================================
secure.driver: Finish script: install-recommended-patches.fin
==============================================================================
Installing Software: Solaris Recommended and Security Patch Cluster
Installing the patches from the directory, /a//tmp/jass-patches/10_Recommended.
[ERR ] Directory, /a//tmp/jass-patches/10_Recommended/120900-04, was not found.
[ERR ] Directory, /a//tmp/jass-patches/10_Recommended/121133-02, was not found.
[ERR ] Directory, /a//tmp/jass-patches/10_Recommended/119254-81, was not found.
[ERR ] Directory, /a//tmp/jass-patches/10_Recommended/119317-01, was not found.
[ERR ] Directory, /a//tmp/jass-patches/10_Recommended/121296-01, was not found.
[ERR ] Directory, /a//tmp/jass-patches/10_Recommended/138215-01, was not found.
[ERR ] Directory, /a//tmp/jass-patches/10_Recommended/127884-01, was not found.
[ERR ] Directory, /a//tmp/jass-patches/10_Recommended/145044-03, was not found.
[ERR ] Directory, /a//tmp/jass-patches/10_Recommended/142251-02, was not found.
[ERR ] Directory, /a//tmp/jass-patches/10_Recommended/125555-10, was not found.
[ERR ] Directory, /a//tmp/jass-patches/10_Recommended/118367-04, was not found.
[ERR ] Directory, /a//tmp/jass-patches/10_Recommended/118666-32, was not found.
[ERR ] Directory, /a//tmp/jass-patches/10_Recommended/118667-32, was not found.
[ERR ] Directory, /a//tmp/jass-patches/10_Recommended/118705-02, was not found.
[ERR ] Directory, /a//tmp/jass-patches/10_Recommended/118706-01, was not found.

I am using the default install-recommended-patches.fin that comes with Jass under the /opt/SUNWjass/Finish directory, and I'm placing the 10_Recommended patch cluster under /opt/SUNWjass/Patches.

The /opt/SUNWjass/Drivers/user.init file seems correct to me:

# pwd
/opt/SUNWjass/Drivers
# tail -20 user.init
# The JASS Development Team would like to offer special thanks to Pierre
# Zimmermann the JASS_SERVER concept.
if [ "${JASS_STANDALONE}" != "1" ]; then
   JASS_SERVER="`df -k /tmp/install_config | tail -1 | nawk -F: '{ print $1 }'`"
   export JASS_SERVER
   if [ "${JASS_PACKAGE_MOUNT}" = "" ]; then
      JASS_PACKAGE_MOUNT="${JASS_SERVER}:/opt/SUNWjass/Packages"
      # echo "JASS_PACKAGE_MOUNT is set to ${JASS_PACKAGE_MOUNT}."
   fi
   export JASS_PACKAGE_MOUNT
   if [ "${JASS_PATCH_MOUNT}" = "" ]; then
      JASS_PATCH_MOUNT="${JASS_SERVER}:/opt/SUNWjass/Patches"
      # echo "JASS_PATCH_MOUNT is set to ${JASS_PATCH_MOUNT}."
   fi
   export JASS_PATCH_MOUNT
fi
#

I am able to mount and install packages from $JASS_PACKAGE_MOUNT with no problems, so I can't figure out what the problem is with the $JASS_PATCH_MOUNT. All other Jumpstart install packages and configurations I've setup (including Veritas, Powerpath, sudo, and numerous other packages) I've been able to setup successfully. For some reason I can't seem to get the dang patch cluster to automatically install, and you would think that would be the easiest thing.

Any help would be very appreciated!

Also, here is a copy of my install-recommended-patches.fin just in case:

#!/bin/sh
#
# Copyright 2004 Sun Microsystems, Inc.  All rights reserved.
# Use is subject to license terms.
#
#ident  "@(#)install-recommended-patches.fin 3.10     04/06/02     SMI"
#
# This script is responsible for installing a Sun Recommended and Security
# patch cluster from ${JASS_ROOT_DIR}${JASS_PATCH_DIR}.  These patch clusters
# can be freely downloaded from sunsolve.sun.com.
#
logMessage "Installing Software: Solaris Recommended and Security Patch Cluster"
echo ""
errorCondition=0
PATCH_OS_VERSION=""
# Determine the current OS version in order to define which cluster to apply.
case ${JASS_OS_REVISION} in
   5.10)
      PATCH_OS_VERSION="10"
      ;;
   5.9)
      PATCH_OS_VERSION="9"
      ;;
   5.8)
      if [ "`echo ${JASS_OS_TYPE} | cut -c1-3`" = "TS8" ]; then
         PATCH_OS_VERSION="TS8"
      else
         PATCH_OS_VERSION="8"
      fi
      ;;
   5.7)
      PATCH_OS_VERSION="7"
      ;;
   5.6)
      PATCH_OS_VERSION="2.6"
      ;;
   5.5.1)
      PATCH_OS_VERSION="2.5.1"
      ;;
   *)
      errorCondition=1
      ;;
esac
if [ ${errorCondition} = 0 ]; then
   PATCH_DIR="${JASS_ROOT_DIR}${JASS_PATCH_DIR}"
   # Handle the special case for Solaris on Intel.
   if [ "`uname -m`" = "i86pc" ]; then
      PATCH_SERV_DIR="${PATCH_OS_VERSION}_x86"
   else
      PATCH_SERV_DIR="${PATCH_OS_VERSION}"
   fi
   PATCH_SERV_DIR="${PATCH_SERV_DIR}_Recommended"
   if [ ! -d ${PATCH_DIR} ]; then
      logNotice 'The patch directory, ${PATCH_DIR}, does not exist.'
   else
      if [ ! -d ${PATCH_DIR}/${PATCH_SERV_DIR} ]; then
         logNotice 'The patch directory, ${PATCH_SERV_DIR}, does not exist.'
      else
         logMessage 'Installing the patches from the directory, ${PATCH_DIR}/${PATCH_SERV_DIR}.'
         echo ""
         add_patch ${JASS_REC_PATCH_OPTIONS} \
            -M ${JASS_ROOT_DIR}${JASS_PATCH_DIR}/${PATCH_SERV_DIR} patch_order
      fi
   fi
else
   logInvalidOSRevision "5.5.1-5.10"
fi

---------- Post updated at 02:01 AM ---------- Previous update was at 01:39 AM ----------

I just figured it out on my own. Problem was staring me right in the face...

Jass's script must be out of date.

The original looked like this:

         add_patch ${JASS_REC_PATCH_OPTIONS} \
            -M ${JASS_ROOT_DIR}${JASS_PATCH_DIR}/${PATCH_SERV_DIR} patch_order

I corrected it to match how Oracle/Sun does their recommended patch clusters now:

         add_patch ${JASS_REC_PATCH_OPTIONS} \
            -M ${JASS_ROOT_DIR}${JASS_PATCH_DIR}/${PATCH_SERV_DIR}/patches patch_order

Hmm... now how do I thank myself? :slight_smile: