5    Sample Patch Kit Installation

This chapter provides samples of using dupatch 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.

The output of installations performed from a system console and those performed in multiuser mode differ slightly. To see the output of single-user installation from a console, see Section 4.7.1.1. To see the output of a multiuser installation, see Section 4.7.1.2.

# dupatch
 
	* Previous session logs saved in session.log.[1-25]
 
Tru64 UNIX Patch Utility (Rev. 26-03)
==========================
	- This dupatch session is logged in //var/adm/patch/log/session.log
 
    Main Menu:
    ---------
 
    1)  Patch Installation
    2)  Patch Deletion
 
    3)  Patch Documentation
    4)  Patch Tracking
 
    5)  Patch Baseline Analysis/Adjustment
 
    h)  Help on Command Line Interface
 
    q)  Quit
 
Enter your choice: 1
 
 Tru64 UNIX Patch Utility (Rev. 26-03)
 ==========================
	 - This dupatch session is logged in //var/adm/patch/log/session.log
 
     Patch Installation Menu:
     -----------------------
 
    1)  Pre-Installation Check ONLY
    2)  Check & Install in single-user mode w/ network services
    3)  Check and Install in Multi-User mode
 
    b)  Back to Main Menu
    q)  Quit
 
Enter your choice: 2
 
Enter path to the top of the patch distribution, 
or enter "q" to get back to the menu : /usr/patch/patch_kit
 
Gathering patch information...
  (depending upon the size of the patch kit, this may take a while)
 
 
                ***  Start of Special Instructions  ***
 
 
SPECIAL INSTRUCTIONS FOR Tru64 UNIX V5.0 Patch 48.00
Update your /etc/fstab entries to enable the selected mount option
("throttle") on the selected UFS filesystems.
 
For example, change from:
 
   /dev/rz12e      /mnt/test ufs rw 0 2
 
TO:
 
   /dev/rz12e      /mnt/test ufs rw,throttle 0 2
 
Append to /etc/sysconfigtab any tuning changes.  For further information
on this patch, refer to the Patch Summary and Release Notes document.
The release note for this patch includes a section on TUNING. The TUNING
section describes the new io-throttle-shift, io-throttle-maxmzthruput,
and io-throttle-static tunables. These tunables are configured in the
"vfs" stanza.
 
The following 3 lines make up an example:
 
 
----------------------------------------
Press <RETURN> to continue viewing: 
----------------------------------------
 
vfs:
    io-throttle-shift = 1
    io-throttle-maxmzthruput = 1
 
(Note - if you already have a vfs stanza in your sysconfigtab file, then
just add the 2 "io-throttle" entries.)
 
 
 
                ***  End of Special Instructions  ***
 
 
 
	Press RETURN to proceed...
 
 
     ------------------------------------------------------------------------
 
     To Make Patches Reversible - PLEASE READ THE FOLLOWING INFORMATION:
 
 
   - You have the option to make the patches reversible so you can 
     revert the system to its state prior to the installation of a patch.  
 
   - Reversibility is achieved by compressing and saving a copy of the 
     files being replaced by the patches. These files would be restored 
     to the system if you choose to delete a patch.
 
   - If you choose to make patches NON-reversible, then the system cannot 
     be restored to the state prior to the installation of a patch; you 
     will not be able to delete the patches later.
 
   - This patch kit may force a small set of patches to be reversible to 
     ensure your upgrades to future versions of Tru64 UNIX are successful. 
     The Patch Utility will make those patches reversible automatically. 
 
     Refer to the Release Notes / Installation Instructions provided with
     this patch kit.
 
Do you want the patches to be reversible? [y]: [Return]
 
     By default, the backup copies of the installed patches will be saved in
     "//var/adm/patch/backup".
 
     If you have limited space in /var, you may want to make the backup
     directory the mount point for a separate disk partition, an NFS mounted
     directory, or a symbolic link to another file system.
 
     You must ensure the backup directory is configured the same way during
     any patch removal operations.
 
Your current setup of "//var/adm/patch/backup" is:
 
	* A plain directory (not a mount point or a symbolic link)
 
Do you want to proceed with the installation with this setup? [y]: 
 
Your name: Joe Smith
 
Enter any notes about this operation that you would like stored for
future reference (To end your input, enter a "."):
 
: Instlalat      tallation of patches.
: .
 
The patches listed below are optional:
 
     There may be more optional patches than can be presented on a single
     screen. If this is the case, you can choose patches screen by screen
     or all at once on the last screen. All of the choices you make will
     be collected for your confirmation before any patches are installed.
 
 - Tru64_UNIX_V5.0 / Commands, Shells, & Utility Patches:
     1) Patch 0008.00 - prof -pixie -asm command core dumps                     
     2) Patch 0011.00 - ld command inserts incorrect values                     
     3) Patch 0016.00 - Fix for stdhosts command                                
     4) Patch 0019.00 - C shell incorrectly handles 2-byte characters           
     5) Patch 0021.00 - Fix for crontab command                                 
     6) Patch 0022.00 - Fix for sort command                                    
     7) Patch 0023.00 - Fix for ksh core dump problem                           
     8) Patch 0028.00 - Fix for binmail                                         
     9) Patch 0032.00 - Fix for tar/pax program                                 
    10) Patch 0033.00 - Fix for vdump program dumping core                      
 
--- MORE TO FOLLOW ---
Enter your choices or press RETURN to display the next screen.
 
Choices (for example, 1 2 4-6): [Return]
 
    11) Patch 0035.00 - usermod command does not allow use of commas            
    12) Patch 0042.00 - rc.config and rc.config.common files may be corrupt     
 
 - Tru64_UNIX_V5.0 / Common Desktop Environment (CDE) Patches:
    13) Patch 0039.00 - Fix for dxaccounts shared library                       
    14) Patch 0050.00 - Fix for dxaccounts static library                       
 
 - Tru64_UNIX_V5.0 / Filesystem Patches:
    15) Patch 0049.00 - Fix for AdvFS system hang                               
 
 - Tru64_UNIX_V5.0 / Hardware Configuration Patches:
    16) Patch 0005.00 - Fix for Compaq AlphaServer problems                     
    17) Patch 0025.00 - Restriction lifted for AlphaServer DS20 and ES40        
    18) Patch 0046.00 - Fix for simple lock timeout panic                       
    19) Patch 0051.00 - Fix for system hang at boot time                        
 
 - Tru64_UNIX_V5.0 / I/O Device Handling Patches:
    20) Patch 0001.00 - Fix for KZPCM and 8952U adapters                        
 
--- MORE TO FOLLOW ---
Enter your choices or press RETURN to display the next screen.
 
Choices (for example, 1 2 4-6): [Return]
 
    21) Patch 0004.00 - Fix for Universal Serial Bus (USB) problems             
    22) Patch 0036.00 - Powerstorm 4D10T does not draw lines correctly          
 
 - Tru64_UNIX_V5.0 / Kernel Patches:
    23) Patch 0017.00 - Fix for kernel memory fault                             
    24) Patch 0045.00 - Fixes error in the SCSI device probe code               
    25) Patch 0048.00 - Fix for lock hierarchy violation panic                  
 
 - Tru64_UNIX_V5.0 / Network Patches:
    26) Patch 0007.00 - Fix for FDDI interface hang                             
    27) Patch 0012.00 - Fix for packetfilter problems                           
    28) Patch 0018.00 - Fix for problem that occurs when creating ATM ELANs     
    29) Patch 0024.00 - Fix for NFS V3 XDR encoding                             
    30) Patch 0030.00 - NFS server cannot handle greater than 8K I/O reqs       
 
 - Tru64_UNIX_V5.0 / Security Related Patches:
    31) Patch 0027.00 - Security (SSRT0583Z)                                    
    32) Patch 0040.00 - Security (SSRT0614U)                                    
 
--- MORE TO FOLLOW ---
Enter your choices or press RETURN to display the next screen.
 
Choices (for example, 1 2 4-6): [Return]
 
    33) Patch 0041.00 - Security (SSRT0571U)                                    
 
 - Tru64_UNIX_V5.0 / Software Development Environment Patches:
    34) Patch 0029.00 - Fix for Compaq C compiler                               
 
 - Tru64_UNIX_V5.0 / X11 Patches:
    35) Patch 0037.00 - Fix for segmentation fault on X font server (xfs)       
    36) Patch 0038.00 - Fix for problem in X Display Manager (xdm)              
 
Or you may choose one of the following options:
 
    37) ALL of the above 
    38) CANCEL selections and redisplay menus
    39) EXIT without installing any patches 
 
Enter your choices or press RETURN to redisplay menus.
 
Choices (for example, 1 2 4-6): 37
 
