5    Sample Patch Kit Installation

This chapter provides samples of using the installation scripts to do the following:

5.1    Sample 1: Typical Patch Kit Installation

The example in this section shows a typical patch kit installation performed from a psuedo-terminal on a system running in single-user mode.
 
# cd patch_kit
# ls -l
total 21
-rwxr-xr-x   1 root     system      4164 Jan 18 06:33 00-READ-ME-FIRST
drwxr-xr-x   6 bin      bin         8192 Jan 18 06:33 PatchInstallGuide
drwxr-xr-x   4 bin      bin         8192 Jan 18 06:33 Tru64_UNIX_V5.1
# cd Tru64_UNIX_V5.1
# ls -l
total 16
drwxr-xr-x   3 bin      bin         8192 Jan 18 06:33 Documentation
drwxr-xr-x   3 bin      bin         8192 Jan 18 06:33 ManualKit
lrwxrwxrwx   1 root     system        59 Feb 14 11:25 ReleaseNotes.txt -> Documentation/txt/T64V511-C0000100-4585-Manual-
20010117.txt
# cat ReleaseNotes.txt
                         Release Notes

     This document summarizes the contents and special instructions for the
     Tru64 UNIX V5.1 patches contained in this kit.


1 Release Notes


This Customer-Specific Patch Kit Distribution contains:

   - fixes which are intended to resolve the problem(s) reported in:
        o HPXQB2541
             * for Tru64 UNIX V5.1 T64V51AS0001-20001114.tar (BL1)

 WARNING! NOT FOR GENERAL USE.
          These patches are tailored for an individual system's hardware and
          software configuration. Use of this patch kit, or patches contained
          in this kit, on any other system may cause that system to be in an
          inconsistent and non-operational state.

          This patch kit, or its content, may not be posted on any network or
          bulletin boards.


 The Release Notes contain a summary of each patch in this kit.

 Patches in this kit are installed by manually typing commands or by the
 simple installation script included in the kit. For example, as root on
 the target system:

        > mkdir -p /tmp/CSPkit1
        > cd /tmp/CSPkit1
        > <copy the kit to /tmp/CSPkit1>
        > tar -xpvf DUV40D13-C0045600-1340-Manual-20000404.tar
        > cd patch_kit/DIGITAL_UNIX_V4.0D/ManualKit
        > ./OSFPATC0045600425.install.sh

 NOTE: The simple installation script provides:

        o Prior to installing anything, it verifies
                - product version matches the target product for the patch
                - affected product subsets are installed

        o Saves existing system files (so the patch can be removed)
                - in their current location with .PreManualCSP.<timestamp>
                  appended

        o Installs patched system files in the proper location with the proper
          access modes

        o Installs the patch documentation on the target system
                - copies <PatchID>.abs,
                         <PatchID>.txt,
                         <PatchID>.problem_ids,
                         <PatchID>.rcs_strings and optionally
                         <PatchID>.special_instructions

                  to /var/adm/manual_patch/doc

        o Updates the manually-installed patch installation log
                - /var/adm/manual_patch/log/Install.log

        o Updates the manually-installed patch database
               - copies <ManualPatchName>.sh,
                         <ManualPatchName>.FileList
                         <ManualPatchName>.Installed

                  to /var/adm/manual_patch/db/

        The installation script DOES not provide patch dependency management
        nor patch removal capabilities.

 These patches have been tested and found to work correctly in the support
 engineering environment. However, it is possible that you may experience
 different results running these patches in your computing environment.

 Compaq recommends that you install these patches in a NON-Production (testing)
 computing environment to ensure there are no side-effects (due to your specific
 configurations) PRIOR to installing the patches in your production environment.


2 Special Instructions

SPECIAL INSTRUCTIONS for Tru64 UNIX V5.1 Patch C1.00
Special Instructions



3 Summary of CSPatches contained in this kit


Tru64 UNIX V5.1

PatchId                 Summary Of Fix
----------------------------------------
C1.00                   Description


4 Additional information from Engineering

The following test program(s) are delivered and installed with
Patch C1.00:
        ./var/adm/patch/support/OSFPATC0000100510/passwd
The special instructions for this patch describe the use of the
test program(s)




5 Affected system files
This patch delivers the following files:

Tru64 UNIX V5.1
        Patch C1.00
                ./usr/sbin/mknod
                        CHECKSUM:       37452 20
                        SUBSET: OSFBASE510
                ./var/adm/patch/support/OSFPATC0000100510/passwd
                        CHECKSUM:       12226 3
                        SUBSET: Unknown
# cd ManualKit
# ls -l
total 48
-rwxr-xr-x   1 bin      bin         9728 Jan 18 06:33 OSFPATC0000100510.install.sh
-rw-r--r--   1 bin      bin        30720 Jan 18 06:33 OSFPATC0000100510.tar
drwxr-xr-x   2 bin      bin         8192 Jan 18 06:33 RCSIdInformation

# ./OSFPATC0000100510.install.sh
Now installing Tru64 UNIX V5.1 Patch C1.00 at  (Logging to //./var/adm/manual_patch/log/OSFPATC0000100510)

File ./var/adm/patch/support/OSFPATC0000100510/passwd isn't on the system - probably since it is a new file

Finished installing Tru64 UNIX V5.1 Patch C1.00 at 2001-02-11-12:35:56