You are installing the following optional patches:
 
 - Tru64_UNIX_V5.0 / Commands, Shells, & Utility Patches:
        Patch 0008.00 - prof -pixie -asm command core dumps                     
        Patch 0011.00 - ld command inserts incorrect values                     
        Patch 0016.00 - Fix for stdhosts command                                
        Patch 0019.00 - C shell incorrectly handles 2-byte characters           
        Patch 0021.00 - Fix for crontab command                                 
        Patch 0022.00 - Fix for sort command                                    
        Patch 0023.00 - Fix for ksh core dump problem                           
        Patch 0028.00 - Fix for binmail                                         
        Patch 0032.00 - Fix for tar/pax program                                 
        Patch 0033.00 - Fix for vdump program dumping core                      
        Patch 0035.00 - usermod command does not allow use of commas            
        Patch 0042.00 - rc.config and rc.config.common files may be corrupt     
 
 - Tru64_UNIX_V5.0 / Common Desktop Environment (CDE) Patches:
        Patch 0039.00 - Fix for dxaccounts shared library                       
        Patch 0050.00 - Fix for dxaccounts static library                       
 
Press RETURN to display the next screen: 
 
 
 - Tru64_UNIX_V5.0 / Filesystem Patches:
        Patch 0049.00 - Fix for AdvFS system hang                               
 
 - Tru64_UNIX_V5.0 / Hardware Configuration Patches:
        Patch 0005.00 - Fix for Compaq AlphaServer problems                     
        Patch 0025.00 - Restriction lifted for AlphaServer DS20 and ES40        
        Patch 0046.00 - Fix for simple lock timeout panic                       
        Patch 0051.00 - Fix for system hang at boot time                        
 
 - Tru64_UNIX_V5.0 / I/O Device Handling Patches:
        Patch 0001.00 - Fix for KZPCM and 8952U adapters                        
        Patch 0004.00 - Fix for Universal Serial Bus (USB) problems             
        Patch 0036.00 - Powerstorm 4D10T does not draw lines correctly          
 
 - Tru64_UNIX_V5.0 / Kernel Patches:
        Patch 0017.00 - Fix for kernel memory fault                             
        Patch 0045.00 - Fixes error in the SCSI device probe code               
        Patch 0048.00 - Fix for lock hierarchy violation panic                  
 
Press RETURN to display the next screen: 
 
 
 - Tru64_UNIX_V5.0 / Network Patches:
        Patch 0007.00 - Fix for FDDI interface hang                             
        Patch 0012.00 - Fix for packetfilter problems                           
        Patch 0018.00 - Fix for problem that occurs when creating ATM ELANs     
        Patch 0024.00 - Fix for NFS V3 XDR encoding                             
        Patch 0030.00 - NFS server cannot handle greater than 8K I/O reqs       
 
 - Tru64_UNIX_V5.0 / Security Related Patches:
        Patch 0027.00 - Security (SSRT0583Z)                                    
        Patch 0040.00 - Security (SSRT0614U)                                    
        Patch 0041.00 - Security (SSRT0571U)                                    
 
 - Tru64_UNIX_V5.0 / Software Development Environment Patches:
        Patch 0029.00 - Fix for Compaq C compiler                               
 
 - Tru64_UNIX_V5.0 / X11 Patches:
        Patch 0037.00 - Fix for segmentation fault on X font server (xfs)       
        Patch 0038.00 - Fix for problem in X Display Manager (xdm)              
 
Is this correct? (y/n): y
 
Checking patch prerequisites and patch file applicability...
  (depending upon the number of patches you select, this may take a while)
-------------------------------------------------------------------------
 
Problem installing:
 
 - Tru64_UNIX_V5.0 / Commands, Shells, & Utility Patches:
        Patch 0008.00 - prof -pixie -asm command core dumps                     
 
requires the existence of the following un-installed/un-selected subset(s):
 
 - Software Development Tools and Utilities
 
This patch will not be installed. 
 
-------------------------------------------------------------------------
-------------------------------------------------------------------------
 
Problem installing:
 
 - Tru64_UNIX_V5.0 / Commands, Shells, & Utility Patches:
        Patch 0016.00 - Fix for stdhosts command                                
 
requires the existence of the following un-installed/un-selected subset(s):
 
 - Additional Networking Services
 
This patch will not be installed. 
 
-------------------------------------------------------------------------
-------------------------------------------------------------------------
 
Problem installing:
 
 - Tru64_UNIX_V5.0 / Common Desktop Environment (CDE) Patches:
        Patch 0050.00 - Fix for dxaccounts static library                       
 
requires the existence of the following un-installed/un-selected subset(s):
 
 - CDE Software Development and Programming Examples
 
This patch will not be installed. 
 
-------------------------------------------------------------------------
-------------------------------------------------------------------------
 
Problem installing:
 
 - Tru64_UNIX_V5.0 / Network Patches:
        Patch 0018.00 - Fix for problem that occurs when creating ATM ELANs     
 
requires the existence of the following un-installed/un-selected subset(s):
 
 - ATM Kernel Modules
 
This patch will not be installed. 
 
-------------------------------------------------------------------------
-------------------------------------------------------------------------
 
Problem installing:
 
 - Tru64_UNIX_V5.0 / Security Related Patches:
        Patch 0027.00 - Security (SSRT0583Z)                                    
 
requires the existence of the following un-installed/un-selected subset(s):
 
 - RAND Corp. Mail Handler (MH)
 
This patch will not be installed. 
 
-------------------------------------------------------------------------
-------------------------------------------------------------------------
 
Problem installing:
 
 - Tru64_UNIX_V5.0 / X11 Patches:
        Patch 0037.00 - Fix for segmentation fault on X font server (xfs)       
 
requires the existence of the following un-installed/un-selected subset(s):
 
 - Additional X Applications
 
This patch will not be installed. 
 
-------------------------------------------------------------------------
 
   * Following patch(es) failed in prerequisite/file applicability check:
 
 - Tru64_UNIX_V5.0 / Commands, Shells, & Utility Patches:
        Patch 0008.00 - prof -pixie -asm command core dumps                     
        Patch 0016.00 - Fix for stdhosts command                                
 
 - Tru64_UNIX_V5.0 / Common Desktop Environment (CDE) Patches:
        Patch 0050.00 - Fix for dxaccounts static library                       
 
 - Tru64_UNIX_V5.0 / Network Patches:
        Patch 0018.00 - Fix for problem that occurs when creating ATM ELANs     
 
 - Tru64_UNIX_V5.0 / Security Related Patches:
        Patch 0027.00 - Security (SSRT0583Z)                                    
 
 - Tru64_UNIX_V5.0 / X11 Patches:
        Patch 0037.00 - Fix for segmentation fault on X font server (xfs)       
 
Select the action you'd like to take:
 
    1)  proceed with the patches that passed the check
    2)  select patches again
    3)  go back to the previous menu
 
Enter your choice: 1
 
Checking patch prerequisites once more...
  (depending upon the number of patches you select, this may take a while)
 
************************** CAUTION ************************************ 
 
	Interruption of this phase of the operation will corrupt your 
	operating system software and compromise the patch database 
	integrity. 
 
	DO NOT Ctrl/C, power off your system, or in any other way 
	interrupt the patch operation. The patch operation is complete 
	when you are returned to the Patch Utility menus.
 
***********************************************************************
 
This will bring the system down to single-user mode.
Do you wish to continue? [y]: y
Shutdown at 12:27 (in 0 minutes) [pid 9389]
 
Waiting for system to go to Single-User...
 
 
 
 
	*** FINAL System shutdown message from root@cobb.unx.dec.com ***
 
 
System going down IMMEDIATELY
 
 
	... system shutting down to single user for dupatch
 
 
 
System shutdown time has arrived
 
 
=== Installing "Tru64 UNIX V5.0": 
 
Checking file system space required to install specified subsets:
 
File system space checked OK.
 
30 subset(s) will be installed.
 
Loading subset 1 of 30 ...
 
Patch: Fix for packetfilter problems
   Copying from /usr/patch/patch_kit/Tru64_UNIX_V5.0/kit (disk)
   Verifying
 
Loading subset 2 of 30 ...
 
Patch: Fix for kernel memory fault
   Copying from /usr/patch/patch_kit/Tru64_UNIX_V5.0/kit (disk)
   Verifying
 
Loading subset 3 of 30 ...
 
Patch: Fix for tar/pax program
   Copying from /usr/patch/patch_kit/Tru64_UNIX_V5.0/kit (disk)
   Verifying
 
Loading subset 4 of 30 ...
 
Patch: Fix for vdump program dumping core
   Copying from /usr/patch/patch_kit/Tru64_UNIX_V5.0/kit (disk)
   Verifying
 
Loading subset 5 of 30 ...
 
Patch: Fixes error in the SCSI device probe code
   Copying from /usr/patch/patch_kit/Tru64_UNIX_V5.0/kit (disk)
   Verifying
 
Loading subset 6 of 30 ...
 
Patch: Fix for simple lock timeout panic
   Copying from /usr/patch/patch_kit/Tru64_UNIX_V5.0/kit (disk)
   Verifying
 
Loading subset 7 of 30 ...
 
Patch: Powerstorm 4D10T does not draw lines correctly
   Copying from /usr/patch/patch_kit/Tru64_UNIX_V5.0/kit (disk)
   Verifying
 
Loading subset 8 of 30 ...
 
Patch: Fix for problem in X Display Manager (xdm)
   Copying from /usr/patch/patch_kit/Tru64_UNIX_V5.0/kit (disk)
   Verifying
 
Loading subset 9 of 30 ...
 
Patch: Restriction lifted for AlphaServer DS20 and ES40
   Copying from /usr/patch/patch_kit/Tru64_UNIX_V5.0/kit (disk)
   Verifying
 
Loading subset 10 of 30 ...
 
Patch: Fix for binmail
   Copying from /usr/patch/patch_kit/Tru64_UNIX_V5.0/kit (disk)
   Verifying
 
Loading subset 11 of 30 ...
 
Patch: Fix for Compaq C compiler
   Copying from /usr/patch/patch_kit/Tru64_UNIX_V5.0/kit (disk)
   Verifying
 
Loading subset 12 of 30 ...
 
Patch: NFS server cannot handle greater than 8K I/O reqs
   Copying from /usr/patch/patch_kit/Tru64_UNIX_V5.0/kit (disk)
	Working....Tue Feb 1 12:31:01 EDT 2000
   Verifying
 
Loading subset 13 of 30 ...
 
Patch: Fix for system hang at boot time
   Copying from /usr/patch/patch_kit/Tru64_UNIX_V5.0/kit (disk)
   Verifying
 
Loading subset 14 of 30 ...
 
Patch: Fix for lock hierarchy violation panic
   Copying from /usr/patch/patch_kit/Tru64_UNIX_V5.0/kit (disk)
   Verifying
 
Loading subset 15 of 30 ...
 
Patch: Fix for AdvFS system hang
   Copying from /usr/patch/patch_kit/Tru64_UNIX_V5.0/kit (disk)
   Verifying
 
Loading subset 16 of 30 ...
 
Patch: Security (SSRT0614U)
   Copying from /usr/patch/patch_kit/Tru64_UNIX_V5.0/kit (disk)
   Verifying
 
Loading subset 17 of 30 ...
 
Patch: usermod command does not allow use of commas
   Copying from /usr/patch/patch_kit/Tru64_UNIX_V5.0/kit (disk)
   Verifying
 
Loading subset 18 of 30 ...
 
Patch: Security (SSRT0571U)
   Copying from /usr/patch/patch_kit/Tru64_UNIX_V5.0/kit (disk)
   Verifying
 
Loading subset 19 of 30 ...
 
Patch: Fix for dxaccounts shared library
   Copying from /usr/patch/patch_kit/Tru64_UNIX_V5.0/kit (disk)
   Verifying
 
Loading subset 20 of 30 ...
 
Patch: rc.config and rc.config.common files may be corrupt
   Copying from /usr/patch/patch_kit/Tru64_UNIX_V5.0/kit (disk)
   Verifying
 
Loading subset 21 of 30 ...
 
Patch: Fix for KZPCM and 8952U adapters
   Copying from /usr/patch/patch_kit/Tru64_UNIX_V5.0/kit (disk)
   Verifying
 
Loading subset 22 of 30 ...
 
Patch: Fix for Universal Serial Bus (USB) problems
   Copying from /usr/patch/patch_kit/Tru64_UNIX_V5.0/kit (disk)
   Verifying
 
Loading subset 23 of 30 ...
 
Patch: Fix for Compaq AlphaServer problems
   Copying from /usr/patch/patch_kit/Tru64_UNIX_V5.0/kit (disk)
   Verifying
 
Loading subset 24 of 30 ...
 
Patch: Fix for FDDI interface hang
   Copying from /usr/patch/patch_kit/Tru64_UNIX_V5.0/kit (disk)
   Verifying
 
Loading subset 25 of 30 ...
 
Patch: C shell incorrectly handles 2-byte characters
   Copying from /usr/patch/patch_kit/Tru64_UNIX_V5.0/kit (disk)
   Verifying
 
Loading subset 26 of 30 ...
 
Patch: Fix for sort command
   Copying from /usr/patch/patch_kit/Tru64_UNIX_V5.0/kit (disk)
   Verifying
 
Loading subset 27 of 30 ...
 
Patch: Fix for crontab command
   Copying from /usr/patch/patch_kit/Tru64_UNIX_V5.0/kit (disk)
   Verifying
 
Loading subset 28 of 30 ...
 
Patch: Fix for ksh core dump problem
   Copying from /usr/patch/patch_kit/Tru64_UNIX_V5.0/kit (disk)
   Verifying
 
Loading subset 29 of 30 ...
 
Patch: Fix for NFS V3 XDR encoding
   Copying from /usr/patch/patch_kit/Tru64_UNIX_V5.0/kit (disk)
   Verifying
 
Loading subset 30 of 30 ...
 
Patch: ld command inserts incorrect values
   Copying from /usr/patch/patch_kit/Tru64_UNIX_V5.0/kit (disk)
   Verifying
 
30 of 30 subset(s) installed successfully.
 
 
Configuring "Patch: Fix for packetfilter problems" (OSFPAT00001200500)
 
Configuring "Patch: Fix for kernel memory fault" (OSFPAT00001700500)
 
Configuring "Patch: Fix for tar/pax program" (OSFPAT00003200500)
 
Configuring "Patch: Fix for vdump program dumping core" (OSFPAT00003300500)
 
Configuring "Patch: Fixes error in the SCSI device probe code" (OSFPAT00004500500)
 
Configuring "Patch: Fix for simple lock timeout panic" (OSFPAT00004600500)
 
Configuring "Patch: Powerstorm 4D10T does not draw lines correctly" (OSFPAT00003600500)
 
Configuring "Patch: Fix for problem in X Display Manager (xdm)" (OSFPAT00003800500)
 
Configuring "Patch: Restriction lifted for AlphaServer DS20 and ES40" (OSFPAT00002500500)
 
Configuring "Patch: Fix for binmail" (OSFPAT00002800500)
 
Configuring "Patch: Fix for Compaq C compiler" (OSFPAT00002900500)
 
Configuring "Patch: NFS server cannot handle greater than 8K I/O reqs" (OSFPAT00003000500)
 
Configuring "Patch: Fix for system hang at boot time" (OSFPAT00005100500)
 
Configuring "Patch: Fix for lock hierarchy violation panic" (OSFPAT00004800500)
 
Configuring "Patch: Fix for AdvFS system hang" (OSFPAT00004900500)
 
Configuring "Patch: Security (SSRT0614U)" (OSFPAT00004000500)
 
Configuring "Patch: usermod command does not allow use of commas" (OSFPAT00003500500)
 
Configuring "Patch: Security (SSRT0571U)" (OSFPAT00004100500)
 
Configuring "Patch: Fix for dxaccounts shared library" (OSFPAT00003900500)
 
Configuring "Patch: rc.config and rc.config.common files may be corrupt" (OSFPAT00004200500)
 
Configuring "Patch: Fix for KZPCM and 8952U adapters" (OSFPAT00000100500)
 
Configuring "Patch: Fix for Universal Serial Bus (USB) problems" (OSFPAT00000400500)
 
Configuring "Patch: Fix for Compaq AlphaServer problems" (OSFPAT00000500500)
 
Configuring "Patch: Fix for FDDI interface hang" (OSFPAT00000700500)
 
Configuring "Patch: C shell incorrectly handles 2-byte characters" (OSFPAT00001900500)
 
Configuring "Patch: Fix for sort command" (OSFPAT00002200500)
 
Configuring "Patch: Fix for crontab command" (OSFPAT00002100500)
 
Configuring "Patch: Fix for ksh core dump problem" (OSFPAT00002300500)
 
Configuring "Patch: Fix for NFS V3 XDR encoding" (OSFPAT00002400500)
 
Configuring "Patch: ld command inserts incorrect values" (OSFPAT00001100500)
 
Do you have a custom configuration file? [y]: [Return]
Enter the name of the configuration file or press RETURN for default: [Return]
 
*** KERNEL CONFIGURATION AND BUILD PROCEDURE ***
 
Enter a name for the kernel configuration file. [COBB]: [Return]
 
A configuration file with the name 'COBB' already exists.
Do you want to replace it? (y/n) [n]: y
 
Saving /sys/conf/COBB as /sys/conf/COBB.bck
 
 
*** KERNEL OPTION SELECTION ***
 
    Selection   Kernel Option
--------------------------------------------------------------
	1	System V Devices
	2	NTP V3 Kernel Phase Lock Loop (NTP_TIME)
	3	Kernel Breakpoint Debugger (KDEBUG)
	4	Packetfilter driver (PACKETFILTER)
	5	Point-to-Point Protocol (PPP)
	6	STREAMS pckt module (PCKT)
	7	Data Link Bridge (DLPI V2.0 Service Class 1)
	8	X/Open Transport Interface (XTISO, TIMOD, TIRDWR)
	9	ISO 9660 Compact Disc File System (CDFS)
	10	Audit Subsystem
	11	All of the above
	12	None of the above
	13	Help
	14	Display all options again
--------------------------------------------------------------
 
Enter your choices.
 
Choices (for example, 1 2 4-6) [12]: [Return]
 
You do not want to select any kernel options.
Is that correct? (y/n) [y]: [Return]
 
Do you want to edit the configuration file? (y/n) [n]: [Return]
 
 
*** PERFORMING KERNEL BUILD ***
 
A log file listing special device files is located in /dev/MAKEDEV.log
	Working....Tue Feb 1 12:37:48 EDT 2000
	Working....Tue Feb 1 12:39:51 EDT 2000
 
The new kernel is /sys/COBB/vmunix
A reboot is necessary to complete the patch installation. Do
you want to reboot now? [y/n] [y]: [Return]
 
 

5.2    Sample 2: Viewing the Patch Documentation

The example in this section shows how to use dupatch to view the documentation included in the patch kits.

# dupatch
 
Tue Feb 4 18:06:31 EDT 2000
DUPATCH_REV>26-03
 
DIGITAL UNIX Patch Utility (Rev. 26-03)
==========================
	- This dupatch session is logged in //var/adm/patch/log/session.log
 
    Main Menu:
    ---------
 
    1)  Patch Installation
    2)  Patch Deletion
 
    3)  Patch Documentation
    4)  Patch Tracking
 
    5)  Patch Baseline Analysis/Adjustment
 
    h)  Help on Command Line Interface
 
    q)  Quit
 
Enter your choice: 3
 
DIGITAL UNIX Patch Utility (Rev. 26-03)
==========================
	- This dupatch session is logged in //var/adm/patch/log/session.log
 
    Patch Documentation Menu:
    ------------------------
 
    1)  View abstracts of installed patches on your system
    2)  View abstracts of patches on the patch kit
 
    3)  View READMEs of installed patches on your system
    4)  View READMEs of patches on the patch kit
 
    5)  View special instructions for installed patches on your system
    6)  View special instructions for patches on the patch kit
 
    7)  View all patch abstracts on your system
    8)  View all patch READMEs on your system
    9)  View all patch special instructions on your system
 
    b)  Back to Main Menu
    q)  Quit
 
Enter your choice: 2
 
Enter path to the top of the patch distribution, 
or enter "q" to get back to the menu : .
 
     There may be more patches than can be presented on a single
     screen. If this is the case, you can choose patches screen by screen
     or all at once on the last screen. All of the choices you make will
     be collected for your confirmation before any patches are examined.
 
 - Tru64_UNIX_V5.0 / Commands, Shells, & Utility Patches:
     1) Patch 0008.00 - prof -pixie -asm command core dumps                     
     2) Patch 0011.00 - ld command inserts incorrect values                     
     3) Patch 0016.00 - Fix for stdhosts command                                
     4) Patch 0019.00 - C shell incorrectly handles 2-byte characters           
     5) Patch 0021.00 - Fix for crontab command                                 
     6) Patch 0022.00 - Fix for sort command                                    
     7) Patch 0023.00 - Fix for ksh core dump problem                           
     8) Patch 0028.00 - Fix for binmail                                         
     9) Patch 0032.00 - Fix for tar/pax program                                 
    10) Patch 0033.00 - Fix for vdump program dumping core                      
    11) Patch 0035.00 - usermod command does not allow use of commas            
    12) Patch 0042.00 - rc.config and rc.config.common files may be corrupt     
 
--- MORE TO FOLLOW ---
Enter your choices or press RETURN to display the next screen.
 
Choices (for example, 1 2 4-6): [Return]
 
 
 - Tru64_UNIX_V5.0 / Common Desktop Environment (CDE) Patches:
    13) Patch 0039.00 - Fix for dxaccounts shared library                       
    14) Patch 0050.00 - Fix for dxaccounts static library                       
 
 - Tru64_UNIX_V5.0 / Filesystem Patches:
    15) Patch 0049.00 - Fix for AdvFS system hang                               
 
 - Tru64_UNIX_V5.0 / Hardware Configuration Patches:
    16) Patch 0005.00 - Fix for Compaq AlphaServer problems                     
    17) Patch 0025.00 - Restriction lifted for AlphaServer DS20 and ES40        
    18) Patch 0046.00 - Fix for simple lock timeout panic                       
    19) Patch 0051.00 - Fix for system hang at boot time                        
 
 - Tru64_UNIX_V5.0 / I/O Device Handling Patches:
    20) Patch 0001.00 - Fix for KZPCM and 8952U adapters                        
    21) Patch 0004.00 - Fix for Universal Serial Bus (USB) problems             
    22) Patch 0036.00 - Powerstorm 4D10T does not draw lines correctly          
 
--- MORE TO FOLLOW ---
Enter your choices or press RETURN to display the next screen.
 
Choices (for example, 1 2 4-6): [Return]
 
 
 - Tru64_UNIX_V5.0 / Kernel Patches:
    23) Patch 0017.00 - Fix for kernel memory fault                             
    24) Patch 0045.00 - Fixes error in the SCSI device probe code               
    25) Patch 0048.00 - Fix for lock hierarchy violation panic                  
 
 - Tru64_UNIX_V5.0 / Network Patches:
    26) Patch 0007.00 - Fix for FDDI interface hang                             
    27) Patch 0012.00 - Fix for packetfilter problems                           
    28) Patch 0018.00 - Fix for problem that occurs when creating ATM ELANs     
    29) Patch 0024.00 - Fix for NFS V3 XDR encoding                             
    30) Patch 0030.00 - NFS server cannot handle greater than 8K I/O reqs       
 
 - Tru64_UNIX_V5.0 / Security Related Patches:
    31) Patch 0027.00 - Security (SSRT0583Z)                                    
    32) Patch 0040.00 - Security (SSRT0614U)                                    
    33) Patch 0041.00 - Security (SSRT0571U)                                    
 
--- MORE TO FOLLOW ---
Enter your choices or press RETURN to display the next screen.
 
Choices (for example, 1 2 4-6): [Return]
 
 
 - Tru64_UNIX_V5.0 / Software Development Environment Patches:
    34) Patch 0029.00 - Fix for Compaq C compiler                               
 
 - Tru64_UNIX_V5.0 / X11 Patches:
    35) Patch 0037.00 - Fix for segmentation fault on X font server (xfs)       
    36) Patch 0038.00 - Fix for problem in X Display Manager (xdm)              
 
Or you may choose one of the following options:
 
    37) ALL of the above 
    38) CANCEL selections and redisplay menus
    39) EXIT without examining any patches 
 
Enter your choices or press RETURN to redisplay menus.
 
Choices (for example, 1 2 4-6): 2-6,9
 
You are examining the following patches:
 
 - Tru64_UNIX_V5.0 / Commands, Shells, & Utility Patches:
        Patch 0011.00 - ld command inserts incorrect values                     
        Patch 0016.00 - Fix for stdhosts command                                
        Patch 0019.00 - C shell incorrectly handles 2-byte characters           
        Patch 0021.00 - Fix for crontab command                                 
        Patch 0022.00 - Fix for sort command                                    
        Patch 0032.00 - Fix for tar/pax program                                 
 
Is this correct? (y/n): y
 
=========================================================================
 
 - Tru64_UNIX_V5.0 / Commands, Shells, & Utility Patches:
        Patch 0011.00 - ld command inserts incorrect values                     
 
 
This patch corrects the following:
 
- Fixes a problem where the linker (ld) would insert incorrect values for
the symbols etext and _etext when building kernels larger than 4 MB.
 
 
 
=========================================================================
 
 - Tru64_UNIX_V5.0 / Commands, Shells, & Utility Patches:
        Patch 0016.00 - Fix for stdhosts command                                
 
 
This patch corrects the following:
 
----------------------------------------
Press <RETURN> to continue viewing: 
----------------------------------------
 
 
- Fixes a problem with the stdhosts command when the file processed has
lines longer than 256 characters.  The error message
 
   stdhost:malformed line "ignored"
 
is displayed.
 
 
 
=========================================================================
 
 - Tru64_UNIX_V5.0 / Commands, Shells, & Utility Patches:
        Patch 0019.00 - C shell incorrectly handles 2-byte characters           
 
 
This patch corrects the following:
 
- Corrects how the C shell handles 2-byte characters when running in the
Japanese SJIS locale.
 
 
 
----------------------------------------
Press <RETURN> to continue viewing: 
----------------------------------------
 
 
=========================================================================
 
 - Tru64_UNIX_V5.0 / Commands, Shells, & Utility Patches:
        Patch 0021.00 - Fix for crontab command                                 
 
 
This patch corrects the following:
 
- Fixes a problem with crontab in which, when root runs 'crontab -e user',
the user's crontab file is edited and saved, but isn't re-read by the
cron daemon.  Instead root's crontab file is re-read.
 
 
=========================================================================
 
 - Tru64_UNIX_V5.0 / Commands, Shells, & Utility Patches:
        Patch 0022.00 - Fix for sort command                                    
 
 
This patch corrects the following:
 
 
----------------------------------------
Press <RETURN> to continue viewing: 
----------------------------------------
 
- Fixes a problem in which "sort -i a_file >b_file" aborts with
message "A line of the input file contains more than 20480 characters."
when LANG = da_DK.ISO8859-1.
 
 
=========================================================================
 
 - Tru64_UNIX_V5.0 / Commands, Shells, & Utility Patches:
        Patch 0032.00 - Fix for tar/pax program                                 
 
 
This patch corrects the following:
 
- The tar/pax program did not always read the last tape record of an
archive.  This caused confusion for scripts that were reading a series
of archives on the no-rewind device.
 
 
 
Press RETURN to proceed...
 
DIGITAL UNIX Patch Utility (Rev. 26-03)
==========================
	- This dupatch session is logged in //var/adm/patch/log/session.log
 
    Patch Documentation Menu:
    ------------------------
 
    1)  View abstracts of installed patches on your system
    2)  View abstracts of patches on the patch kit
 
    3)  View READMEs of installed patches on your system
    4)  View READMEs of patches on the patch kit
 
    5)  View special instructions for installed patches on your system
    6)  View special instructions for patches on the patch kit
 
    7)  View all patch abstracts on your system
    8)  View all patch READMEs on your system
    9)  View all patch special instructions on your system
 
    b)  Back to Main Menu
    q)  Quit
 
Enter your choice: q
 

5.3    Sample 3: Tracking Patches

The example in this section shows how to use dupatch to track patches.

# dupatch
 
Fri Feb 4 18:09:42 EDT 2000
DUPATCH_REV>26-03
 
DIGITAL UNIX Patch Utility (Rev. 26-03)
==========================
	- This dupatch session is logged in //var/adm/patch/log/session.log
 
    Main Menu:
    ---------
 
    1)  Patch Installation
    2)  Patch Deletion
 
    3)  Patch Documentation
    4)  Patch Tracking
 
    5)  Patch Baseline Analysis/Adjustment
 
    h)  Help on Command Line Interface
 
    q)  Quit
 
Enter your choice: 4
 
DIGITAL UNIX Patch Utility (Rev. 26-03)
==========================
	- This dupatch session is logged in //var/adm/patch/log/session.log
 
    Patch Tracking Menu:
    -------------------
 
    1)  List installed patches
    2)  List installed patch files
    3)  List patch kit information on installed patches
 
    b)  Back to Main Menu
    q)  Quit
 
Enter your choice: 1
 
	Patches installed on the system:
	-------------------------------
  (depending upon the number of patches you installed, this may take a while)
 
 - Tru64_UNIX_V5.0 / Commands, Shells, & Utility Patches:
        Patch 0011.00 - ld command inserts incorrect values                     
        Patch 0019.00 - C shell incorrectly handles 2-byte characters           
        Patch 0021.00 - Fix for crontab command                                 
        Patch 0022.00 - Fix for sort command                                    
        Patch 0023.00 - Fix for ksh core dump problem                           
        Patch 0028.00 - Fix for binmail                                         
        Patch 0032.00 - Fix for tar/pax program                                 
        Patch 0035.00 - usermod command does not allow use of commas            
        Patch 0042.00 - rc.config and rc.config.common files may be corrupt     
 
 - Tru64_UNIX_V5.0 / Common Desktop Environment (CDE) Patches:
        Patch 0039.00 - Fix for dxaccounts shared library                       
 
 - Tru64_UNIX_V5.0 / Filesystem Patches:
        Patch 0049.00 - Fix for AdvFS system hang                               
 
 - Tru64_UNIX_V5.0 / Hardware Configuration Patches:
        Patch 0005.00 - Fix for Compaq AlphaServer problems                     
        Patch 0025.00 - Restriction lifted for AlphaServer DS20 and ES40        
 
Press RETURN to display the next screen: 
 
        Patch 0046.00 - Fix for simple lock timeout panic                       
        Patch 0051.00 - Fix for system hang at boot time                        
 
 - Tru64_UNIX_V5.0 / I/O Device Handling Patches:
        Patch 0001.00 - Fix for KZPCM and 8952U adapters                        
        Patch 0004.00 - Fix for Universal Serial Bus (USB) problems             
        Patch 0036.00 - Powerstorm 4D10T does not draw lines correctly          
 
 - Tru64_UNIX_V5.0 / Kernel Patches:
        Patch 0017.00 - Fix for kernel memory fault                             
        Patch 0045.00 - Fixes error in the SCSI device probe code               
        Patch 0048.00 - Fix for lock hierarchy violation panic                  
 
 - Tru64_UNIX_V5.0 / Network Patches:
        Patch 0007.00 - Fix for FDDI interface hang                             
        Patch 0012.00 - Fix for packetfilter problems                           
        Patch 0024.00 - Fix for NFS V3 XDR encoding                             
        Patch 0030.00 - NFS server cannot handle greater than 8K I/O reqs       
 
Press RETURN to display the next screen: 
 
 
 - Tru64_UNIX_V5.0 / Security Related Patches:
        Patch 0040.00 - Security (SSRT0614U)                                    
        Patch 0041.00 - Security (SSRT0571U)                                    
 
 - Tru64_UNIX_V5.0 / Software Development Environment Patches:
        Patch 0029.00 - Fix for Compaq C compiler                               
 
 - Tru64_UNIX_V5.0 / X11 Patches:
        Patch 0038.00 - Fix for problem in X Display Manager (xdm)              
 
Press RETURN to get back to the Patch Tracking Menu...
 
DIGITAL UNIX Patch Utility (Rev. 26-03)
==========================
	- This dupatch session is logged in //var/adm/patch/log/session.log
 
    Patch Tracking Menu:
    -------------------
 
    1)  List installed patches
    2)  List installed patch files
    3)  List patch kit information on installed patches
 
    b)  Back to Main Menu
    q)  Quit
 
Enter your choice: 2
 
	The list of all patched files on your system:
	--------------------------------------------
  (depending upon the number of patches you installed, this may take a while)
 
./genvmunix	(Tru64_UNIX_V5.0 Patch 0030.00)
./sbin/cpio	(Tru64_UNIX_V5.0 Patch 0032.00)
./sbin/mount	(Tru64_UNIX_V5.0 Patch 0048.00)
./sbin/pax	(Tru64_UNIX_V5.0 Patch 0032.00)
./sbin/sort	(Tru64_UNIX_V5.0 Patch 0022.00)
./sbin/tar	(Tru64_UNIX_V5.0 Patch 0032.00)
./sys/BINARY/advfs.mod	(Tru64_UNIX_V5.0 Patch 0049.00)
./sys/BINARY/arch_alphapmap.mod	(Tru64_UNIX_V5.0 Patch 0048.00)
./sys/BINARY/cam.mod	(Tru64_UNIX_V5.0 Patch 0045.00)
./sys/BINARY/cam_disk.mod	(Tru64_UNIX_V5.0 Patch 0051.00)
./sys/BINARY/fta.mod	(Tru64_UNIX_V5.0 Patch 0007.00)
./sys/BINARY/gwscreen.mod	(Tru64_UNIX_V5.0 Patch 0017.00)
./sys/BINARY/hwc.mod	(Tru64_UNIX_V5.0 Patch 0051.00)
./sys/BINARY/inet.mod	(Tru64_UNIX_V5.0 Patch 0017.00)
./sys/BINARY/itpsa.mod	(Tru64_UNIX_V5.0 Patch 0001.00)
./sys/BINARY/kds.mod	(Tru64_UNIX_V5.0 Patch 0030.00)
./sys/BINARY/kn600.mod	(Tru64_UNIX_V5.0 Patch 0005.00)
./sys/BINARY/kn8ae.mod	(Tru64_UNIX_V5.0 Patch 0046.00)
./sys/BINARY/nfs.mod	(Tru64_UNIX_V5.0 Patch 0030.00)
./sys/BINARY/nfs_server.mod	(Tru64_UNIX_V5.0 Patch 0024.00)
./sys/BINARY/packetfilter.mod	(Tru64_UNIX_V5.0 Patch 0012.00)
 
----------------------------------------
Press <RETURN> to continue viewing: 
----------------------------------------
 
./sys/BINARY/std_kern.mod	(Tru64_UNIX_V5.0 Patch 0048.00)
./sys/BINARY/ufs.mod	(Tru64_UNIX_V5.0 Patch 0048.00)
./sys/BINARY/usb.mod	(Tru64_UNIX_V5.0 Patch 0004.00)
./sys/BINARY/usb_hid.mod	(Tru64_UNIX_V5.0 Patch 0004.00)
./sys/BINARY/usb_hub.mod	(Tru64_UNIX_V5.0 Patch 0004.00)
./sys/BINARY/usb_keyboard.mod	(Tru64_UNIX_V5.0 Patch 0004.00)
./sys/BINARY/usb_mouse.mod	(Tru64_UNIX_V5.0 Patch 0004.00)
./sys/BINARY/usb_ohci.mod	(Tru64_UNIX_V5.0 Patch 0004.00)
./sys/BINARY/vfs.mod	(Tru64_UNIX_V5.0 Patch 0048.00)
./sys/BINARY/vm.mod	(Tru64_UNIX_V5.0 Patch 0048.00)
./usr/bin/X11/xdm	(Tru64_UNIX_V5.0 Patch 0038.00)
./usr/bin/binmail	(Tru64_UNIX_V5.0 Patch 0028.00)
./usr/bin/cpio	(Tru64_UNIX_V5.0 Patch 0032.00)
./usr/bin/crontab	(Tru64_UNIX_V5.0 Patch 0021.00)
./usr/bin/csh	(Tru64_UNIX_V5.0 Patch 0019.00)
./usr/bin/ksh	(Tru64_UNIX_V5.0 Patch 0023.00)
./usr/bin/mail	(Tru64_UNIX_V5.0 Patch 0028.00)
./usr/bin/pax	(Tru64_UNIX_V5.0 Patch 0032.00)
./usr/bin/posix/sh	(Tru64_UNIX_V5.0 Patch 0023.00)
./usr/bin/sort	(Tru64_UNIX_V5.0 Patch 0022.00)
./usr/bin/tar	(Tru64_UNIX_V5.0 Patch 0032.00)
./usr/ccs/lib/cmplrs/cc/gemc_cc	(Tru64_UNIX_V5.0 Patch 0029.00)
 
----------------------------------------
Press <RETURN> to continue viewing: 
----------------------------------------
 
./usr/ccs/lib/cmplrs/cc/ld	(Tru64_UNIX_V5.0 Patch 0011.00)
./usr/dt/bin/rpc.cmsd	(Tru64_UNIX_V5.0 Patch 0040.00)
./usr/dt/lib/libDtMail.so	(Tru64_UNIX_V5.0 Patch 0041.00)
./usr/dt/lib/libDtWidget.so	(Tru64_UNIX_V5.0 Patch 0039.00)
./usr/sbin/mount	(Tru64_UNIX_V5.0 Patch 0048.00)
./usr/sbin/rcmgr	(Tru64_UNIX_V5.0 Patch 0042.00)
./usr/sbin/sizer	(Tru64_UNIX_V5.0 Patch 0025.00)
./usr/shlib/X11/lib_dec_comet.so	(Tru64_UNIX_V5.0 Patch 0036.00)
./usr/shlib/libaccmgr.so	(Tru64_UNIX_V5.0 Patch 0035.00)
./usr/sys/include/io/dec/usb/usb.h	(Tru64_UNIX_V5.0 Patch 0004.00)
./usr/sys/include/io/dec/usb/usb_debug.h	(Tru64_UNIX_V5.0 Patch 0004.00)
./usr/sys/include/io/dec/usb/usb_hid.h	(Tru64_UNIX_V5.0 Patch 0004.00)
./usr/sys/include/io/dec/usb/usb_ohci.h	(Tru64_UNIX_V5.0 Patch 0004.00)
./usr/sys/include/io/dec/usb/usbd.h	(Tru64_UNIX_V5.0 Patch 0004.00)
./usr/sys/include/io/dec/usb/usbdi.h	(Tru64_UNIX_V5.0 Patch 0004.00)
./usr/sys/include/io/dec/usb/usbdi_os.h	(Tru64_UNIX_V5.0 Patch 0004.00)
./usr/sys/include/sys/mount.h	(Tru64_UNIX_V5.0 Patch 0048.00)
./usr/sys/include/ufs/ufsmount.h	(Tru64_UNIX_V5.0 Patch 0048.00)
./usr/sys/kern/lockinfo.c	(Tru64_UNIX_V5.0 Patch 0004.00)
 
Press RETURN to get back to the Patch Tracking Menu...
 
DIGITAL UNIX Patch Utility (Rev. 26-03)
==========================
	- This dupatch session is logged in //var/adm/patch/log/session.log
 
    Patch Tracking Menu:
    -------------------
 
    1)  List installed patches
    2)  List installed patch files
    3)  List patch kit information on installed patches
 
    b)  Back to Main Menu
    q)  Quit
 
Enter your choice: q
 

5.4    Sample 4: Gathering Baseline Information

The example in this section shows how to use dupatch to perform a patch baseline analysis. You can perform this operation in either single-user or multiuser modes.

# dupatch
Fri Feb 4 18:09:42 EDT 2000
DUPATCH_REV>26-03
 
DIGITAL UNIX Patch Utility (Rev. 26-03)
==========================
	- This dupatch session is logged in //var/adm/patch/log/session.log
 
    Main Menu:
    ---------
 
    1)  Patch Installation
    2)  Patch Deletion
 
    3)  Patch Documentation
    4)  Patch Tracking
 
    5)  Patch Baseline Analysis/Adjustment
 
    h)  Help on Command Line Interface
 
    q)  Quit
 
Enter your choice: 5
 
Patch Baseline Analysis and Adjustment
======================================
 
This section of the patch management utility does not actually install
patches. It is an enabler and need only be used to baseline your
system for routine use of setld-based patch kits. It is recommended that
you read the release notes accompanying this kit, prior to continuing.
 
It is specifically designed to provide continuity from an environment with
manually installed operating system patches to one that can be managed
using the standard 'setld' installation technology.
 
This baselining is broken into phases that assess and report the state of
your operating system files. It will only make changes to your system with
your confirmation.
 
    Phase 1 - System Evaluation
 
        Where possible, this phase determines the origin of changed operating
	system files and detects formally released official patches that were
 
----------------------------------------
Press <RETURN> to continue viewing: 
----------------------------------------
 
	manually installed.
 
    Phase 2 - Report patches with inter-product inventory conflicts
 
	Some layered products ship operating system files or files delivered
	by other layered products.  If you have any of these layered products
	installed on your system and the patch kit happens to contain those
	files with inventory conflicts, the Patch Utility will block the 
	installation of the patches containing inventory conflicts since it 
	may corrupt the layered product operation.	
 
    Phase 3 - Create installation records for manually-installed patches
 
	During this phase, you will be shown a list of patches that match
	the files on your system, but are not marked as 'installed'.  You will 
	be offered an opportunity to mark these patches as 'installed'.  This 
	involves copying valid 'setld' database information to your system.
 
    Phase 4 - Report changed system files
 
        This phase provides information to help you make choices later in 
	this process.  It reports both 'missing' and files whose origin
	cannot be determined.  Some of these files may affect patch 
	installation.  You will want to consider this information when you 
	later make decisions in phase 5.
 
    Phase 5 - Enable patches with file applicability conflicts
 
	This phase allows you to enable subsequent installation of patches 
	whose inventory does not match the installed system.  This occurs 
	when: 
 
		1) System files changed and the origin of that 
		   change cannot be determined, or 
		2) The changed files can only be traced back to 
		   previous manual patches, or
		3) The original file to be patched is missing 
		   from the system, or
		4) Hard links to files about to be patched are broken
 
        It is recommended that you do not enable the installation of these 
        patches, if any, until you have tracked down the origin of the 
	files that are in conflict, or you may compromise the integrity of 
	your operating system.   
 
----------------------------------------
Press <RETURN> to continue viewing: 
----------------------------------------
 
 
        To assist you in this effort, the file list for the entire patch 
        with the known information will be displayed. You may run through 
	this phase to get the analysis without enabling the installation 
	of any of the listed patches.
 
        It is recommended that you backup your operating system prior to 
	the actual patch installation.
 
Do you want to proceed with the analysis and adjustment? [y/n]:y
 
    - This Patch Baseline Analysis/Adjustment session is logged in:
		    //var/adm/patch/log/baseline.log
 
KITNAME><DUV50AS0001-19991008> OSF500
 
Phase 1 - System Evaluation
===========================
 
    This evaluation compares the contents of your patch kit to the
    state of files already installed on your system regardless of their
    origin.
 
    The amount of time needed to complete this phase can vary greatly
    depending on the size of the patch kit, the version of the Operating
    System, and the performance of the system.
 
    * system evaluation completed.
      --------------------------- 
 
    Press RETURN to proceed to the next phase...
 
Phase 2 - Report patches with inter-product inventory conflicts 
===============================================================
 
    Some layered products replace files delivered in the original Operating 
    System inventory or other layered products' inventory.  The Patch Utility 
    will block installation of those patches with inventory conflicts since 
    they could compromise the integrity of the layered products.
 
    * no inter-product inventory conflicts detected.
      --------------------------------------------- 
 
    Press RETURN to proceed to the next phase...
 
Phase 3 - Create installation records for manually installed patches
====================================================================
 
    You can choose to copy valid installation records to your system for
    the following patches, if any.  This will allow future management and
    reporting for patches to your operating system.
 
    Creating installation records is intended to establish a baseline to
    which future patches might be applied.  Future patch removal may
    only ever occur to this baseline. 
 
    * no manually installed patches detected.
      -------------------------------------- 
 
    Press RETURN to proceed to the next phase...
 
Phase 4 - Report changed system files and missing files
=======================================================
 
    This phase provides information to help you make choices later in 
    this process.  It reports both 'missing' and files whose origin
    cannot be determined.  Some of these files may affect patch 
    installation.  You will want to consider this information when you 
    later make decisions in phase 5.
 
     * no changed files detected
      ------------------------- 
 
    Press RETURN to proceed to the next phase...
 
Phase 5 - Enable patches with file applicability conflicts
==========================================================
 
    You will be shown a list of patches, if any, and their files. 
    Patches show up during this phase when: 
 
	1) System files changed and the origin of that change cannot 
	   be determined, or 
	2) The changed files can only be traced back to previous 
	   manual patches, or
	3) The file to be patched is missing from the system, or
	4) Hard links to files about to be patched are broken
 
    After reviewing this section, you can elect to enable the installation
    of these patches using a standard selection menu. Enabling a patch
    means that the checks for patch file applicability, done during patch 
    installation, will be bypassed if you later choose to install that 
    patch through the installation section of dupatch.
 
    It is recommended that you understand the origin of the listed files
    before enabling a patch for installation. 
 
    * no patches with file applicability conflicts detected.
      ----------------------------------------------------- 
 
* Baseline Analysis/Adjustment process completed.
  ==============================================
 
Press RETURN to get back to the Main Menu...
 
DIGITAL UNIX Patch Utility (Rev. 26-03)
==========================
	- This dupatch session is logged in //var/adm/patch/log/session.log
 
    Main Menu:
    ---------
 
    1)  Patch Installation
    2)  Patch Deletion
 
    3)  Patch Documentation
    4)  Patch Tracking
 
    5)  Patch Baseline Analysis/Adjustment
 
    h)  Help on Command Line Interface
 
    q)  Quit
 
Enter your choice: 1
 
DIGITAL UNIX Patch Utility (Rev. 26-03)
==========================
	- This dupatch session is logged in //var/adm/patch/log/session.log
 
    Patch Installation Menu:
    -----------------------
 
    1)  Pre-Installation Check ONLY
    2)  Check & Install (requires single-user mode)
 
    b)  Back to Main Menu
    q)  Quit
 
Enter your choice: 2
 
        This operation can be performed in single-user mode only.
 
DIGITAL UNIX Patch Utility (Rev. 26-03)
==========================
	- This dupatch session is logged in //var/adm/patch/log/session.log
 
    Patch Installation Menu:
    -----------------------
 
    1)  Pre-Installation Check ONLY
    2)  Check & Install (requires single-user mode)
 
    b)  Back to Main Menu
    q)  Quit
 
Enter your choice: q
 

5.5    Sample 5: Deleting Patches

The example in this section shows how to use dupatch to delete patches from a system. You can perform this operation only from systems running in single-user mode.

# dupatch
 
	* Previous session logs saved in session.log.[1-25]
 
Tru64 UNIX Patch Utility (Rev. 26-03)
==========================
	- This dupatch session is logged in //var/adm/patch/log/session.log
 
    Main Menu:
    ---------
 
    1)  Patch Installation
    2)  Patch Deletion
 
    3)  Patch Documentation
    4)  Patch Tracking
 
    5)  Patch Baseline Analysis/Adjustment
 
    h)  Help on Command Line Interface
 
    q)  Quit
 
Enter your choice: 2
 
 
                ***  Start of Special Instructions  ***
 
 
 
SPECIAL INSTRUCTIONS FOR Tru64 UNIX V5.0 Patch 48.00
Update your /etc/fstab entries to enable the selected mount option
("throttle") on the selected UFS filesystems.
 
For example, change from:
   /dev/rz12e      /mnt/test ufs rw 0 2
 
TO:
   /dev/rz12e      /mnt/test ufs rw,throttle 0 2
 
Append to /etc/sysconfigtab any tuning changes.  For further information
on this patch, refer to the Patch Summary and Release Notes document.
The release note for this patch includes a section on TUNING. The TUNING
section describes the new io-throttle-shift, io-throttle-maxmzthruput,
and io-throttle-static tunables. These tunables are configured in the
"vfs" stanza.
 
The following 3 lines make up an example:
 
vfs:
 
----------------------------------------
Press <RETURN> to continue viewing: 
----------------------------------------
 
    io-throttle-shift = 1
    io-throttle-maxmzthruput = 1
 
(Note - if you already have a vfs stanza in your sysconfigtab file, then
just add the 2 "io-throttle" entries.)
 
 
 
 
                ***  End of Special Instructions  ***
 
 
 
Your name: Joe Smith
 
Enter any notes about this operation that you would like stored for
future reference (To end your input, enter a "."): .
 
: Deleting Patches
: .
 
     There may be more patches than can be presented on a single
     screen. If this is the case, you can choose patches screen by screen
     or all at once on the last screen. All of the choices you make will
     be collected for your confirmation before any patches are deleted.
 
 - Tru64_UNIX_V5.0 / Commands, Shells, & Utility Patches:
     1) Patch 0011.00 - ld command inserts incorrect values                     
     2) Patch 0019.00 - C shell incorrectly handles 2-byte characters           
     3) Patch 0021.00 - Fix for crontab command                                 
     4) Patch 0022.00 - Fix for sort command                                    
     5) Patch 0023.00 - Fix for ksh core dump problem                           
     6) Patch 0028.00 - Fix for binmail                                         
     7) Patch 0032.00 - Fix for tar/pax program                                 
     8) Patch 0033.00 - Fix for vdump program dumping core                      
     9) Patch 0035.00 - usermod command does not allow use of commas            
    10) Patch 0042.00 - rc.config and rc.config.common files may be corrupt     
 
--- MORE TO FOLLOW ---
Enter your choices or press RETURN to display the next screen.
 
Choices (for example, 1 2 4-6): [Return]
 
 
 - Tru64_UNIX_V5.0 / Common Desktop Environment (CDE) Patches:
    11) Patch 0039.00 - Fix for dxaccounts shared library                       
 
 - Tru64_UNIX_V5.0 / Filesystem Patches:
    12) Patch 0049.00 - Fix for AdvFS system hang                               
 
 - Tru64_UNIX_V5.0 / Hardware Configuration Patches:
    13) Patch 0005.00 - Fix for Compaq AlphaServer problems                     
    14) Patch 0025.00 - Restriction lifted for AlphaServer DS20 and ES40        
    15) Patch 0046.00 - Fix for simple lock timeout panic                       
    16) Patch 0051.00 - Fix for system hang at boot time                        
 
 - Tru64_UNIX_V5.0 / I/O Device Handling Patches:
    17) Patch 0001.00 - Fix for KZPCM and 8952U adapters                        
    18) Patch 0004.00 - Fix for Universal Serial Bus (USB) problems             
    19) Patch 0036.00 - Powerstorm 4D10T does not draw lines correctly          
 
--- MORE TO FOLLOW ---
Enter your choices or press RETURN to display the next screen.
 
Choices (for example, 1 2 4-6): [Return]
 
 
 - Tru64_UNIX_V5.0 / Kernel Patches:
    20) Patch 0017.00 - Fix for kernel memory fault                             
    21) Patch 0045.00 - Fixes error in the SCSI device probe code               
    22) Patch 0048.00 - Fix for lock hierarchy violation panic                  
 
 - Tru64_UNIX_V5.0 / Network Patches:
    23) Patch 0007.00 - Fix for FDDI interface hang                             
    24) Patch 0012.00 - Fix for packetfilter problems                           
    25) Patch 0024.00 - Fix for NFS V3 XDR encoding                             
    26) Patch 0030.00 - NFS server cannot handle greater than 8K I/O reqs       
 
 - Tru64_UNIX_V5.0 / Security Related Patches:
    27) Patch 0040.00 - Security (SSRT0614U)                                    
    28) Patch 0041.00 - Security (SSRT0571U)                                    
 
 - Tru64_UNIX_V5.0 / Software Development Environment Patches:
    29) Patch 0029.00 - Fix for Compaq C compiler                               
 
--- MORE TO FOLLOW ---
Enter your choices or press RETURN to display the next screen.
 
Choices (for example, 1 2 4-6): [Return]
 
 
 - Tru64_UNIX_V5.0 / X11 Patches:
    30) Patch 0038.00 - Fix for problem in X Display Manager (xdm)              
 
Or you may choose one of the following options:
 
    31) ALL of the above 
    32) CANCEL selections and redisplay menus
    33) EXIT without deleting any patches 
 
Enter your choices or press RETURN to redisplay menus.
 
Choices (for example, 1 2 4-6): 31
 
You are deleting the following patches:
 
 - Tru64_UNIX_V5.0 / Commands, Shells, & Utility Patches:
        Patch 0011.00 - ld command inserts incorrect values                     
        Patch 0019.00 - C shell incorrectly handles 2-byte characters           
        Patch 0021.00 - Fix for crontab command                                 
        Patch 0022.00 - Fix for sort command                                    
        Patch 0023.00 - Fix for ksh core dump problem                           
        Patch 0028.00 - Fix for binmail                                         
        Patch 0032.00 - Fix for tar/pax program                                 
        Patch 0033.00 - Fix for vdump program dumping core                      
        Patch 0035.00 - usermod command does not allow use of commas            
        Patch 0042.00 - rc.config and rc.config.common files may be corrupt     
 
 - Tru64_UNIX_V5.0 / Common Desktop Environment (CDE) Patches:
        Patch 0039.00 - Fix for dxaccounts shared library                       
 
 - Tru64_UNIX_V5.0 / Filesystem Patches:
        Patch 0049.00 - Fix for AdvFS system hang                               
 
Press RETURN to display the next screen: [Return]
 
 
 - Tru64_UNIX_V5.0 / Hardware Configuration Patches:
        Patch 0005.00 - Fix for Compaq AlphaServer problems                     
        Patch 0025.00 - Restriction lifted for AlphaServer DS20 and ES40        
        Patch 0046.00 - Fix for simple lock timeout panic                       
        Patch 0051.00 - Fix for system hang at boot time                        
 
 - Tru64_UNIX_V5.0 / I/O Device Handling Patches:
        Patch 0001.00 - Fix for KZPCM and 8952U adapters                        
        Patch 0004.00 - Fix for Universal Serial Bus (USB) problems             
        Patch 0036.00 - Powerstorm 4D10T does not draw lines correctly          
 
 - Tru64_UNIX_V5.0 / Kernel Patches:
        Patch 0017.00 - Fix for kernel memory fault                             
        Patch 0045.00 - Fixes error in the SCSI device probe code               
        Patch 0048.00 - Fix for lock hierarchy violation panic                  
 
 - Tru64_UNIX_V5.0 / Network Patches:
        Patch 0007.00 - Fix for FDDI interface hang                             
        Patch 0012.00 - Fix for packetfilter problems                           
 
Press RETURN to display the next screen: 
 
        Patch 0024.00 - Fix for NFS V3 XDR encoding                             
        Patch 0030.00 - NFS server cannot handle greater than 8K I/O reqs       
 
 - Tru64_UNIX_V5.0 / Security Related Patches:
        Patch 0040.00 - Security (SSRT0614U)                                    
        Patch 0041.00 - Security (SSRT0571U)                                    
 
 - Tru64_UNIX_V5.0 / Software Development Environment Patches:
        Patch 0029.00 - Fix for Compaq C compiler                               
 
 - Tru64_UNIX_V5.0 / X11 Patches:
        Patch 0038.00 - Fix for problem in X Display Manager (xdm)              
 
Is this correct? (y/n): y
 
Checking patch dependency...
  (depending upon the number of patches you select, this may take a while)
 
************************** CAUTION ************************************ 
 
	Interruption of this phase of the operation will corrupt your 
	operating system software and compromise the patch database 
	integrity. 
 
	DO NOT Ctrl/C, power off your system, or in any other way 
	interrupt the patch operation. The patch operation is complete 
	when you are returned to the Patch Utility menus.
 
***********************************************************************
 
 
=== Deleting "Tru64 UNIX V5.0": 
 
Deleting "Patch: Fix for problem in X Display Manager (xdm)" (OSFPAT00003800500).
 
Deleting "Patch: Fix for Compaq C compiler" (OSFPAT00002900500).
 
Deleting "Patch: Security (SSRT0571U)" (OSFPAT00004100500).
 
Deleting "Patch: Security (SSRT0614U)" (OSFPAT00004000500).
 
Deleting "Patch: NFS server cannot handle greater than 8K I/O reqs" (OSFPAT00003000500).
 
Deleting "Patch: Fix for NFS V3 XDR encoding" (OSFPAT00002400500).
 
Deleting "Patch: Fix for packetfilter problems" (OSFPAT00001200500).
 
Deleting "Patch: Fix for FDDI interface hang" (OSFPAT00000700500).
 
Deleting "Patch: Fix for lock hierarchy violation panic" (OSFPAT00004800500).
 
Deleting "Patch: Fixes error in the SCSI device probe code" (OSFPAT00004500500).
 
Deleting "Patch: Fix for kernel memory fault" (OSFPAT00001700500).
 
Deleting "Patch: Powerstorm 4D10T does not draw lines correctly" (OSFPAT00003600500).
 
Deleting "Patch: Fix for Universal Serial Bus (USB) problems" (OSFPAT00000400500).
 
Deleting "Patch: Fix for KZPCM and 8952U adapters" (OSFPAT00000100500).
 
Deleting "Patch: Fix for system hang at boot time" (OSFPAT00005100500).
 
Deleting "Patch: Fix for simple lock timeout panic" (OSFPAT00004600500).
 
Deleting "Patch: Restriction lifted for AlphaServer DS20 and ES40" (OSFPAT00002500500).
 
Deleting "Patch: Fix for Compaq AlphaServer problems" (OSFPAT00000500500).
 
Deleting "Patch: Fix for AdvFS system hang" (OSFPAT00004900500).
 
Deleting "Patch: Fix for dxaccounts shared library" (OSFPAT00003900500).
 
Deleting "Patch: rc.config and rc.config.common files may be corrupt" (OSFPAT00004200500).
 
Deleting "Patch: usermod command does not allow use of commas" (OSFPAT00003500500).
 
Deleting "Patch: Fix for vdump program dumping core" (OSFPAT00003300500).
 
Deleting "Patch: Fix for tar/pax program" (OSFPAT00003200500).
 
Deleting "Patch: Fix for binmail" (OSFPAT00002800500).
 
Deleting "Patch: Fix for ksh core dump problem" (OSFPAT00002300500).
 
Deleting "Patch: Fix for sort command" (OSFPAT00002200500).
 
Deleting "Patch: Fix for crontab command" (OSFPAT00002100500).
 
Deleting "Patch: C shell incorrectly handles 2-byte characters" (OSFPAT00001900500).
 
Deleting "Patch: ld command inserts incorrect values" (OSFPAT00001100500).
 
*** KERNEL CONFIGURATION AND BUILD PROCEDURE ***
 
Enter a name for the kernel configuration file. [COBB]: [Return]
 
A configuration file with the name 'COBB' already exists.
Do you want to replace it? (y/n) [n]: y
 
Saving /sys/conf/COBB as /sys/conf/COBB.bck
 
 
*** KERNEL OPTION SELECTION ***
 
    Selection   Kernel Option
--------------------------------------------------------------
	1	System V Devices
	2	NTP V3 Kernel Phase Lock Loop (NTP_TIME)
	3	Kernel Breakpoint Debugger (KDEBUG)
	4	Packetfilter driver (PACKETFILTER)
	5	Point-to-Point Protocol (PPP)
	6	STREAMS pckt module (PCKT)
	7	Data Link Bridge (DLPI V2.0 Service Class 1)
	8	X/Open Transport Interface (XTISO, TIMOD, TIRDWR)
	9	ISO 9660 Compact Disc File System (CDFS)
	10	Audit Subsystem
	11	All of the above
	12	None of the above
	13	Help
	14	Display all options again
--------------------------------------------------------------
 
Enter your choices.
 
Choices (for example, 1 2 4-6) [12]: [Return]
 
You do not want to select any kernel options.
Is that correct? (y/n) [y]: [Return]
 
Do you want to edit the configuration file? (y/n) [n]: [Return] 
 
*** PERFORMING KERNEL BUILD ***
 
A log file listing special device files is located in /dev/MAKEDEV.log
	Working....Tue Feb 1 14:09:04 EDT 2000
	Working....Tue Feb 1 14:11:08 EDT 2000
 
The new kernel is /sys/COBB/vmunix
 
A reboot is necessary to complete the patch deletion. Do
you want to reboot now? [y/n] [y]: [Return]